pivy

Python bindings for Coin3D 3D graphics library

brewmacoslinux
Try with needOr install directly
Source

About

Python bindings to coin3d

Examples

import coin3d library in python script$ python3 -c "from pivy import coin; print(coin.SoDB.getNumRenderActions())"
create and manipulate 3d scenes in python$ python3 -c "from pivy.coin import *; root = SoSeparator(); root.addChild(SoCube())"
work with 3d geometry and shapes in python$ python3 << 'EOF' from pivy import coin scene = coin.SoSeparator() sphere = coin.SoSphere() scene.addChild(sphere) EOF
render 3d models with python scripting$ python3 -c "from pivy.coin import *; viewer = SoXtExaminerViewer(); viewer.show()"
build interactive 3d visualization applications$ python3 -c "from pivy.coin import *; root = SoSeparator(); camera = SoPerspectiveCamera(); root.addChild(camera)"