algorithmic modeling for Rhino

Adding length on point system running on curve

Hi All,

i tried to run a system of 2 lengths defined by points on a curve, starting from a segment A (0.35m) next and dependent to a segment B (0.20m).

I would like this system to increase in length by adding a fixed additional length (for e.g 0.02m) on both segments, so A would be 0.35, 0.37, 0.39 etc and at the same time B would increase from 0.20, 0.22, 0.24 and so on.

I have a simplyfied version with intersecting circles where i manually adding those values-lengths. The disadvantage on this version is that the circles dont give the actual lengths of the curve but an approximation.

I assume there must be a more sufficient way to set this system up, so any ideas would be much appreciated

Thank you


Views: 468


Replies to This Discussion

Hi Argeo.

In your definition you are using circles to get intersection with the curve.

In that way your points will be distant each-other by a chord, while in my definition the distance is more like the arc distance.

(The distance difference/error between an arc and a chord is lesser if the segments are small compared to local curvature, as is your case. This is just a technicality...)

You also missed the advantage of use Grasshopper.

GH works with lists and trees of objects! You worked almost with only 1 value/object at time.

In my definition make a "Panel" component and link it step by step at outputs of every component I've used.

Try to understand the logic of the components:

every component have inputs and outputs "slots", if you move the mouse over them, a small bubble comment will come out telling:

1 What type of element should it be linked (symbol), like "number", "points", "curve", "surface", or "boolean"...

2 A short description

3 The current values or the current tree structure

By following the "flow" of the definition, try to also follow the values, and see how the components manage them.

(is this correct?? :D )


Richardo this is awesome! It really saved me a lot of time.

I did what you suggested and recreated your definition and figured it out how it works, as i understand one of the key things is firstly to try to understand and solve the mathematical issue getting the lists and the input and then figure out how to feed this to any line or geometry, not the other way round..i also didnt know the existence of the weave component

Many thanks for solving this!







  • Add Photos
  • View All


  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service