algorithmic modeling for Rhino
There is an "Extend Curve" Component. Use that and the "Curve | Curve" Intersection Component with the extended curve(s) and a boundary curve. Then you split the curve at the interersection points and simply keep just the curve inside the boundary.
You would have to choose a length for "Extend Curve", which could just be a set value or better yet you get the size of the boundary using "Bounding Box" and extend them by at least the diagonal of that Bounding Box, because that would be the theoretical maximum length you have to extend the curve by.
Thanks Armin, got it, how to I get the size of the bounding box.
You just use "Box Corners", which will give you all 8 Corners of the box. Then just find the right ones and use "Distance" to measure.
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