Curve.Offset(Point3d, Vector3d, Double, Double, CurveOffsetCornerStyle)
I’ve noticed that these methods are less reliable of Rhino “_Offset” command.
More in detail, I’ve found that, in some cases, those methods simply fail (they return null) while the standard Rhino command succeed… Of course using the same working parameters, where possible.
More in general, I would like to know what’s the best way to react to a null result or to a multiple curves result.
Can you help me, please?
Thanks
Sorry, @dale, but it seems that you’re wrong: after reading your answer, I cheked the contents of the doc with more attention and this is what I’ve found.
The document contains 2 curves: the visible one and another one that is very short (less than 0.01mm)
Exploding the main curve will result in a set of 11 curves but none of them is shorter than the document tolerance…
S.