summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMichael Schwarz <michi.schwarz@gmail.com>2014-12-12 18:07:28 +0100
committerMichael Schwarz <michi.schwarz@gmail.com>2014-12-12 18:07:28 +0100
commit88fef813b0d1013e90c9aa4156cbc836481377a3 (patch)
tree128b26f48b4a5abfbb803d85ecae48237cb0a238 /src
parentc02392b65243b3842e273cec36468e21ee376787 (diff)
parentb69003800917a93c5c2b240ede6f83b80f1095cc (diff)
downloadpogojig-88fef813b0d1013e90c9aa4156cbc836481377a3.tar.gz
pogojig-88fef813b0d1013e90c9aa4156cbc836481377a3.tar.bz2
pogojig-88fef813b0d1013e90c9aa4156cbc836481377a3.zip
Merge branch 'master' into no-examples
Diffstat (limited to 'src')
-rw-r--r--src/_settings.scad2
-rw-r--r--src/example_1.scad6
-rw-r--r--src/example_2.scad14
3 files changed, 22 insertions, 0 deletions
diff --git a/src/_settings.scad b/src/_settings.scad
new file mode 100644
index 0000000..1f84b17
--- /dev/null
+++ b/src/_settings.scad
@@ -0,0 +1,2 @@
+plate_height = 2;
+struts_height = 1;
diff --git a/src/example_1.scad b/src/example_1.scad
new file mode 100644
index 0000000..b6e8931
--- /dev/null
+++ b/src/example_1.scad
@@ -0,0 +1,6 @@
+include <_settings.scad>
+
+render(convexity = 10) {
+ linear_extrude(plate_height)
+ import("example.dxf", layer = "text");
+}
diff --git a/src/example_2.scad b/src/example_2.scad
new file mode 100644
index 0000000..2dd57e6
--- /dev/null
+++ b/src/example_2.scad
@@ -0,0 +1,14 @@
+include <_settings.scad>
+
+render(convexity = 10) {
+ union() {
+ linear_extrude(plate_height)
+ difference() {
+ import("example.dxf", layer = "base");
+ import("example.dxf", layer = "text");
+ }
+
+ linear_extrude(struts_height)
+ import("example.dxf", layer = "struts");
+ }
+}