I have a situation that trimming a planar Brep with a plane fails using any tolerance.
you can see in the image that brep passes trough the plane clearly with a relatively large angle. however the trim fails (see the grasshopper file).
If you just rotate the object with tenth of degree , then the trim works.
this is causing my program fails.
thanks for your help.
Since I only have the cutting plane as input, I fist build a bounding box of the stock object based on the input plane , then built a planar brep based on the bottom face of the bounding box , move it to the plane position and do the split. then test which one of the results are on the positive side of the input plane.
is there a better workaround if you take a plane as input?