I've started to use OCC 5.2 libraries in last month, in order to try writing a machining simulation software using MFC on VisualC++ 6.0.
Using some samples found in the OCC SDK and the MFC Wizard, I've created an MDI application with clean and optimized code that perform my task : now I have a simple simulation of a milling tool (an OCC Cylinder) that remove material from a rectangular wood panel (an OCC Box). Everything works fine ... except the time performance !!!
Deeper the tool saw material from the panel, slower its motion is performed ! I've used a profiler over my application in order to estimate the performance of my code and the 'BRepAlgoAPI_Cut' is the big bottleneck of this poor performance...it works very well but it works slow !!!
I've found a lot of topics in this forum about this issue and everybody seems to have many problems with booleans OCC. OCC guys tends to minimize everytime but I think that they can't assert that their Boolean Alghoritm are fast !
Now, two questions :
- I don't ask to solve my problem but si there anybody who knows if there is an optimized mode to use OCC Boolean Op. or I have to use OCC raw functions to create by my self fast boolean operations (as I can use OpenGL functions) ?
- Subscribing to OCC Support can I have access to some OCC secrets that could help me to perform my simulation in a faster way ?
Thanks for your patience and replies.