EDIT:
Ok, I tried some things.
The most promising lead was this post by Dale RhinoCommon Brep split by plane
I did like it was written there, I get a PlanarSurface, when I draw it, it is straight throug my object etc. But Brep.Split simply continues returning 0 objects. This is slowly a bit unnerving.
Effectively, I just need the functionality of the BooleanSplit Comman in the Interface. I also tried RunScrip to use the BooleanSplit directly, but it also just returnes with false…
The generall setup is clear to me - what I need is the function to perform the actuall splitting, in your code the
As far as I can see, the ObjRef Class does not offer a function “Split” (RhinoCommon API)
I can only find a split method for Breps (RhinoCommon API), but this also requires an Brep as cutter, and planes cannot be converted to Breps.
I think I could somehow piece together a way to represent my plane as Brep, but it seems like an unnecessary detour to me. Thus I was wondering if there is a more direct way.
Ok, I tried some things.
The most promising lead was this post by Dale RhinoCommon Brep split by plane
I did like it was written there, I get a PlanarSurface, when I draw it, it is straight throug my object etc. But Brep.Split simply continues returning 0 objects. This is slowly a bit unnerving.
Effectively, I just need the functionality of the BooleanSplit Comman in the Interface. I also tried RunScrip to use the BooleanSplit directly, but it also just returnes with false…