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.

Options

How to move along a curve a certain length?

Evan_ReeseEvan_Reese Member Posts: 2,064 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

  • Options
    _anton_anton Member, Onshape Employees Posts: 273
    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

  • Options
    _anton_anton Member, Onshape Employees Posts: 273
    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.
  • Options
    Evan_ReeseEvan_Reese Member Posts: 2,064 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.