The Wayback Machine - https://web.archive.org/web/20230126230308/https://github.com/CadQuery/OCP
Skip to content

CadQuery/OCP

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

* Update env.yml

* Use 3.11 in CI

* Get rid of build deps

* Add some build deps
fcbeb80

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

OCP

Build Status Anaconda-Server Badge

Python wrapper for OCCT7.5.1 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

Building from sources is also possible using https://github.com/CadQuery/pywrap

pywrap all ocp.toml
cmake -S OCP -B build
cmake --build build

but 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