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 Numbers

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

Inputs

NameIDDescriptionType
NumbersNSet of numbers to mirror cutNumber
Mirror IndexMiIndex that the kept side of the number set cut gets mirrored across. Negative index reverses the number set and removes from the top.Integer
FlipFFlip the mirror direction (False = Mirror after index, True = Mirror before index)Boolean
JoinJJoin the mirror cut number set (removes the duplicate number in the middle of the set)Boolean
Mirror TypeTDetermines how the number set is mirrored 0 = Reflected 1 = InvertedInteger

Outputs

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