Translate a curve to a specified point

Hi!

I would like to translate a curve to a specific point. Firstly I would like to explain that I want to do. For that, I attached an image.




Then, how can I translate the first point of the parametric curve to the first point to the line or edge?. Thanks!

Hi @enriquemmessia ,

There are multiple ways to do this, e.g. with vectors or with coordinatesystems. I think the easiest approach is using vectors:

  1. Using your start- and endpoint create a vector (Vector.ByTwoPoints).
  2. Using Geometry.Translate, the one with only the geometry and direction input, translate your geometry according to your vector (direction) and its length.