I am using BRepAlgoAPI_Cut to Cut one Shape from another. Sor far so goo. Everything works well. But we have sometimes very much hard shapes we want to cut out from a soft shape. Is there a possibility to give OCC a List (or a Vector) of Hard Shapes? Or is it only possible to cut sequential?
I think if OCC can handle a List of Hard shapes the performance is much better.

What could you advise to me?
Thanks a lot.

Andreas Blenk

Rob Bachrach's picture

Try creating a compound or composite solid of your "hard" shapes. Then perform the cut using the "soft" shape and the compound.