draw(pin_beg--(pin_beg+(dist,0))--(pin_beg.x + dist,pin_end.y)
--pin_end, line);
} else {
- write("Error, unrecognized wire type",type);
+ write("Error, unrecognized wire type ",type);
}
}
}
draw(ctxt, txtahead(pin_beg--pin_end));
draw(ctxt, txtahead(reverse(pin_beg--pin_end)));
} else {
- write("Error, unrecognized ctext type",type);
+ write("Error, unrecognized ctext type ",type);
}
label(ctxt, txt, 0.5(pin_beg+pin_end));
add(currentpicture, ctxt);
pMisc.push((2rstlth,-rstlth)--(5.5rstlth,rstlth));
pMisc.push(miscahead((2rstlth,-rstlth)--(5.5rstlth,rstlth)));
} else {
- write("Error, unrecognized resistor type",type);
+ write("Error, unrecognized resistor type ",type);
}
term = TwoTerminal(beg, 7rstlth, ang, .8rstlth, .8rstlth, name, val, pLine, pMisc);
if (draw == true)
pLine = pLine{S}..{N}(5coil,0)--(6coil,0);
// the original makecirc changed labelangle to ang-180
} else {
- write("Error, unrecognized inductor type",type);
+ write("Error, unrecognized inductor type ",type);
}
term = TwoTerminal(beg, 6coil, ang, coil, coil, name, val, pLine);
// the original makecirc used .5coil for lcharv
pLine.push((3platsep,-2.5platsep)--(3platsep,2.5platsep));
pLine.push((4.5platsep,-2.5platsep)..(4platsep,0)..(4.5platsep,2.5platsep));
} else {
- write("Error, unrecognized capacitor type",type);
+ write("Error, unrecognized capacitor type ",type);
}
term = TwoTerminal(beg, 7platsep, ang, 2.5platsep, 2.5platsep, name, val, pLine, pMisc);
if (draw == true)
pMisc.push(fullhead(pMisc[0], 0.4diodeht, 30));
pMisc.push(fullhead(pMisc[1], 0.4diodeht, 30));
} else {
- write("Error, unrecognized capacitor type",type);
+ write("Error, unrecognized capacitor type ",type);
}
term = TwoTerminal(beg, 3diodeht, ang, lchar, lcharv, name, val,pLine,pMisc);
if (draw == true)
} else if (type==NC) {
pLine.push((0.7ssep,0)--(2ssep,ssep/3));
} else {
- write("Error, unrecognized switchSPST type",type);
+ write("Error, unrecognized switchSPST type ",type);
}
term = TwoTerminal(beg, 2.4ssep, ang, lchar, lcharv, name, val, pLine,pMisc);
if (draw == true)