We need your help! 🔥
Please consider disabling your ad-blocker to support this website! 🔑
We are a free, community-supported website! 🥰
We only display small unobtrusive ads which help us stay online! 💯
Thank you in advance! ❤️
Color
Curve
Domain
List
Mesh
Number
Plane
Point
SubD
Surface
Transform
Twisted Box
Vector

Mirror Cut Colors

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 © 2024 Michael Pryor.  
Rhinoceros and Grasshopper are registered trademarks of Robert McNeel & Associates.  Hosted by GitHub

Report an Issue  |  Terms of Service