pythonOCC provides advanced 2d and 3d geometry modeling structures and algorithms:
- Bézier
- BSplines
- Extrude/revolve/sweep
- Filleting
- Network of curves
- Boolean operations
- Shape properties (mass, volume etc.)
pythonOCC provides advanced 2d and 3d geometry modeling structures and algorithms:
Have pythonOCC possess collision detection algorithm in api ??
For checking between 2 object collision
Thanks You,
There is not any ready-to-use collision detection features in pythonOCC. I however implemented an external collision detection library connected to pythonOCC (see for instance http://www.youtube.com/watch?v=IW5VYbCGFYc). The demo only shows boxes/spheres collision, but the detection is also possible for any kind of TopoDS_Shape.
Is it possible to use the lib for realtime cutter swept simulation (CNC Simulator)?
@Robert Boolean operations are very slow and quite unstable. For machining simulation, you should use boolean ops over meshes or look at voxels technology. Voxels were implemented in OpenCascade 6.3.0, but were not completely working. We hope that the next release will bring mature and stable voxel features. Stay tuned!
So can this set up be integrated legally into another application and used to create voxels for driving a multiple stage CNC ?
@mike The LGPLv3 license allows you integrating pythonOCC in another application, even if it’s not opensource.Please carefully read the license page.