summaryrefslogtreecommitdiff
path: root/src/scad_demo/core.clj
diff options
context:
space:
mode:
Diffstat (limited to 'src/scad_demo/core.clj')
-rw-r--r--src/scad_demo/core.clj11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/scad_demo/core.clj b/src/scad_demo/core.clj
new file mode 100644
index 0000000..ad59891
--- /dev/null
+++ b/src/scad_demo/core.clj
@@ -0,0 +1,11 @@
+(ns scad-demo.core
+ (:use [scad-clj.scad])
+ (:use [scad-clj.model]))
+
+(def primitives
+ (union
+ (union)
+ (->> (sphere 50))))
+
+(spit "post-demo.scad"
+ (write-scad primitives)) \ No newline at end of file