guard-openscad – A Guard plugin for OpenSCAD

DESCRIPTION

guard-openscad provides a Guardfile configuration interface for running .scad files through OpenSCAD as you change them. This is helpful if you:

INSTALLATION

The preferred way of installing guard-openscad is through bundler. Out of the box, it provides you reasonable defaults for at least quickly checking syntax.

  1. Add guard-openscad to your Gemfile in a directory for your new thing.

    gem "guard-openscad"

  2. Run bundle install to install guard-openscad and all its dependencies.

  3. Setup your Guardfile with bundle exec guard init. This will provide you a default Guardfile configured to watch for changes to .scad files in a subdirectory called scad.

  4. Run guard with bundle exec guard

USAGE

Now, with guard running, try creating a new scad file, scad/cube.scad

cube(10,10,10);

When you save it, guard observes the change, and runs it through openscad! You’ll get a notification showing you everything is OK and a .csg version of the file.

Contributing to guard-openscad

Copyright © 2013 Caleb Buxton. See LICENSE.txt for further details.