Grasshopper

algorithmic modeling for Rhino

move the endpoint à long curve withe distance 35CM

Hello everyone
I'm new to grasshopper and  i have a question
how can i move the endoint of a line a long of the same line with a distance  ?
exemple 35cm .
THX

Views: 1007

Attachments:

Replies to This Discussion

Moved from FAQ into Discussion.

Extend Curve may work for you. Lines can also be scaled to give shorter or longer lines.

thank you for your reply
but that's not what I want to do
I want to move a point along a line with a distance of 35 cm
see pictures attached

Attachments:

Yup, Extend Curve.

Attachments:

I want  THIS

Attachments:

Still using the Extend component try with a negative value. The "new" line's end point will be the points you require. Is this ok?

Otherwise there is the Evaluate Length component which if you set the N input to False and you will get points at a measured distance. 

[Edit: Matt has demonstrated this below]

I Think you Looking for the Evaluate Length Component. Set the Normalised input to False other wise the Crv/s will be measured between 0 and 1.

 

If you want to get the length from the end point and not the start point you have 2 options, one is to flip the crv and the other is to calculate the Length of the crv and then subtract this from the length you want.

 

Hope this helps

 

 

Forgot to add crvs in GH file.

Attachments:

This is the solution  .......thank you very much

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service