Hi,
this seems to work:
http://grasshopper3d.googlegroups.com/web/scalefixedlength.jpg
(set the scale component as 'shortest list').
It gets a rhino curve and creates a new one matching a specific curve
length. You can edit the original curve and move the control points
and the new curve scales realtime so that it always has the same
length. The problem is that it doesen't modify the curve you are
actually editing, it's creating a new one. You'd have to bake the new
curve and link that curve to the definition.
This scales the curve in the 3 axis. If you want to scale it only in
the z axis it becomes tricky since the shape of the curve changes and
the perimeter stops being proportional to the original curve.

On Jan 9, 5:07 pm, dexter <[email protected]> wrote:
> how can i keep a constant lengh of polyline, while editing control
> points.
>
> im trying to abstract soundreflections for accousitcal elements - i
> have two points on a groundplane (symbolising   sound fixed source and
> fixed receiver) and one point symbolising my reflector (movable in
> hight) so far thats quite easy.
> but now i want to have several receivers and teherefore several
> reflectors - but the sound path length should be the same.
>
> i tried set up a mathematic formula and express the hight of point
> (symbolising reflector on ceiling)  by a constant length (source to
> reflector - reflector to receiver ) - but ist was complex and only an
> approximation
>
> - now im wondering if someone can help me... i would need somethig
> like scale in z direction untill length of polyline is achived, or
> keep a constant lengh of polyline, while editing control points.
>
> would be great if somebody could help, thanks

Reply via email to