Grasshopper Docs

Community documentation for Grasshopper add-ons & plugins

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

Trim (remove) a set of twisted boxes by a boolean intersection or difference with one or multiple closed meshes.
Faster but less accurate than the Boolean Twisted Boxes With Polysurface component.

[Multi-Threaded]

Inputs

NameIDDescriptionType
Twisted BoxesTBSet of twsisted boxes to trimTwisted Box
MeshesMClosed mesh or meshes to trim withMesh
Boolean TypeBTrue for boolean intersection (Trim away twisted boxes outside of the mesh or meshes) False for boolean difference (Trim away twisted boxes inside of the mesh or meshes)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 mesh) 1 = Halfway (keep if twisted box is atleast halfway to the keep side of the mesh) (fastest) 2 = Partial (keep if twisted box is atleast partially to the keep side of the mesh)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