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
fairphone-case: introduce RearSpeakerAperture (nfc)
[reprap-play.git]
/
commitid-cube-test.scad
diff --git
a/commitid-cube-test.scad
b/commitid-cube-test.scad
index 4bcef05011d39d727712023323158c047c304c86..0a5f21a5dc1056588a3a1784df63cf577fe68567 100644
(file)
--- a/
commitid-cube-test.scad
+++ b/
commitid-cube-test.scad
@@
-34,11
+34,10
@@
ru = Commitid_pixelsz();
module TTWall () {
difference(){
module TTWall () {
difference(){
-
translate([0, 0, -0.1])
-
cube([w, sz, sz - t + 0.1]);
+ translate([0, 0, -0.1])
+ cube([w, sz, sz - t + 0.1]);
translate([0,sz,0]) rotate([90,0,-90]) FD();
translate([0,sz,0]) rotate([90,0,-90]) FD();
-
translate([0, sz, 0])
rotate([90, 0, -90])
translate(fdo + [0, -ru*2, -d]) cube([fdsz[0], ru, d*2]);
translate([0, sz, 0])
rotate([90, 0, -90])
translate(fdo + [0, -ru*2, -d]) cube([fdsz[0], ru, d*2]);
@@
-48,22
+47,23
@@
module TTWall () {
translate([0, sz+d, 0])
rotate([90,0,0])
translate([0, fdo[1], 0]) cube([d*2, fdsz[1], ru]);
translate([0, sz+d, 0])
rotate([90,0,0])
translate([0, fdo[1], 0]) cube([d*2, fdsz[1], ru]);
- //!cube([fdsz[1], fdsz[0], 1]);
}
module TT () { ////toplevel
difference(){
}
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([-sz, 0, -t])
+ cube([sz*2 + w, sz, t]);
+
+ translate([0,0,-t]) rotate([0,180,0]) FD();
translate([w,0,0]) rotate([0,0,0]) FD();
translate([w,0,0]) rotate([0,0,0]) FD();
+ translate([(sz+w), 0, -t]) rotate([0,180,0])
+ Commitid_BestCount([sz+w, sz]);
}
translate([-sz,0,0]) rotate([0,0,0]) FD();
TTWall();
}
translate([-sz,0,0]) rotate([0,0,0]) FD();
TTWall();
+ translate([0,0,-t]) rotate([90,0,0]) TTWall();
}
echo("pixelsz:", str(Commitid_pixelsz()),
}
echo("pixelsz:", str(Commitid_pixelsz()),