LineCurve(LineCurve) problem


#1

Hi

Rhino.Geometry.LineCurve(LineCurve) looks broken in SR7 … don’t know in SR8
this code says the second length is zero here

import Rhino

a = Rhino.Geometry.Point3d( 0, 0, 0 )
b = Rhino.Geometry.Point3d( 9, 9, 9 )
c = Rhino.Geometry.LineCurve( a, b )
d = Rhino.Geometry.LineCurve( c )
print c.GetLength()
print d.GetLength()

( Duplicate() works fine though )

Cheers


(Dale Fugier) #2

Hi Emilio,

I see the problem (here). I will see that it is fixed for SR9 (too late for SR8).

– Dale


#3

OK
Thanks Dale