Grasshopper

algorithmic modeling for Rhino

can i modify one end of a curve but get as result a curve with the same length ?

Hi !

could i possibly modify the position of an end of a curve so that the curve remains the same length (therefore changes it's shape  accodingly).
I thought maybe with the bezier component it can be done, but you need to know some sort of relationship between the vectors lengts and orientations and the length of the resulting curve, and this doesn't sound as something aproachable.

any ideas?

Views: 252

Replies to This Discussion

Hi Andrei,

why not measure the length before, then adjust, then trim the curve back to the old length?

--
David Rutten
david@mcneel.com
Poprad, Slovakia
because the end points of the curve will modify and i am interested to input their position
I don't understand. Do you want to ensure a curve is the same length after some geometric operation, or do you want to modify a curve as though it is a physical piece of string?

--
David Rutten
david@mcneel.com
Poprad, Slovakia
second version - as it were a string (with no elasticity)
Well, then you'll have to write a physics solver for strings. You'll have to define how the bending forces work etc. as well. This is quite complicated.

Kangaroo has done something like this, that might be the only thing standing in between you and 2 fun weeks jam-packed with programming.

--
David Rutten
david@mcneel.com
Poprad, Slovakia
haha, thanks, i downloaded the kangaroo kit a while ago but didn't play with it yet

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2025   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service