mirror of
https://github.com/BelfrySCAD/BOSL2.git
synced 2025-02-19 01:59:39 +00:00
Fixed typo and color issues in nema_steppers.scad.
This commit is contained in:
parent
e69f017023
commit
f42e04401b
1 changed files with 17 additions and 13 deletions
|
@ -102,7 +102,7 @@ module nema11_stepper(h=24, shaft=5, shaft_len=20)
|
||||||
}
|
}
|
||||||
xspread(screw_spacing)
|
xspread(screw_spacing)
|
||||||
yspread(screw_spacing)
|
yspread(screw_spacing)
|
||||||
down(scred_depth/2-0.05)
|
down(screw_depth/2-0.05)
|
||||||
cylinder(r=screw_size/2, h=screw_depth, center=true, $fn=max(12,segs(screw_size/2)));
|
cylinder(r=screw_size/2, h=screw_depth, center=true, $fn=max(12,segs(screw_size/2)));
|
||||||
}
|
}
|
||||||
color([0.4, 0.4, 0.4])
|
color([0.4, 0.4, 0.4])
|
||||||
|
@ -224,6 +224,7 @@ module nema23_stepper(h=50, shaft=6.35, shaft_len=25)
|
||||||
translate([0, 0, shaft_len/2])
|
translate([0, 0, shaft_len/2])
|
||||||
cylinder(h=shaft_len, r=shaft/2, center=true, $fn=max(12,segs(shaft/2)));
|
cylinder(h=shaft_len, r=shaft/2, center=true, $fn=max(12,segs(shaft/2)));
|
||||||
}
|
}
|
||||||
|
color([0.4, 0.4, 0.4]) {
|
||||||
xspread(screw_spacing) {
|
xspread(screw_spacing) {
|
||||||
yspread(screw_spacing) {
|
yspread(screw_spacing) {
|
||||||
down(screw_depth/2)
|
down(screw_depth/2)
|
||||||
|
@ -233,6 +234,7 @@ module nema23_stepper(h=50, shaft=6.35, shaft_len=25)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
//!nema23_stepper();
|
//!nema23_stepper();
|
||||||
|
|
||||||
|
@ -263,6 +265,7 @@ module nema34_stepper(h=75, shaft=12.7, shaft_len=32)
|
||||||
translate([0, 0, shaft_len/2])
|
translate([0, 0, shaft_len/2])
|
||||||
cylinder(h=shaft_len, r=shaft/2, center=true, $fn=max(24,segs(shaft/2)));
|
cylinder(h=shaft_len, r=shaft/2, center=true, $fn=max(24,segs(shaft/2)));
|
||||||
}
|
}
|
||||||
|
color([0.4, 0.4, 0.4]) {
|
||||||
xspread(screw_spacing) {
|
xspread(screw_spacing) {
|
||||||
yspread(screw_spacing) {
|
yspread(screw_spacing) {
|
||||||
down(screw_depth/2)
|
down(screw_depth/2)
|
||||||
|
@ -272,6 +275,7 @@ module nema34_stepper(h=75, shaft=12.7, shaft_len=32)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
//!nema34_stepper();
|
//!nema34_stepper();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue