forked from josefprusa/PrusaMendel
-
Notifications
You must be signed in to change notification settings - Fork 10
/
nut-traps.scad
56 lines (48 loc) · 1.18 KB
/
nut-traps.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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
include <configuration.scad>
fan_support_thickness=8;
fan_trap_width=3;
fan_hole_height=4;
translate([14,0,0])
{
rotate(30)
difference()
{
cylinder(r=m4_nut_diameter, h=3,$fn=6);
translate([0,0,1])
cylinder(r=m4_nut_diameter/2,h=3,$fn=6);
}
translate([12,0,0])
rotate(30)
difference()
{
cylinder(r=m3_nut_diameter, h=3,$fn=6);
translate([0,0,1])
cylinder(r=m3_nut_diameter/2,h=3,$fn=6);
}
}
difference()
{
translate([0,0,fan_support_thickness/2])
cube([fan_support_thickness+5,fan_support_thickness,fan_support_thickness],true);
translate([0,0,fan_hole_height])
{
rotate([90,0,0])
rotate(180/8)
cylinder(r=m3_diameter/2,h=fan_support_thickness+2,
center=true,$fn=8);
translate([0,0,0])
rotate([90,0,0])
rotate([0,0,180/6])
cylinder(r=(m3_nut_diameter-0.5)/2,h=fan_trap_width,
center=true,$fn=6);
translate([0,0,-(fan_hole_height+1)/2])
cube([(m3_nut_diameter-0.5)*cos(30),fan_trap_width,
fan_hole_height+1],center=true);
translate([0,0,-fan_hole_height])
cube([(m3_nut_diameter-0.5)*cos(30)+1,fan_trap_width+1,
0.8],center=true);
}
translate([-(fan_support_thickness+5)/2-1,0,4])
rotate([0,90,0])
cylinder(r=m3_nut_diameter/2,h=3,$fn=6);
}