Grasshopper Docs

Community documentation for Grasshopper add-ons & plugins

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

Cut a set of vectors at an index, mirror the kept side of the cut across the index, and combine it with the kept side.

Inputs

NameIDDescriptionType
VectorsVSet of vectors to mirror cutVector
Mirror IndexMiIndex that the kept side of the vector set cut gets mirrored across. Negative index reverses the vector set and removes from the top.Integer
FlipFFlip the mirror direction (False = Mirror after index, True = Mirror before index)Boolean
JoinJJoin the mirror cut vector set (removes the duplicate vector in the middle of the set)Boolean
Mirror TypeTDetermines how the vector set is mirrored 0 = Reflected 1 = InvertedInteger
PlanePlOptional plane to mirror the vector directions when using reflected mirror type, otherwise only the set order is reflectedPlane

Outputs

NameIDDescriptionType
Mirror CutMResulting mirror cut vector setVector
Split IndexiThe splitting index (only if Join is false) To split the mirror cut vector set at the mirror use this as the index input on Grasshopper's Split List component.Integer
IntersectedITrue if the mirror index intersected the vector set, False if the mirror index did not intersect the vector setBoolean

Video Tutorials

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

Report an Issue  |  Terms of Service