Grasshopper

algorithmic modeling for Rhino

Gradual divide along curve with min and max distances

Hi, I need help with dividing a curve with gradual (progressive) spacing, but with minimum and maximum distances/lengths. For example, from 5 to 100.

The result is exactly as in the image, but with min and max distances between the points of the divide that can be set by us.

If anyone could help me with this one, I'd really appreciate it!

Views: 8282

Replies to This Discussion

Should the length of each successive segment increase with a fixed amount, or a fixed factor?

Hi, David!

Each length (of the succesive segments) should increase with a fixed amount, like +10 from length to length

I found this gh in the forum that increases progressively the length between segments, but it operates with a fixed factor. I dont know how to make it work with a fixed amount, and a fixed range (min and max)...

Not sure this is of some help to you.

Attachments:

Yes, it kinda works! I replaced the SDL line and the Slider "variable x" for the length of a curve I already had, and it went really well! 

Thanks a lot, Hyungsoo!

I think Kim's answer is to solve the problem with fixed increment and fixed number of segments.
According to you discription you have a fixed line or curve, and not with a fixed increment.

Hell ! Could you please upload this definition? It could be really useful to me. I tried to copy it but it is not working.

Thank you!

Hi.

Sorry I went for vacation last few days.

I am back yesterday night.

I checked this and found that maybe you did not toggle the N input of the last Evaluate Length into True.

Here is the attachment.

Attachments:

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service