diff options
author | Matt Adereth <adereth@gmail.com> | 2016-08-16 17:42:21 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-08-16 17:42:21 -0700 |
commit | 2fc5698dc537826c84368efd8efe7f9214a096a0 (patch) | |
tree | 343e026e8d61e7ea6b30ead97e2de0306167cde4 | |
parent | 1515345e68cd83a6b19f7378890b4f415d06d200 (diff) | |
parent | fa574951a3b0b0bdac34c6787ac31b99c0e52742 (diff) |
Merge pull request #24 from robertdale/how-to-clojure
How to clojure
-rw-r--r-- | README.md | 19 |
1 files changed, 18 insertions, 1 deletions
@@ -6,7 +6,24 @@ The Dactyl is a parameterized, split-hand, concave, columnar, ergonomic keyboard ## Assembly ### Generating a Design -TODO + +**Setting up the Clojure environment** +* [Install the Clojure runtime](https://clojure.org) +* [Install the Leiningen project manager](http://leiningen.org/) +* [Install OpenSCAD](http://www.openscad.org/) + +**Generating the design** +* Run `lein repl` +* Load the file `(load-file "src/dactyl_keyboard/dactyl.clj")` +* This will regenerate the `things/*.scad` files +* Use OpenSCAD to open a `.scad` file. +* Make changes to design, repeat `load-file`, OpenSCAD will watch for changes and rerender. +* When done, use OpenSCAD to export STL files + +**Tips** +* [Some other ways to evaluate the clojure design file](http://stackoverflow.com/a/28213489) +* [Example designing with clojure](http://adereth.github.io/blog/2014/04/09/3d-printing-with-clojure/) + ### Printing Pregenerated STL files are available in the [things/](things/) directory. |