I’m trying to create a “special version” of the offset command, using RhinoCommon.
I’m trying to use these methods:
- Curve.Offset(Plane, Double, Double, CurveOffsetCornerStyle)
- 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?