Python wrapper for OCCT7.5.1 generated using pywrap. Typing stubs available here.
- Provide thin bindings to OCCT.
- Wrap all OCCT modules (if practical).
- React quickly to new OCCT releases.
- Cater primarily for the CadQuery project.
- Provide additional functionality not present in OCCT
The easiest way to get started is to use conda:
conda install -c conda-forge -c cadquery ocp
Building from sources is also possible,
pywrap all ocp.toml
cmake -S OCP -B build
cmake --build build
but you might need to specify additional headers and libclang location for pywrap:
pywrap -i path1/include -i path2/include -l path/to/libclang.so all ocp.toml