summaryrefslogtreecommitdiffstats
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
downloadcatcad-bd20b12b5030415c9567ae4266897e71fd8eba93.tar.gz
catcad-bd20b12b5030415c9567ae4266897e71fd8eba93.tar.bz2
catcad-bd20b12b5030415c9567ae4266897e71fd8eba93.zip
first commit
-rw-r--r--.gitignore5
-rw-r--r--test.py11
2 files changed, 16 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..205968a
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,5 @@
+*.pyc
+__pycached__
+
+/*.scad
+
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')