TheHubbit / PyInventor

3D Graphics in Python with Open Inventor
http://thehubbit.github.io/PyInventor
BSD 3-Clause "New" or "Revised" License
16 stars 8 forks source link

PyInventor

http://thehubbit.github.io/PyInventor

PyInventor provides a Python binding for the Open Inventor 3D graphics toolkit. The main drivers for this project are:

2023-04-23 Update: Please note that this project is outdated and currenlty not maintained. It would require upgrading to newer releases of packages it depends on (PySide2/6, Qt5/6, Python 3.11).

Using the Module

This module provides capabilities to work with Inventor scene objects from Python. For an overview on how to use it please visit wiki where you can find a getting started guide and examples (see https://github.com/TheHubbit/PyInventor/wiki).

License

PyInventor is Open Source Software and distributed under the BSD 3-Clause License. For full terms see the included COPYING file.

Installation

The binding can be compiled and installed using included distutils setup script. To compile the module CPython 3.3, numpy and Open Inventor need to be installed on the target system. Before running the setup, some variables that point to the Inventor include and library paths as well as the library names need to be adjusted.

# Open Inventor paths and libraries:
oivincpath = ''
oivlibpath = ''
oivlibs = []

Calling the following command will first compile PyInventor and then copy the binaries into the site-packages directory.

python setup.py install