Align sub curve direction with start and end of subdomain

Hi,

I am trying to exptract a bunch of sub curves. Intuitively, I would have expected the start value of the provided domain to be the start point of the new curve. However, this isn’t the case. The new curve appears to preserve the direction of the input curve:

I’d argue that the Sub Curve component should take this into account. Or is my mental model off?

Thanks for considering this.

The domain of a line is always from 0.0 to 1.0, where parameter 0.0 represents the start and parameter 1.0 the end point. Curves mostly have bigger numerical domains, unless they were normalized. In both cases, this domain does not define the line direction! And extracting a sub-curve from 0.0 to 0.5 or 0.5 to 0.0 consequently returns the same result, since the direction of the extracted sub-curve is inherited from the parent curve.
The direction is defined by the end points of the line or curve. If you want to change it, you need to flip them, or reverse the curve.

1 Like