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)
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.
We use the following online resources:
- Homepage http://www.pythonocc.org
- Sources https://github.com/tpaviot/pythonocc-core
- API documentation https://cdn.rawgit.com/tpaviot/pythonocc-core/e05ec51b/doc/apidoc/0.18.1/
- Bug tracker https://github.com/tpaviot/pythonocc-core/issues
- Mailing list http://groups.google.com/group/pythonocc
- Appveyor https://ci.appveyor.com/project/tpaviot/pythonocc-core
- Travic-CI https://travis-ci.org/tpaviot/pythonocc-core
- Twitter https://twitter.com/pythonocc
- Anaconda cloud repository for official releases https://anaconda.org/pythonocc
- Anaconda cloud repository for nightly builds https://anaconda.org/tpaviot/pythonocc-core
- LGTM code quality review https://lgtm.com/projects/g/tpaviot/pythonocc-core/
oce and pythonocc
The basis of pythonocc is python wrapper for the oce C++ library / CAD kernel, aka pythonocc-core. pythonocc-core version number correspond to 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 17 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.
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.