chiark
/
gitweb
/
~ianmdlvl
/
reprap-play.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e404286
)
commitid.scad.pl: Provide 3D versions
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Fri, 5 Feb 2016 03:34:10 +0000
(
03:34
+0000)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Fri, 5 Feb 2016 03:34:10 +0000
(
03:34
+0000)
commitid.scad.pl
patch
|
blob
|
history
diff --git
a/commitid.scad.pl
b/commitid.scad.pl
index fbf1231597968fa1cd5bd2de847f2a8992956148..be58d4cd67ee8e5e1ef89a8db505b8ad4cbfba60 100755
(executable)
--- 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;