From 7c6fcf7a88122c4d1a225efaa402a173a6647ff6 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Fri, 5 Feb 2016 03:34:10 +0000 Subject: [PATCH] commitid.scad.pl: Provide 3D versions --- commitid.scad.pl | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/commitid.scad.pl b/commitid.scad.pl index fbf1231..be58d4c 100755 --- a/commitid.scad.pl +++ b/commitid.scad.pl @@ -101,6 +101,10 @@ sub gentextmodule ($@) { } p " }\n"; p "}\n"; + p "module ${modb}(){\n"; + p " d=Commitid_depth();\n"; + p " translate([0,0,-d]) linear_extrude(height=d*2) ${modb}_2D();\n"; + p "}\n"; } our @demo; -- 2.30.2