Open-source solid modeling in python
Clone or download
Pull request Compare This branch is 1 commit ahead, 9 commits behind ncsaba:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
brlcad
examples
tests
.gitignore
MANIFEST.in
Makefile
README.md
README_WIN.md
ctypesgen.txt
python-brlcad.cfg
requirements.txt
setup.py

README.md

python-brlcad: Open-source solid modeling in python.

The python-brlcad module provides a way to use brlcad from inside python based on ctypes bindings. These ctypes bindings are generated during install-time using ctypesgen.

installing

pip install -U brlcad

or

git clone git@github.com:kanzure/python-brlcad.git
cd python-brlcad/
export BRLCAD_PATH=/usr/brlcad
python setup.py install

installing on windows

Use either mingw or cygwin to provide gcc during installation. For details please consult the README_WIN.md file.

non-standard brlcad installation path

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.

testing

nosetests

usage

Sorry, not yet. Check the examples/ folder.

Known to work with..

Operating systems known to work:

  • linux distros
  • windows

Support for Mac OS X is planned but not yet implemented or tested.

license

BSD.