Grasshopper

algorithmic modeling for Rhino

Hey,

hopefully you guys can help with this.

I have a random set of curves surrounded by an outer and inner curve (boarder). I want to extend and trim the curves with the outer boarder. Unfortunately they differ in their direction. Means if i use the extend tool and only manipulate either start or end i dont get a unified result. I used the flip tool to solve the problem, but it leaves me with the question how to define which curves/vectors i want to flip. 

Is it possible to sort a list of curves/vector defined by a curve ( boarder )? 

Thanks already!

Views: 2272

Attachments:

Replies to This Discussion

Hi Christian,

You could use [Trim with Regions] < (note the plural)

As the example is arc I have created Circles to trim because the Extend component will only do linear extensions.

Hey Danny,

thanks for taking time on this.

I tried your approach but unfortunatley it didn't work so far. Maybe i oversaw sth.?

Attached you will find another picture. I tried to illustrate what i want to achieve. Extend to outer boundary, while keeping the End/Start position of the curve closer to the inner boundary. 

I noticed that you were refering to arcs in your example, unluckily i do need to use curves. If you have a closer look on the Extend tool you'll find a boolean for 0=Line/1=Arc/2=Smooth.

Hopefully you'll find this helpful. Thanks again!

Cheers, 

Christian

Attachments:

as soon as you extend your arc they are no longer arcs. so it will not work try without the extend component

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2025   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service