summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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')