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:
c236bc6
)
knifeblock: move minx, maxx (nfc)
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Wed, 31 Dec 2014 12:35:10 +0000
(12:35 +0000)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Wed, 31 Dec 2014 12:35:10 +0000
(12:35 +0000)
knifeblock.scad
patch
|
blob
|
history
diff --git
a/knifeblock.scad
b/knifeblock.scad
index 302dacb73739d6cc1ee2ff1099c1a400163843d2..da25c38ded8473efaabddc1e394549f0b5400f00 100644
(file)
--- a/
knifeblock.scad
+++ b/
knifeblock.scad
@@
-30,6
+30,12
@@
screwabove = 15;
side = minsidein + screwcsinkdia + minsideout;
totaldepth = front + maxhandledepth + back;
side = minsidein + screwcsinkdia + minsideout;
totaldepth = front + maxhandledepth + back;
+minkx = locations[0] - widths[0] /2;
+maxkx = locations[nknives-1] + widths[nknives-1]/2;
+
+minx = minkx - side;
+maxx = maxkx + side;
+
module ImportTemplate(w,k,t) {
fn = str("knifeblock-knives-t",k,t,".dxf");
echo(fn);
module ImportTemplate(w,k,t) {
fn = str("knifeblock-knives-t",k,t,".dxf");
echo(fn);
@@
-70,12
+76,6
@@
module ScrewHole(){
}
module Block(){
}
module Block(){
- minkx = locations[0] - widths[0] /2;
- maxkx = locations[nknives-1] + widths[nknives-1]/2;
-
- minx = minkx - side;
- maxx = maxkx + side;
-
sidemidx = minsideout + screwcsinkdia/2;
difference(){
sidemidx = minsideout + screwcsinkdia/2;
difference(){