I am releasing the source code to my Python CSG library, named pyPolyCSG. The code is based on the Carve CSG library and provides Python users with a way to load/save meshes in a variety of formats (.obj, .off, .stl, .vtp) as well as apply transformations (translate/rotate/scale) and perform Boolean operations upon them. I have now been using the library as a replacement for OpenSCAD for quite some time and finding it useful, as you can see below:
However it is very much a work-in-progress, particularly the installation. I hope to be cleaning this up and adding features as time goes on. If anyone has suggestions on how to package the code better, I'd love to hear them.
In the meantime, the code is up on GitHub at: https://github.com/jamesgregson/pyPolyCSG, licensed under the MIT license. Please send your comments for new features, bug fixes or pretty much anything.
- ► 2013 (28)
- ▼ October (3)