Compound Elements¶
Several compound elements defined based on other basic elements.
Optocoupler¶
schemdraw.elements.compound.Optocoupler can be drawn with or without a base contact.
Optocoupler
Optocoupler(base=True)
Relay¶
schemdraw.elements.compound.Relay can be drawn with different options for switches and inductor solenoids.
Relay
Relay(switch=’spdt’)
Relay(swithc=’dpst’)
Relay(switch=’dpdt’)
Wheatstone¶
schemdraw.elements.compound.Wheatstone can be drawn with or without the output voltage taps.
The labels argument specifies a list of labels for each resistor.
Wheatstone
Wheatstone(vout=True)
Rectifier¶
schemdraw.elements.compound.Rectifier draws four diodes at 45 degree angles.
The labels argument specifies a list of labels for each diode.
Rectifier