Grasshopper

algorithmic modeling for Rhino

I hope this image is self-explanatory. I can't Flatten because I need to keep points in their indexes so I can use these indexes later on. But I am having a hard time making Crv CP search for all of the curve in each main branch for each point. Help?

Views: 5784

Replies to This Discussion

Hello,

Thank you for the reply, but still not resolved. The unflatten command is indeed good in what comes to mantain data structure. The problem is that CrvCP didn't work as expected. I attach an image and a .gh . For each bright blue point, there should be a closest dark blue point on a curve of the same branch index - that is, in an immediately lower z-value.

Attachments:

I've made some improvements over the last file, but still doesn't work. (the improvement are regarding culling the top most curves and bottom most points)

Attachments:

Hello,

 

I think you want to find the closest point of curves in below level from points of current level..

 

I attach a solution.. but I recommend that you need to exclude points in bottom level of center area..

 

I used Tree8 components for using sort within related distances..

 

http://www.grasshopper3d.com/group/tree8

 

 

Attachments:

Attachments:

Abbondio, that works perfectly, but doesn't give me "Curve Closest Point", which I need because of the t parameter so that I can Shatter them afterwards.

Attachments:

If I connect a "EndPoints" component to the "Shatter", it shows that the shattered curves do not start and end in the target points. :/

Could you post a screenshot? Thank you!

Yeah, You're right. I'm going to fix it

A little bit messy: Let me know if it's good.

Attachments:

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service