For my project I want to do some extruding along a curve. To give those parts the correct length, I want to use subcurves.
The strange thing is that the subcurves along the curve (combination of arc and line) come out with not equal length (see image). The two along the arc part are correct. The one along the line is the same as the total length of the line.
How could I solve this?
subcurves with equal lenght.gh (10.3 KB)
grbl9789
(greg.obj)
December 4, 2024, 7:18am
2
Curve parameter does not equal curve length. Use “evaluate length” instead.
Sorry I don’t understand: “Use instead of what?”
thank you for these nice solutions
Both worked fine (Pufferfish crashed my Rhino, but second time it was OK).
Now what I do not understand. If I look at the input of the subcurve component. It says:
0. 0 To 24
91.843102 To 115.843102
160.225445 To 160.341241
In 0 and 1 I recognize the 24 mm length what the slider was set to.
In 2 (along the line-part of the curve) the difference is about 0.12.
Does it use a reparameterized value? And if so, why?
Maybe the posts in this topic are helpful:
Most important to know is this:
The first thing which confuses people is that the domain of a curve has little or nothing to do with the length of the curve. You can change the domain without affecting the shape or size of a curve, and you can change the shape without affecting the domain. Worse, the amount of curve that belongs to some part of the domain has little or nothing to do with the size of that sub-domain.
and this: Curve parameters, an analogy | I Eat Bugs For Breakfast
in …
1 Like