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:
9ffd438
)
sewing-table: TEST commitid: put roughly in middle of the other edge
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Thu, 25 May 2017 01:11:08 +0000
(
02:11
+0100)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Thu, 25 May 2017 01:11:08 +0000
(
02:11
+0100)
sewing-table.scad.m4
patch
|
blob
|
history
diff --git
a/sewing-table.scad.m4
b/sewing-table.scad.m4
index 80d86c84e3dc2d2c09aec5b2201c1b1c0c354642..9bc6b02402601245f1cfffbf56daa39075dd185a 100644
(file)
--- a/
sewing-table.scad.m4
+++ b/
sewing-table.scad.m4
@@
-175,10
+175,10
@@
module TileBase(botleft, topright){
}
if (TEST) {
crossoff = tile_hard_edge_hole_dist + POST_TCROSSSZ/2;
}
if (TEST) {
crossoff = tile_hard_edge_hole_dist + POST_TCROSSSZ/2;
- cidsz = [
size[0] - 2*crossoff, thehd[1]
];
- translate( concat(botleft + [crossoff, 0] + cidsz, [0]) )
-
rotate([0,0,180]
)
- Commitid_BestCount(cidsz);
+ cidsz = [
thehd[0], size[1] - 2*crossoff
];
+ cidszr = [ cidsz[0], min(cidsz[1], 50) ];
+
translate( concat(botleft + [0, crossoff] + (cidsz-cidszr)/2, [0])
)
+ Commitid_BestCount(cidsz
r
);
difference(){
mirror([0,0,1]) {
translate(concat(botleft + [test_edge,test_edge], [test_tile_th]))
difference(){
mirror([0,0,1]) {
translate(concat(botleft + [test_edge,test_edge], [test_tile_th]))