An industrial strength 3D CAD python package
Python C++ CMake JavaScript CSS Batchfile Other
Clone or download
tpaviot Merge pull request #524 from thorade/issue523_timeout
lower timeout value, for Windows
Latest commit 5d50383 Apr 7, 2018

README.md

Travis Build Status Appveyor Build status Conda installer Downloads 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 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.

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.