There are two overloads, one with one base object to split and one cutter, the other with multiple base objects and multiple cutters:
However I have one base object and multiple cutters. I first tried just passing one brep as the first argument, but it told me it expected an IEnumerable[brep]. So I tried just making a list from the one brep, certain it was going to fail, but it actually worked (more or less).
splits=Rhino.Geometry.Brep.CreateBooleanSplit([obj],cut_srfs,tol)
For an object that should have been split in three, I got four results, one of which was None.
I can of course filter that out after, but I was wondering what is the “right” way to do this?
2 posts - 2 participants

