summaryrefslogtreecommitdiffstats
path: root/test.py
diff options
context:
space:
mode:
authorVG <vg@devys.org>2016-12-04 16:01:40 +0100
committerVG <vg@devys.org>2016-12-04 16:01:40 +0100
commitbd20b12b5030415c9567ae4266897e71fd8eba93 (patch)
tree447297c2e38f552d3641be1c4d7802d375095cbf /test.py
downloadcatcad-bd20b12b5030415c9567ae4266897e71fd8eba93.tar.gz
catcad-bd20b12b5030415c9567ae4266897e71fd8eba93.tar.bz2
catcad-bd20b12b5030415c9567ae4266897e71fd8eba93.zip
first commit
Diffstat (limited to 'test.py')
-rw-r--r--test.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/test.py b/test.py
new file mode 100644
index 0000000..5a0de45
--- /dev/null
+++ b/test.py
@@ -0,0 +1,11 @@
+#!/usr/bin/python3
+
+from solid import *
+from solid.utils import *
+
+d = difference()(
+ cube(10),
+ sphere(15)
+)
+
+scad_render_to_file(d, 'test.scad')