algorithmic modeling for Rhino
Hello everybody,
I have a basic issue with dividing curve, which I could not find here so far. (I'm not a programmer)
I want to divide a curve into several segments which lengths are specified in a list. Number of the segments may vary but their total length is always equal to the length of the curve.
For instance:
curve length: 100
list with values:
20
40
40
20
Results divided 4 segments with length (20;40;40;20)
Hope someone can help!
Thank you very much
Tags:
Hi Aleksandar,
Please look the definition....
Definition share here
Remy, thanks for reply!
I got an IO error when opening and can't load it. My grasshopper build is 0.9.0006
Anyway I'll find a way to open ti.
thank again!
Hi,
20+40+40+20=120
100!=120
Well, you see why I'm not programming :)
Aleksandar,
Thank you Remy,
I got it :)
thanks for your help!
Hi Remy.
Your definition works like a charm. I'm trying to adapt it to a requiremet a little further.
I need to divide several curves in preset intervals, and using several gene pools would be really cumbersome. I was wondering if it would be possible to use just a gene pool component with all the intervals continuously but having it applied to the different curves so that when a curve can't be divided anymore the definition is applied to the next one.
Miguel,
A definition or shema would be more useful to me to understand your question.
Thanks
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by