forked from jcrocholl/kossel
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnema17.scad
More file actions
31 lines (28 loc) · 790 Bytes
/
nema17.scad
File metadata and controls
31 lines (28 loc) · 790 Bytes
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
include <configuration.scad>;
module nema17() {
// NEMA 17 stepper motor.
difference() {
union() {
translate([0, 0, -motor_length/2]) intersection() {
cube([42.2, 42.2, motor_length], center=true);
cylinder(r=25.1, h=motor_length+1, center=true, $fn=60);
}
cylinder(r=11, h=4, center=true, $fn=32);
cylinder(r=2.5, h=48, center=true, $fn=24);
}
for (a = [0:90:359]) {
rotate([0, 0, a]) translate([15.5, 15.5, 0])
cylinder(r=m3_radius, h=10, center=true, $fn=12);
}
}
}
module nema17holes() {
cylinder(r=11+1, h=4+5, $fn=48);
cylinder(r=2.5+.2, h=25, $fn=36);
for (a = [0:90:359]) {
rotate([0, 0, a]) translate([15.5, 15.5, 0])
cylinder(r=2.94/2+.2, h=10, $fn=11);
}
}
nema17();
%nema17holes();