-
Notifications
You must be signed in to change notification settings - Fork 0
/
hook.scad
31 lines (30 loc) · 1.03 KB
/
hook.scad
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
// a small, simple hook that accepts two drywall screws as anchors.
$fn = 50;
difference(){
minkowski(){ // add vertical fillets and horizontal chamfers
union(){
// arm of hook
rotate([0, 0, 60]) translate([0, 24, 0]) union(){
translate([0, -12, 0]) cube([5, 24, 5], center=true);
cylinder(5, 2.5, 2.5, center=true);
}
// body of hook
translate([0, 0, 5.5]) cube([5, 24, 16], center=true);
}
// buck for minkowski function
union(){
translate([0, 0, .5]) cylinder(1, 1, 0);
translate([0, 0, -.5]) cylinder(1, 0, 1);
};
}
// +Y screw hole
translate([5.5, 6, 8]) rotate([0, 90, 0]) union() {
cylinder(20, 2, 2, center=true);
translate([0, 0, -8])cylinder(4, 4, 0, center=true);
}
// -Y screw hole
translate([5.5, -6, 8]) rotate([0, 90, 0]) union() {
cylinder(20, 2, 2, center=true);
translate([0, 0, -8])cylinder(4, 4, 0, center=true);
}
}