From: Ian Jackson Date: Fri, 5 Feb 2016 03:34:10 +0000 (+0000) Subject: commitid.scad.pl: Provide 3D versions X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=7c6fcf7a88122c4d1a225efaa402a173a6647ff6;p=reprap-play.git commitid.scad.pl: Provide 3D versions --- 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;