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:
173a156
)
sewing-table: Interlock: tongue/groove wip (nfc)
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Mon, 2 Jan 2017 15:34:40 +0000
(15:34 +0000)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Mon, 2 Jan 2017 15:34:40 +0000
(15:34 +0000)
sewing-table.scad.m4
patch
|
blob
|
history
diff --git
a/sewing-table.scad.m4
b/sewing-table.scad.m4
index 630d48911b8a2f393c6bf5d848fdbc40d85ec53e..b09d59a53d0a615d63453e7c245081fb62c294a5 100644
(file)
--- a/
sewing-table.scad.m4
+++ b/
sewing-table.scad.m4
@@
-174,13
+174,22
@@
module InterlockEdge(left_cnr, right_cnr, negative=0, nlobes=2) {
z3 = -tile_th/2 + protr / interlock_fine_slope;
INREFFRAME(left_cnr, right_cnr) {
z3 = -tile_th/2 + protr / interlock_fine_slope;
INREFFRAME(left_cnr, right_cnr) {
- for (vsect = [ // zs
tart zend ystart, yend
+ for (vsect = [ // zs
0 zs1 ys0, ys1
[ -tile_th-plusth, plusth, 0, 0],
[ -tile_th-plusth, plusth, 0, 0],
-
//
[ z1, z2, 0, protr],
-
//
[ z2, z3, protr, 0],
+ [ z1, z2, 0, protr],
+ [ z2, z3, protr, 0],
]) {
]) {
- translate([0, 0, vsect[0]])
- linear_extrude(height=vsect[1]-vsect[0], convexity=10)
+ zs0 = vsect[0];
+ zs1 = vsect[1];
+ zsd = zs1-zs0;
+ ys0 = vsect[2];
+ ys1 = vsect[2];
+ ysd = ys1-ys0;
+ multmatrix([ [ 1,0,0,0 ],
+ [ 0,1,0,0 ],
+ [ 0,0,1,zs0 ],
+ [ 0,0,0,1 ] ])
+ linear_extrude(height=zsd, convexity=10)
InterlockEdgePlan(negative, nlobes, length);
}
}
InterlockEdgePlan(negative, nlobes, length);
}
}