Hi All,
I cannot give full details but my screenshot should suffice in this instance,
in line 296 I have curvea = rs.AddLine(cp, pt) and I test to see if it is a curve and I am told it is
in line 318 I have curve1 = rs.AddLine(cp, pt) the same points but this time the test implies it is not a curve as it doesn’t print the curve length
All the other points have returned this typical info from my checks
The object is a curve.
unit normal = 7.726935701519236E-05,0.9999999970147233,5.368094160215742E-13
Curve length 0.5426926446646624
dist = 0.5426926446646624
round = 1.0
not this point which is a very small distance between the two points
cp = 958.1658255846004,2360.0675130058075,-0.0004325928325554784
brep normal = -7.726935715550086E-05,-0.9999999970147233,-5.547917664252793E-13
Distance = 2.273892874185396e-13
The object is a curve.
unit normal = 0.9999313425206403,0,0.011717945420163753
dist = 2.273892874185396e-13
round = 0.0
Curve length not returned here in this set of checks
So it tells me it is a curve but with no length so how does that work ?
any advice appreciated, sorry I cannot upload full script.