diff options
author | Elena ``of Valhalla'' Grandi <valhalla@trueelena.org> | 2014-11-10 21:22:15 +0100 |
---|---|---|
committer | Elena ``of Valhalla'' Grandi <valhalla@trueelena.org> | 2014-11-10 21:22:15 +0100 |
commit | e394d7acc37a630beab7c65ea9ba0116041cf0c7 (patch) | |
tree | 135bdc19c56f3f4c505a36e01a7e11e5cdb9acea /lib/faces/gfx.scad | |
parent | 972f5e5e58baf7613d70f87b6dc08255eeba96be (diff) |
New face: custom graphics
Diffstat (limited to 'lib/faces/gfx.scad')
-rw-r--r-- | lib/faces/gfx.scad | 7 |
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); +} + |