Bitbucket is a code hosting site with unlimited public and private repositories. We're also free for small teams!

Close

py2scad: Create OpenSCAD 3D solid models using python

Do you prefer programming to drawing? Do you want a simple way to create complicated 3D solid models using your favorite programing language? If so then py2sacd may just be the thing for you. py2scad is a simple python library which enables you write .scad files using python. py2scad is meant to be used in conjuction with Clifford Wolff's great OpenSCAD program (http://openscad.org/). Use py2scad to create the .scad version of your part and OpenSCAD to view your part as you create it.

Note, there are still some features that I need to implement:

  • The fn, fa, fs character should work on the global level, but you can yet set them for individual primatives as you can in openscad.
  • The lookup table function hasn't been implemented. This will be especiallly useful for creating animations.

Installations instructions can be found in the INSTALL file.

Author: Will Dickson IO Rodeo Inc.

py2scad may be freely distributed and modified in accordance with the Apache 2.0 License.

Recent activity

Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.