Boolean Operation Slow for Complex

When I tried boolean operation for one complex model and a box with BRepAlgoAPI_Common and BRepAlgoAPI_Cut, the computation is OK! But when tried for two similar complex models with little differece, it took long time to compute, about 4-5 minutes.

I used:
BRepAlgoAPI_Cut aCutCommand(aS1, aS2);

I also tried to substrac the same models using Parasolid solid model kernal, and I got the result in a snap.

Any suggections?


niubiao's picture

I am new Open Cascade user and there is a problem I cannot solve.could you email me some sample codes about boolean operation between a model of imported and a model of created or the two of imported model ?
My email£º
Thanks for your help,I am looking forward to your early reply.

m-aronsson's picture

There is not much you can do, the booleans in OCC are pretty famous for being slow, as long as you need generic boolean operations you would be stuck I guess.

heXus's picture