Fix YokeHeight Variable
Fixed YokeHeight Variable Also broke out wire channel diameter.
This commit is contained in:
@@ -28,7 +28,7 @@ $fa= ($preview) ? $fa : render_fa;
|
|||||||
// Bobbin
|
// Bobbin
|
||||||
Bobbin_Length=LegLength+CoreGap/2;
|
Bobbin_Length=LegLength+CoreGap/2;
|
||||||
|
|
||||||
module bobbin_joiners(ld=LegDiameter, ll=LegLength, lb=12.14, tg=CoreGap, lc=.15, t=.4, sn=NumberCoils+1, st=.6, sd=50, plug=true, clear=false) {
|
module bobbin_joiners(ld=LegDiameter, ll=LegLength, lb=YokeHeight, tg=CoreGap, lc=.15, t=.4, sn=NumberCoils+1, st=.6, sd=50, plug=true, clear=false) {
|
||||||
bl=2*(ll-lb) + tg;
|
bl=2*(ll-lb) + tg;
|
||||||
conThick = 12;
|
conThick = 12;
|
||||||
conWidth = 15;
|
conWidth = 15;
|
||||||
@@ -47,7 +47,7 @@ module bobbin_joiners(ld=LegDiameter, ll=LegLength, lb=12.14, tg=CoreGap, lc=.15
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
module bobbin(ld=LegDiameter, ll=LegLength, lb=12.14, tg=CoreGap, lc=.15, t=.4, sn=NumberCoils+1, st=.6, sd=50, orient=ORIENT_X, align=V_CENTER) {
|
module bobbin(ld=LegDiameter, ll=LegLength, lb=YokeHeight, tg=CoreGap, lc=.15, t=.4, sn=NumberCoils+1, st=.6, sd=50, wcd=3, orient=ORIENT_X, align=V_CENTER) {
|
||||||
bl=2*(ll-lb) + tg;
|
bl=2*(ll-lb) + tg;
|
||||||
inner=ld+2*lc;
|
inner=ld+2*lc;
|
||||||
outer=inner+2;
|
outer=inner+2;
|
||||||
@@ -71,7 +71,7 @@ module bobbin(ld=LegDiameter, ll=LegLength, lb=12.14, tg=CoreGap, lc=.15, t=.4,
|
|||||||
cylinder(d=inner,h=bl+2*conThick+2,center=true);
|
cylinder(d=inner,h=bl+2*conThick+2,center=true);
|
||||||
// Wire Channels
|
// Wire Channels
|
||||||
yspread(n=2, l=5+sd/2 )
|
yspread(n=2, l=5+sd/2 )
|
||||||
left(sd/2) cylinder(d=2,h=bl+2,center=true);
|
left(sd/2) cylinder(d=wcd,h=bl+2,center=true);
|
||||||
}
|
}
|
||||||
left(2*lc+inner/2) intersection() {
|
left(2*lc+inner/2) intersection() {
|
||||||
cylinder(d=6,h=pinLen, center=true);
|
cylinder(d=6,h=pinLen, center=true);
|
||||||
|
|||||||
Reference in New Issue
Block a user