I have come across an inconsistency in RhinoCommon when using the
Curve.NormalizedLengthParam method with a subdomain. This overload seems to behave differently for polyline curves.
I have put together a python script to illustrate the issue
NormalizedLengthParamBug.py (823 Bytes)
For me the script produced the following output. Note the value of
tSub for the polyline:
Line, domain=0,1, t=0.5, tSub=0.5 polyline, domain=0,1, t=0.5, tSub=0.25 nurbs, domain=0,1, t=0.5, tSub=0.5
I’ve tested on Rhino 5, and WIP 7