Welcome to the Onshape forum! Ask questions and join in the discussions about everything Onshape.

First time visiting? Here are some places to start:
  1. Looking for a certain topic? Check out the categories filter or use Search (upper right).
  2. Need support? Ask a question to our Community Support category.
  3. Please submit support tickets for bugs but you can request improvements in the Product Feedback category.
  4. Be respectful, on topic and if you see a problem, Flag it.

If you would like to contact our Community Manager personally, feel free to send a private message or an email.

How to move along a curve a certain length?

Evan_ReeseEvan_Reese Member Posts: 1,357 PRO
edited February 2021 in FeatureScript
Say I have a 3D spline (or other curve), how to I find a point along the spline that's 10mm away from the endpoint (as traveled along the spline, not measured in a straight line)?
Evan Reese / Principal and Industrial Designer with Ovyl
Website: ovyl.io

Best Answer

  • _anton_anton Member, Onshape Employees Posts: 70
    Answer ✓
    You can get the curve point from, for instance, evEdgeTangentLine, which uses arc length parameterization by default. To compute the parameter, divide the desired distance by total curve length. Something like this.

Answers

  • _anton_anton Member, Onshape Employees Posts: 70
    Answer ✓
    You can get the curve point from, for instance, evEdgeTangentLine, which uses arc length parameterization by default. To compute the parameter, divide the desired distance by total curve length. Something like this.
  • Evan_ReeseEvan_Reese Member Posts: 1,357 PRO
    perfect! exactly what I was looking for. Thanks.
    Evan Reese / Principal and Industrial Designer with Ovyl
    Website: ovyl.io
Sign In or Register to comment.