Box for universal motor
Needs updates to make brushes fit properly.
This commit is contained in:
@@ -4,14 +4,13 @@ use <PolyGear/shortcuts.scad>
|
||||
|
||||
|
||||
module spider_section(ir=6,or=13, l=6, lt=1, h, die=false) {
|
||||
$fn= ($preview || $fn > 60) ? $fn : 60;
|
||||
a = 360/l;
|
||||
cx=or-ir+.2;
|
||||
for (r=[0,a])
|
||||
rotate([0,0,r])
|
||||
translate([ir+cx/2-.2,0,0]) cube([cx, die ? lt+.2 : lt, h], center=true);
|
||||
if (die) {
|
||||
RiS(R=or, r=0, h=h, w1=0, w2=60, center=true, D=undef, d=undef);
|
||||
RiS(R=or, r=0, h=h, w1=0, w2=60);
|
||||
Ri(R=ir+.4, r=0, h=h);
|
||||
} else {
|
||||
Ri(R=ir, r=ir-lt, h=h);
|
||||
@@ -36,7 +35,10 @@ module lovejoy(ph=5, jh=3) {
|
||||
}
|
||||
}
|
||||
|
||||
$fs= ($preview || $fn > 2) ? $fn : .1;
|
||||
if (! $preview) {
|
||||
$fs= .1;
|
||||
$fn= 60;
|
||||
}
|
||||
color("pink")
|
||||
lovejoy() translate([0,0,-6]) cylinder(r=2, h=12, $fn=4, center=true);
|
||||
color("green")
|
||||
|
||||
Reference in New Issue
Block a user