Use brlcad from python based on ctypes bindings. These ctypes bindings are generated during install-time using ctypesgen.
pip install -U brlcad
or
git clone [email protected]:kanzure/python-brlcad.git
cd python-brlcad/
export BRLCAD_PATH=/usr/brlcad
python setup.py install
Use either mingw or cygwin to provide gcc during installation. For details please consult the README_WIN.md file.
You can set the BRLCAD_HOME environment variable to the installation path of your brlcad distribution before running the setup.py script, and the brlcad libraries found there will be used. You could use this to install multiple versions of brl-cad, possibly using virtualenv to isolate the resulting python packages.
nosetests
Sorry, not yet. Check the examples/
folder.
Operating systems known to work:
- linux distros
- windows
Support for Mac OS X is planned but not yet implemented or tested.
BSD.