OCCT 产生的 OCP Python 包装器,使用 pywrap 生成。在此处可找到类型的代理。目标 为 OCCT 提供薄弱的绑定。封装所有 OCCT 模块…
OCCT 产生的 OCP Python 包装器,使用 pywrap 生成。在此处可找到类型的代理。目标 为 OCCT 提供薄弱的绑定。封装所有 OCCT 模块…
Python wrapper for OCCT generated using pywrap. Typing stubs available here.
The easiest way to get started is to use conda:
conda install -c conda-forge -c cadquery ocpGenerating 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 buildTo 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.tomlBuilding from the released sources without the generation step is possible too. Note that this is how the conda-forge package is built.
暂无开放 Issues,或尚未同步最近议题。