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
sewing-table: add baseline to InterlockEdge (nfc, curently)
[reprap-play.git]
/
sewing-table.scad.m4
diff --git
a/sewing-table.scad.m4
b/sewing-table.scad.m4
index b696ddc47a08bf53be0551e0d470fe40df1f2bd4..813e1a24f2175282163e7a3b2620aa2952ed318a 100644
(file)
--- a/
sewing-table.scad.m4
+++ b/
sewing-table.scad.m4
@@
-19,6
+19,9
@@
screw_big_len = 4.0;
round_edge_rad = 2.0;
interlock_dia = 10;
round_edge_rad = 2.0;
interlock_dia = 10;
+interlock_fine = 1.0;
+
+interlock_fine_lenslop = 1.0;
demo_slop = 0.1;
demo_slop = 0.1;
@@
-145,12
+148,19
@@
module InterlockLobePlan(negative) {
}
module InterlockEdgePlan(negative, nlobes, length) {
}
module InterlockEdgePlan(negative, nlobes, length) {
+ iadj = 0.1;
+
for (lobei = [ 0 : nlobes-1 ]) {
lobex = (length - thehd[0]*2) * (lobei ? lobei / (nlobes-1) : 0);
translate([lobex, 0, 0]) {
InterlockLobePlan(negative);
}
}
for (lobei = [ 0 : nlobes-1 ]) {
lobex = (length - thehd[0]*2) * (lobei ? lobei / (nlobes-1) : 0);
translate([lobex, 0, 0]) {
InterlockLobePlan(negative);
}
}
+
+ slotshorter = negative ? 0 : interlock_fine_lenslop;
+ mirror([0, negative, 1])
+ translate([slotshorter, iadj])
+ square([length - slotshorter*2, interlock_fine + iadj*2]);
}
module InterlockEdge(left_cnr, right_cnr, negative=0, nlobes=2) {
}
module InterlockEdge(left_cnr, right_cnr, negative=0, nlobes=2) {