Quantcast
Channel: Rhino Developer - McNeel Forum
Viewing all articles
Browse latest Browse all 8542

Curve.NormalizedLengthParamater Bug

$
0
0

@tom_makin wrote:

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

Posts: 3

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 8542

Trending Articles