--- id: cadquery-ocp version: "7.9.3.1.1" license: Apache-2.0 license_treatment: permissive maintenance: active --- # cadquery-ocp — Python wrapper for Open CASCADE Technology 3D geometry library based on the official CadQuery/OCP sources License: permissive · Maintenance: active · Downloads: 1.1M/mo ## 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 above — verify before relying. cadquery-ocp provides Python bindings to the Open CASCADE Technology (OCCT) 3D geometry library, exposing OCCT's modules for computational geometry, CAD operations, and shape manipulation. 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 pip install cadquery-ocp uv add cadquery-ocp poetry add cadquery-ocp ## Installing cadquery-ocp 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. 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 Requires Python 3.10 or later (up to 3.14). Compiled wheels are provided for common platforms; other architectures may require building from source. 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_current - Install friction: medium - Maintenance: active - Downloads: 1.1M/month (top 5,000 on PyPI) - Known vulnerabilities: none known ## Tags OCCT Python bindings, 3D geometry library Python, Open CASCADE Technology wrapper, CAD geometry operations, computational geometry Python, shape modeling library, 3D CAD kernel, 3d-geometry, cad-kernel, occt-bindings [View on SkillFed](https://skillfed.io/packages/cadquery-ocp) · [View on PyPI](https://pypi.org/project/cadquery-ocp/)