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:
dbb4061
)
axlepin move pin centre to origin
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Wed, 17 Oct 2012 20:30:23 +0000
(21:30 +0100)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Wed, 17 Oct 2012 20:30:23 +0000
(21:30 +0100)
axlepin.scad
patch
|
blob
|
history
diff --git
a/axlepin.scad
b/axlepin.scad
index 818b5a2f3fdb7f0aeb65ad45beecf3446ee574ca..0f29a4f49c6cb815b5c24d19db65bdf9c4469ec3 100644
(file)
--- a/
axlepin.scad
+++ b/
axlepin.scad
@@
-5,13
+5,13
@@
function AxlePin_holerad() = 2;
module AxlePin(axlerad, pinlen, holerad=2, tabthick=5, slop=0.5){
pinr = holerad - slop;
intersection(){
-
translate([0, 0, pinr*0.7])
{
+
union()
{
translate([0, -pinlen/2, 0]) rotate([-90,0,0])
cylinder(r=pinr, h=pinlen, $fn=10);
translate([-tabthick, axlerad, -holerad])
cube([tabthick*2, holerad*2, holerad*2]);
}
- translate([-50,-50,
0
]) cube([100,100,50]);
+ translate([-50,-50,
-pinr*0.7
]) cube([100,100,50]);
}
}