algorithmic modeling for Rhino
Hi All,
Okay, I've come across a problem.
What I am trying to do it join a set of points from a divide curve with its neighbouring curves on either side. Something similar to the attachment.
I am also having problems removing the bottom 3 points of the curve to allow for the openings, I have removed the bottom 3 on some curves but not all.
Any advice would be great.
Thanks,
Tags:
Hi James,
The main problem you are running into is that the curves are being randomly flipped by the Catenary component. You can flip them back using the Flip Curve component. The difficulty lies in telling GH which curves to flip. If you compare the distance between curve start point and original point you can create a boolean pattern by testing the distance against 0 (0.1 to account for tolerance). You can then use the resulting boolean pattern to flip the reversed curves. The next difficulty lies in merging the data while maintaining proper order. You can use the Replace Items component and reference the specific indices being replaced by culling out a series based on the same boolean pattern from earlier. Hope that helps.
Best,
Justin
Hi James,
Thanks for your reply. Wasn't exactly what I was looking for but I've been playing about with it and seem to be rather close in what I'm trying to achieve. I'm just struggling with the flip curve. I can't seem to get all the curves to be in the same direction even when I add a simple curve as a guide for them all.
Any ideas would be great.
Thanks,
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by