关于
Python wrapper for OCCT using pybind11 generated using pywrap.
科学与工程实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- +2
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文OCP
Python wrapper for OCCT using pybind11 generated using pywrap.
Goals
- Provide thin bindings to OCCT.
- Wrap all OCCT modules (if practical).
- React quickly to new OCCT releases.
- Cater primarily for the CadQuery project.
Non-goals
- Provide additional functionality not present in OCCT
Installation
The easiest way to get started is to use conda:
conda install -c conda-forge -c cadquery ocp
Generating and building from sources is also possible using https://github.com/CadQuery/pywrap , but not advised.
pywrap all ocp.toml
cmake -S OCP -B build
cmake --build build
To generate the bindings you'll need to use packages version specified in the environment.devenv.yml file and 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
Building from the released sources without the generation step is possible too. Note that this is how the conda-forge package is built.
License
The configuration and generated sources are under Apache 2.0. license and copyright by the contributors. The bundled OCCT headers used for generation are copyright by OPEN CASCADE SAS and are redistributed under LGPL2.1 with a special exception. Doc strings used by OCP are extracted from the header files and remain the intellectual property of OPEN CASCADE SAS.
探索相关项目
加载中…