chiark
/
gitweb
/
~ianmdlvl
/
reprap-play.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
poster-tube-lid: catch wip, hook
[reprap-play.git]
/
commitid-cube-test-Y.scad
diff --git
a/commitid-cube-test-Y.scad
b/commitid-cube-test-Y.scad
index 4f2f6fd5c099a890d0300c5ab95c6055b8da4c3c..23aa0760a07a9adfc909c6fd55a2760cc10e1f14 100644
(file)
--- a/
commitid-cube-test-Y.scad
+++ b/
commitid-cube-test-Y.scad
@@
-1,14
+1,23
@@
// -*- C -*-
// -*- C -*-
+$Commitid_depth = 1.0;
+$Commitid_pixelsz = 1.5;
+
include <commitid.scad>
baseh= 1;
include <commitid.scad>
baseh= 1;
-sz = 20;
-
fdo = [1, 3, 0];
fdo = [1, 3, 0];
-$Commitid_depth = 1.0;
+w = 3;
+t = 4;
+
+fdsz = Commitid_FontDemo_sz();
+d = Commitid_depth();
+ru = Commitid_pixelsz();
+echo($Commitid_pixelsz, ru, fdsz);
+
+sz = max( fdsz[0], fdsz[1] ) + ru;
module FD () {
translate(fdo)
module FD () {
translate(fdo)
@@
-27,13
+36,6
@@
module TC () { ////toplevel
translate([0,sz,0]) rotate([-90,0,90]) rotate([0,0,180]) FD();
}
translate([0,sz,0]) rotate([-90,0,90]) rotate([0,0,180]) FD();
}
-w = 3;
-t = 4;
-
-fdsz = Commitid_FontDemo_sz();
-d = Commitid_depth();
-ru = Commitid_pixelsz();
-
module TTWall () {
difference(){
translate([0, 0, -0.1])
module TTWall () {
difference(){
translate([0, 0, -0.1])