From daf265de14cd7a46c718a68172238c7fcddc5d3c Mon Sep 17 00:00:00 2001 From: Robert Dale Date: Tue, 16 Aug 2016 14:48:20 -0400 Subject: [PATCH] added to section Generating a Design --- README.md | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 5f622f2..fca31e8 100644 --- a/README.md +++ b/README.md @@ -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** +* (Download and install the Clojure runtime)[https://clojure.org] +* (Download and install the Leiningen project manager)[http://leiningen.org/] +* (Download and 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.