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 colors at an index, mirror the kept side of the cut across the index, and combine it with the kept side.

Inputs

NameIDDescriptionType
ColorsClSet of colors to mirror cutColour
Mirror IndexMiIndex that the kept side of the color set cut gets mirrored across. Negative index reverses the color set and removes from the top.Integer
FlipFFlip the mirror direction (False = Mirror after index, True = Mirror before index)Boolean
JoinJJoin the mirror cut color set (removes the duplicate color in the middle of the set)Boolean
Mirror TypeTDetermines how the color set is mirrored 0 = Reflected 1 = InvertedInteger
AlphaaInvert the transparencies (alpha values) of the mirrored colorsBoolean

Outputs

NameIDDescriptionType
Mirror CutMResulting mirror cut color setColour
Split IndexiThe splitting index (only if Join is false) To split the mirror cut color set at the mirror use this as the index input on Grasshopper's Split List component.Integer
IntersectedITrue if the mirror index intersected the color set, False if the mirror index did not intersect the color 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