Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
O

OCP

> 编程语言
Open source

OCP Python wrapper for OCCT generated using pywrap. Typing stubs available here. Goals Provide thin bindings to OCCT. Wrap all OCCT modules…

188 stars0 likes0 views
WebsiteGitHub

About

OCP Python wrapper for OCCT generated using pywrap. Typing stubs available here. Goals Provide thin bindings to OCCT. Wrap all OCCT modules…

OCP

Python wrapper for OCCT generated using pywrap. Typing stubs available here.

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.

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

C++b-repbrepcadocct

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 18, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言