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
doveclip fix pin dimensions
[reprap-play.git]
/
doveclip.scad
diff --git
a/doveclip.scad
b/doveclip.scad
index 2d465a8d4f1b79be1bb4a92f812e48507f69ba75..52f123073caa84e7bcc324acbf9e969239174048 100644
(file)
--- a/
doveclip.scad
+++ b/
doveclip.scad
@@
-5,8
+5,8
@@
webthick = 1.8;
height = 7;
pindepth = 10;
nomrad = height/2 - toothheight;
height = 7;
pindepth = 10;
nomrad = height/2 - toothheight;
-minrad = nomrad - 0.5;
-maxrad = nomrad + 0.5;
+minrad = nomrad - 0.
7
5;
+maxrad = nomrad + 0.
2
5;
jawthick = 1.5;
webgap = 0.4;
jawthick = 1.5;
webgap = 0.4;
@@
-15,18
+15,19
@@
basepinclear = 1.0;
toothgap = webthick + webgap*2;
basethick = toothheight;
toothgap = webthick + webgap*2;
basethick = toothheight;
-module DoveClipPin(height=height) {
- translate([0,0, height/2]) intersection(){
+module DoveClipPin(h=pindepth) {
+ pinheight = nomrad*2 + jawthick*2;
+ translate([0,0, pinheight/2]) intersection(){
union(){
for (m=[0,1]) {
union(){
for (m=[0,1]) {
- mirror([0,0,m]) translate([0,0,height/2]) rotate([90,0,0])
- cylinder($fn=20, r1=minrad, r2=maxrad, h=
pindept
h);
+ mirror([0,0,m]) translate([0,0,
pin
height/2]) rotate([90,0,0])
+ cylinder($fn=20, r1=minrad, r2=maxrad, h=h);
}
}
- translate([-webthick/2, -
pindepth, -
height/2-1])
- cube([webthick,
pindepth,
height+2]);
+ translate([-webthick/2, -
h, -pin
height/2-1])
+ cube([webthick,
h, pin
height+2]);
}
}
- translate([-maxrad-1, -
pindepth-1, -
height/2])
- cube([maxrad*2+2,
pindepth+2,
height]);
+ translate([-maxrad-1, -
h-1, -pin
height/2])
+ cube([maxrad*2+2,
h+2, pin
height]);
}
}
}
}