Grasshopper

algorithmic modeling for Rhino

Hi

How do I extend (linearly) a series of curves to a curve boundary?

Thanking in advance.

Views: 13870

Replies to This Discussion

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.

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service