As an example, let’s say you have a single surface and two closed curves that lie on it.
Selecting the surface and the curves, coerce them to a brep and a list of curve objects, then run:
splits=brep.Split.Overloads[IEnumerable[Rhino.Geometry.Curve],System.Double](crvs, tol)
The return always looks like this:
Why is the first element None
? I would have thought it might return True if the split was successful…
https://developer.rhino3d.com/api/RhinoCommon/html/M_Rhino_Geometry_Brep_Split_3.htm
Is it because one of the 5 overloads on this method has an out parameter so they all have to have a reserved first index even if there’s nothing to return on the other 4 overloads?
https://developer.rhino3d.com/api/RhinoCommon/html/M_Rhino_Geometry_Brep_Split_1.htm
Or something else?
3 posts - 2 participants