Grasshopper Docs

Community documentation for Grasshopper add-ons & plugins

Color
Curve
Domain
List
Mesh
Number
Plane
Point
SubD
Surface
Transform
Twisted Box
Vector

Polysurface Boolean Twisted Boxes

Trim (remove) a set of twisted boxes by a boolean intersection or difference with one or multiple closed polysurfaces(Breps).

Slower but more accurate than the Boolean Twisted Boxes With Meshes component.

[Multi-Threaded]

Inputs

NameIDDescriptionType
Twisted BoxesTBSet of twsisted boxes to trimTwisted Box
PolysurfacesPsClosed polysurface(Brep) or polysurfaces(Breps) to trim withBrep
Boolean TypeBTrue for boolean intersection (Trim away twisted boxes outside of the polysurface(Brep) or polysurfaces(Breps)) False for boolean difference (Trim away twisted boxes inside of the polysurface(Brep) or polysurfaces(Breps))Boolean
Keep TypeKDetermines how much of the trimmed twisted box set to keep 0 = Complete (keep if twisted box is completely to the keep side of the polysurface(Brep)) 1 = Halfway (keep if twisted box is atleast halfway to the keep side of the polysurface(Brep)) (fastest) 2 = Partial (keep if twisted box is atleast partially to the keep side of the polysurface(Brep))Integer

Outputs

NameIDDescriptionType
TrimmedTResulting trimmed twisted box setTwisted Box
Kept IndiciesiIndices from the input twisted box set of the twisted boxes that remained after the trimmingInteger
IntersectedITrue if the twisted box set was trimmed, False if the twisted box set was not trimmedBoolean

Video Tutorials

Site design © Robin Rodricks.   Pufferfish and associated data © 2022 Michael Pryor.  
Rhinoceros and Grasshopper are registered trademarks of Robert McNeel & Associates.  Hosted by GitHub

Report an Issue  |  Terms of Service