Skip to content
An industrial strength 3D CAD python package
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
ci
cmake [codacy] trailing whitespace in __init__.py Feb 25, 2019
src Improved jupyter renderer, thanks @bernhard-42 Apr 30, 2019
test [codacy] Use of assert detected in core_ocaf unittest Feb 25, 2019
.gitignore also ignore visual studio files Mar 26, 2018
.gitmodules Removed the demos folder and run example as tests - takes too long on… Dec 30, 2018
.travis.yml Added back py3.7 to travis matrix Jan 12, 2019
AUTHORS Updated AUTHORS Jan 20, 2018
CMakeLists.txt Fix linking on osx, see issue #541 Jan 12, 2019
INSTALL.md Updated README, NEWS and INSTALL Jun 14, 2017
LICENSE Initial commit Aug 25, 2014
NEWS
README.md Small refctoring of README Jan 22, 2019
appveyor.yml updated anaconda token Feb 15, 2019

README.md

Travis Build Status Appveyor Build status Conda installer Downloads Badge Language grade: Python Codacy Badge Join the chat at https://gitter.im/tpaviot/pythonocc-core

pythonocc-core

About

pythonocc is a python library whose purpose is to provide 3D modeling features. It is intended to developers who aim at developing CAD/PDM/PLM applications.

Latest release : pythonocc-core 0.18.1 (december 2017)

Download/install binaries

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

# install pythonocc in the active environment with python 3.5
conda install -c conda-forge -c dlr-sc -c pythonocc -c oce pythonocc-core==0.18.1 python=3.5

Just replace "3.5" with "2.7" or "3.6" in the previous command to fit with your prefered python version.

Download pre-releases/development binaries

Each time a change is committed to the github repository, related binaries are uploaded to the tpaviot anaconda channel, labelled with the git development branch name.

Go and check https://anaconda.org/tpaviot/pythonocc-core.

Build from source

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

Online resources

We use the following online resources:

oce and pythonocc

The basis of pythonocc is a python wrapper for the oce C++ library / CAD kernel, aka pythonocc-core. pythonocc-core version number matches the oce library releases its wrapping.

For example; the current pythonocc-core release, 0.18, requires any of the OCE 0.18.x releases. Here, the Major version name of either OCE or pythonocc-core release is 0, the Minor version is 18 and the Patch version is (optionally) x. pythonocc-core can be built with any OCE version that has a corresponding Major and Minor version number. For example, pythonocc-core 0.18.1 can be built with OCE-0.18.1.

License

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.

You can’t perform that action at this time.