Grasshopper

algorithmic modeling for Rhino

Hi, guys...

 

I have a question...

 

I wanna make a curve detouring a closed curve...

 

For test, I made a circle, and then draw a line penetrating the circle.

 

I extracted some points on the line using divide curve...

 

Next, with Inside component, I confirmed points inside the circle(extruded circle, brep)

 

I moved the inside points onto the circle, so I set a series of points to make a interpolate curve.

 

But, I cant manage the list and data in proper sequences.

 

Please anybody help me...

 

Sorry for poor english...

 

I attatched definition I tried...

Views: 1088

Attachments:

Replies to This Discussion

You need to create a list of integers that relate to your points.
using the same Inclusion pattern separate the list of integers.
Add the integer list back together but this time the order will be 0,1,2,3,7,8,9,10,4,5,6.
Remove the inclusion points with Cull Index.
Merge the required points together with the extra 3 points on the end.
Sort the integer list (K input) and include the Points list in A input.

Because there will be different levels of data you need to simplify the tree structure along the way.

Thank you so much for your advice...
It works very well...

But could you help me more?
If there are more than 2 curves of both, how could I make detouring curves...

I attached rhino files and GH files which I tried but failed..
Attachments:
I think there is a bug in the inclusion component that is preventing it from working properly, this should be directed to David. I'll email him, in case he doesn't see this thread.

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