Shorten line

Hi Guy,
Anyone can help me how to shorten a line ( curve ) with two option

  • a (mm) ex: 100mm from start and end points
  • From start point or end point with a (mm)

Thanks

Use negative values in the extend curve component.

3 Likes

Hi
Thank I just find this component it work fine

I want to divide this curve with spacing ( distance ) from start or end point?How to do it
Thanks

Divide Curve, Divide Distance, Divide Length

depends the division type you want, look at those 3.

2 Likes

Use Sub Curve

2 Likes

This could be confusing because it won’t work well on non-linear curves (or linear curves with intermediate control points and are not degree 1) as domain doesn’t equal length. Domain and length just happen to line up on lines which have only two control points (start and end). Negative extend also won’t require making domain.


2 Likes

That’s weird
we can use evaluate length with sub curve

2 Likes

That’s weird

Well it is not so weird as it is just not so obvious. Domain of a curve is its knot vector (think of it more like acceleration) where length is the distance. David has a nice post about this here: Curve Parameter Space | I Eat Bugs For Breakfast and here Curve parameters, an analogy | I Eat Bugs For Breakfast

Especially I like the analogy of a car driving on a road, length is like the distance of the road, domain (or curve parameter) is like travel time on the road. Different curves will cause you to travel at different speeds. Say it takes 30 minutes to drive from point A to point B, then 0.5 of the roads domain would be how far you drove in 15 minutes, which isn’t necessarily half of the roads length.

With all that said, why not just use negative extending (shrinking) which is made for this problem?

3 Likes

Thanks Michael

Different solutions always help and good for learning

1 Like