Fixed Warning

Got a warning, had an extra l param on the joiner _clear
This commit is contained in:
2023-12-05 16:04:47 -05:00
parent 4c77428715
commit 7a5175fc35

View File

@@ -54,7 +54,7 @@ module bobbin_joiners(ld=LegDiameter, ll=LegLength, lb=12.14, tg=CoreGap, lc=.15
up((pinLen-conThick)/2) { up((pinLen-conThick)/2) {
xflip() { xflip() {
if (clear) if (clear)
half_joiner_clear(h=conWidth, w=conThick,l=conThick/2,orient=ORIENT_X_90); half_joiner_clear(h=conWidth, w=conThick,orient=ORIENT_X_90);
else if (plug) else if (plug)
half_joiner(h=conWidth, w=conThick,l=conThick/2,orient=ORIENT_X_90); half_joiner(h=conWidth, w=conThick,l=conThick/2,orient=ORIENT_X_90);
else else
@@ -86,7 +86,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=2,h=bl+2,center=true);
} }
left(2*lc+inner/2) intersection() { left(2*lc+inner/2) intersection() {