cadquery-ocp
Python wrapper for Open CASCADE Technology 3D geometry library based on the official CadQuery/OCP sources
Decision gist · record as of 2026-08-14
Yes, if you need direct access to OCCT's geometry capabilities from Python and are already using or considering CadQuery. The permissive license, active maintenance, and broad platform support (pre-built wheels) make it low-friction to add. No known vulnerabilities. Install only if you have a specific 3D geometry or CAD modeling task; it is not a general-purpose library.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.10 or later (up to 3.14).
- Compiled wheels are provided for common platforms; other architectures may require building from source.
- Medium install friction due to compiled wheels for multiple Python versions and platforms.
License · maintenance · safety
Apache-2.0 (permissive) — Apache-2.0 is permissive; you can use this package in commercial and proprietary projects with minimal restrictions, provided you include a copy of the license and note any modifications.
last release 2026-05-28 (78 days)
0 known vulnerabilities (OSV.dev, 2026-08-14) · 1,059,966 downloads/mo, #4,421 on PyPI
Alternatives
Verify before relying
pip install cadquery-ocp
import cadquery_ocp
# Access OCCT modules through the wrapper- Specific OCCT version wrapped by this release (7.9.3.1.1 appears to be the package version, not necessarily the OCCT version).
- Whether typing stubs (cadquery-ocp-stubs) are required or optional for development.
- Performance characteristics and typical use patterns within the CadQuery ecosystem.
What it is and what it does
cadquery-ocp is a thin Python wrapper around the Open CASCADE Technology (OCCT) library, a mature 3D geometry kernel used in CAD and computational geometry applications. It exposes OCCT's modules directly to Python without adding extra functionality—its role is to provide access to OCCT's existing capabilities for shape modeling, boolean operations, and geometric algorithms.
The package is designed primarily to support the CadQuery project and aims to track OCCT releases closely. It ships as pre-compiled wheels for Python 3.10–3.14 on macOS (ARM and x86), Linux, and Windows, reducing installation friction. It depends on vtk (for visualization) and cadquery-ocp-proxy (a proxy layer), both of which are runtime dependencies.
Use it for
- Building 3D CAD models programmatically using OCCT's shape and topology operations.
- Performing boolean operations (union, difference, intersection) on 3D geometries.
- Accessing OCCT's geometric algorithms for computational geometry tasks.
- Integrating OCCT geometry kernels into Python-based CAD or design automation tools.
- Prototyping 3D modeling workflows that will later be deployed in production CAD systems.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you need direct access to OCCT's geometry capabilities from Python and are already using or considering CadQuery.
The permissive license, active maintenance, and broad platform support (pre-built wheels) make it low-friction to add. No known vulnerabilities. Install only if you have a specific 3D geometry or CAD modeling task; it is not a general-purpose library.
Install
cadquery-ocp on PyPI
Before you install
Medium install friction due to compiled wheels for multiple Python versions and platforms. Active maintenance with a recent release (78 days ago). Depends on vtk and cadquery-ocp-proxy, both of which may add setup complexity.
Requires Python 3.10 or later (up to 3.14). Compiled wheels are provided for common platforms; other architectures may require building from source.
License in practice
Apache-2.0 is permissive; you can use this package in commercial and proprietary projects with minimal restrictions, provided you include a copy of the license and note any modifications.
Quickstart
pip install cadquery-ocp
import cadquery_ocp
# Access OCCT modules through the wrapper
Verify before relying
- Specific OCCT version wrapped by this release (7.9.3.1.1 appears to be the package version, not necessarily the OCCT version).
- Whether typing stubs (cadquery-ocp-stubs) are required or optional for development.
- Performance characteristics and typical use patterns within the CadQuery ecosystem.
Package facts
| License | Apache-2.0 permissive |
| Python support | Supports the current Python release <3.15,>=3.10 |
| Install friction | Medium. Platform-specific wheel |
| Runtime dependencies | 2 packagescadquery-ocp-proxyvtk |
| Maintenance | Actively maintained 78 days since the last release |
| First released | |
| Downloads | 1,059,966 / month, #4,421 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | License :: OSI Approved :: Apache Software License |
Evidence: cadquery_ocp-7.9.3.1.1-cp310-cp310-macosx_11_0_arm64.whl; cadquery_ocp-7.9.3.1.1-cp310-cp310-macosx_11_0_x86_64.whl; cadquery_ocp-7.9.3.1.1-cp310-cp310-manylinux_2_31_aarch64.whl; cadquery_ocp-7.9.3.1.1-cp310-cp310-manylinux_2_31_x86_64.whl; cadquery_ocp-7.9.3.1.1-cp310-cp310-win_amd64.whl; cadquery_ocp-7.9.3.1.1-cp311-cp311-macosx_11_0_arm64.whl; cadquery_ocp-7.9.3.1.1-cp311-cp311-macosx_11_0_x86_64.whl; cadquery_ocp-7.9.3.1.1-cp311-cp311-manylinux_2_31_aarch64.whl; cadquery_ocp-7.9.3.1.1-cp311-cp311-manylinux_2_31_x86_64.whl; cadquery_ocp-7.9.3.1.1-cp311-cp311-win_amd64.whl; cadquery_ocp-7.9.3.1.1-cp312-cp312-macosx_11_0_arm64.whl; cadquery_ocp-7.9.3.1.1-cp312-cp312-macosx_11_0_x86_64.whl; cadquery_ocp-7.9.3.1.1-cp312-cp312-manylinux_2_31_aarch64.whl; cadquery_ocp-7.9.3.1.1-cp312-cp312-manylinux_2_31_x86_64.whl; cadquery_ocp-7.9.3.1.1-cp312-cp312-win_amd64.whl; cadquery_ocp-7.9.3.1.1-cp313-cp313-macosx_11_0_arm64.whl; cadquery_ocp-7.9.3.1.1-cp313-cp313-macosx_11_0_x86_64.whl; cadquery_ocp-7.9.3.1.1-cp313-cp313-manylinux_2_31_aarch64.whl; cadquery_ocp-7.9.3.1.1-cp313-cp313-manylinux_2_31_x86_64.whl; cadquery_ocp-7.9.3.1.1-cp313-cp313-win_amd64.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “OCCT Python bindings”
- cadquery-ocpcadquery-ocp provides Python bindings to the Open CASCADE Technology…
- cadquery-ocp-novtkProvides Python bindings to the Open CASCADE Technology (OCCT) 3D…
- PyQt5-sipPyQt5-sip provides the runtime support module for PyQt5 bindings,…
Give your agent the search over MCP, or paste the wish link into any chat.
More Scientific/Engineering packages
NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.
pandas provides fast, flexible data structures (Series and DataFrame) for loading, cleaning, transforming, and analyzing labeled or relational data in Python.
scipy provides numerical algorithms for mathematics, science, and engineering—including optimization, integration, linear algebra, Fourier transforms, signal and image processing, and ODE solvers—built on numpy arrays.
scikit-learn provides a comprehensive Python library for supervised and unsupervised machine learning, including classification, regression, clustering, dimensionality reduction, and model evaluation tools built on NumPy and SciPy.
Install it if you need to train, evaluate, or deploy supervised or unsupervised learning models.
dill extends Python's pickle module to serialize and deserialize a much wider range of Python objects, including functions, lambdas, classes, and interpreter sessions, to byte streams for storage or network transmission.
Multiprocess is an enhanced fork of Python's standard multiprocessing library that uses dill for better serialization, allowing you to spawn processes with a threading-like API and share complex objects between them.
Install it if you use multiprocessing and encounter pickle serialization limits with lambdas or complex objects.
See also cadquery · cadquery-ocp-novtk · ocp-tessellate · cadquery-ocp-proxy · ocp-gordon · build123d · cascadio · rhino3dm · ocpsvg · PyGEL3D