aboutsummaryrefslogtreecommitdiff
path: root/lib/faces/gfx.scad
diff options
context:
space:
mode:
Diffstat (limited to 'lib/faces/gfx.scad')
-rw-r--r--lib/faces/gfx.scad7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/faces/gfx.scad b/lib/faces/gfx.scad
new file mode 100644
index 0000000..f9f1e2a
--- /dev/null
+++ b/lib/faces/gfx.scad
@@ -0,0 +1,7 @@
+
+module gfx(l, gfx) {
+ file = str("../lib/faces/img/gfx/",gfx,".dxf");
+ translate([0, 0, -1]) linear_extrude(height=2) scale(l/40)
+ translate([-20, -20, 0]) import(file);
+}
+