Skip to content
Open-source solid modeling in python
Python Other
  1. Python 99.9%
  2. Other 0.1%
Branch: master
Clone or download
Pull request Compare This branch is 53 commits ahead of kanzure:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Tutorial
brlcad
examples
tests
.gitignore
GSoC_18_Report.md
MANIFEST.in
Makefile
README.md
README_WIN.md
ctypesgen.txt
python-brlcad.cfg
setup.py
wdb_functions_python_brlcad.xlsx

README.md

python-brlcad

Use brlcad from 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.

You can’t perform that action at this time.