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:
5d5e535
)
commitid-cube-test: Break out TTWall (nfc)
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Fri, 5 Feb 2016 16:15:39 +0000
(16:15 +0000)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Fri, 5 Feb 2016 16:15:39 +0000
(16:15 +0000)
commitid-cube-test.scad
patch
|
blob
|
history
diff --git
a/commitid-cube-test.scad
b/commitid-cube-test.scad
index 2c2117963bde9eb5b57e4cbc18d9662a03e79d61..4bcef05011d39d727712023323158c047c304c86 100644
(file)
--- a/
commitid-cube-test.scad
+++ b/
commitid-cube-test.scad
@@
-32,18
+32,7
@@
fdsz = Commitid_FontDemo_sz();
d = Commitid_depth();
ru = Commitid_pixelsz();
d = Commitid_depth();
ru = Commitid_pixelsz();
-module TT () { ////toplevel
- difference(){
- union(){
- translate([-sz, 0, -t])
- cube([sz*2 + w, sz, t]);
- }
- translate([w,0,-t]) rotate([0,180,0]) FD();
- translate([w,0,0]) rotate([0,0,0]) FD();
-
- }
- translate([-sz,0,0]) rotate([0,0,0]) FD();
-
+module TTWall () {
difference(){
translate([0, 0, -0.1])
cube([w, sz, sz - t + 0.1]);
difference(){
translate([0, 0, -0.1])
cube([w, sz, sz - t + 0.1]);
@@
-62,6
+51,21
@@
module TT () { ////toplevel
//!cube([fdsz[1], fdsz[0], 1]);
}
//!cube([fdsz[1], fdsz[0], 1]);
}
+module TT () { ////toplevel
+ difference(){
+ union(){
+ translate([-sz, 0, -t])
+ cube([sz*2 + w, sz, t]);
+ }
+ translate([w,0,-t]) rotate([0,180,0]) FD();
+ translate([w,0,0]) rotate([0,0,0]) FD();
+
+ }
+ translate([-sz,0,0]) rotate([0,0,0]) FD();
+
+ TTWall();
+}
+
echo("pixelsz:", str(Commitid_pixelsz()),
"depth:", Commitid_depth(),
"sz:", Commitid_FontDemo_sz());
echo("pixelsz:", str(Commitid_pixelsz()),
"depth:", Commitid_depth(),
"sz:", Commitid_FontDemo_sz());