GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - CadQuery/OCP

BranchesTags
Open more actions menu

Latest commit

 

History

251 Commits
251 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
conda
conda
 
 
extern
extern
 
 
opencascade
opencascade
 
 
pywrap @ 76a16d0
pywrap @ 76a16d0
 
 
templates
templates
 
 
tests
tests
 
 
.gitmodules
.gitmodules
 
 
CMakeLists.txt
CMakeLists.txt
 
 
LICENSE
LICENSE
 
 
OCP_specific.inc
OCP_specific.inc
 
 
README.md
README.md
 
 
dump_symbols.py
dump_symbols.py
 
 
environment.devenv.yml
environment.devenv.yml
 
 
ocp.toml
ocp.toml
 
 
pystreambuf.h
pystreambuf.h
 
 
vtk_pybind.h
vtk_pybind.h
 
 

Repository files navigation

OCP

Build Bindings Anaconda-Server Badge

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.

About

No description or website provided.

Topics

b-repbrepcadocctopencascadepybind11python

Resources

Readme
Apache-2.0 license
Activity
Custom properties

Stars

215 stars

Watchers

10 watching

Forks

52 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.