Skip to content


Switch branches/tags

Azure Build Status Conda installer Downloads Badge Language grade: Python Codacy Badge Binder DOI



pythonocc provides 3D modeling and dataexchange features. It is intended to CAD/PDM/PLM and BIM related development.

Latest release : pythonocc-core 7.6.2 (August 2022)


pythonocc provides the following features:

  • a full access from Python to almost all af the thousand OpenCascade C++ classes. Classes and methods/functions share the same names, and, as possible as it can be, the same signature
  • 3D visualization from the most famous Python Gui (pyQt, PySide1 and 2, wxPython)
  • 3D visualization in a web browser using WebGl and/or x3dom renderers
  • 3D visualization and work within a jupyter notebook
  • Various utility Python classes/methods for DataExchange, Topology operations, inertia computations etc.

Try online at mybinder

Click Binder to open a jupyter notebook running latest pythonocc-core 7.6.2, gmesh ( and latest IfcOpenshell ( dev branch.

Download/install binaries for Linux/OSX/Windows

pythonocc provides precompiled conda packages (they depend on third part libraries made available from the dlr-sc and conda-forge conda channels) for python 3.8, 3.9 and 3.10. This will get you up and running in minutes whether you run win32/win64/linux64/osx64. Here is an example for python 3.7:

# first create an environment
conda create --name=pyoccenv python=3.9
source activate pyoccenv
conda install -c conda-forge pythonocc-core=7.6.2

Other channels provide pythonocc-core packages, check

Build from source by yourself

Read the instructions where you find compilation instructions for all platforms.

Other pythonocc related resources

Online resources for development

We use the following online resources:

pythonocc, oce and opencascade dependencies

pythonocc-core 7.6.2 depends on the official OpenCascade-7.6.2 library (

Former releases rely on oce (OpenCascade Community Edition), available at
oce C++ library / CAD kernel.


You can redistribute it and/or modify it under the terms of the GNU Lesser General Public License version 3 as published by the Free Software Foundation.