summaryrefslogtreecommitdiffstats
path: root/cad/assembly.py
diff options
context:
space:
mode:
authorVG <vg@devys.org>2016-12-09 11:25:11 +0100
committerVG <vg@devys.org>2016-12-09 11:25:11 +0100
commit7baec10b5c7e454276fafee86fdf91409b242715 (patch)
tree05ed33ffda659796778a4815ea7f1116421f7dbd /cad/assembly.py
parent96cd0418f870ea0c2fc9870761dd1f19d7277e67 (diff)
downloadcatcad-7baec10b5c7e454276fafee86fdf91409b242715.tar.gz
catcad-7baec10b5c7e454276fafee86fdf91409b242715.tar.bz2
catcad-7baec10b5c7e454276fafee86fdf91409b242715.zip
organize files in a package
Diffstat (limited to 'cad/assembly.py')
-rw-r--r--cad/assembly.py12
1 files changed, 12 insertions, 0 deletions
diff --git a/cad/assembly.py b/cad/assembly.py
new file mode 100644
index 0000000..32c8202
--- /dev/null
+++ b/cad/assembly.py
@@ -0,0 +1,12 @@
+#!venv/bin/python3
+
+from solid import *
+from solid.utils import *
+
+def main():
+ d = difference()(
+ cube(10),
+ sphere(15)
+ )
+
+ scad_render_to_file(d, 'test.scad')