From e394d7acc37a630beab7c65ea9ba0116041cf0c7 Mon Sep 17 00:00:00 2001 From: Elena ``of Valhalla'' Grandi Date: Mon, 10 Nov 2014 21:22:15 +0100 Subject: New face: custom graphics --- lib/faces/gfx.scad | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 lib/faces/gfx.scad (limited to 'lib/faces/gfx.scad') 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); +} + -- cgit v1.2.3