Components, electrical

diode

Every option, pin and variant of diode, as release 1.3.1 of the compiler states them.

Pins

diode specimen1 component and 0 connections.D1anodecathode
diode specimen
diode with its default options, pins named.

Pin functions

PinSide
anodeleft
cathoderight

A wire names a pin as ID.pin. Rotating the part moves the pins with it; their names stay the same.

Options

Options go in square brackets after the colour, as name=value. Any option not listed here is an error.

Options

OptionAcceptsDefault
typeOne of 8 values: standard,schottky,zener,led,photodiode,varactor,scr,triacstandard
orientationOne of 4 values: right,down,left,upright

Variants

Pin names depend on the selected variant. Each drawing labels its own pins.

diode specimen1 component and 0 connections.D1anodecathode
diode specimen
type=standard

anode (left),cathode (right)

diode specimen1 component and 0 connections.D1anodecathode
diode specimen
type=schottky

anode (left),cathode (right)

diode specimen1 component and 0 connections.D1anodecathode
diode specimen
type=zener

anode (left),cathode (right)

diode specimen1 component and 0 connections.D1anodecathode
diode specimen
type=led

anode (left),cathode (right)

diode specimen1 component and 0 connections.D1anodecathode
diode specimen
type=photodiode

anode (left),cathode (right)

diode specimen1 component and 0 connections.D1anodecathode
diode specimen
type=varactor

anode (left),cathode (right)

diode specimen1 component and 0 connections.D1anodecathode
diode specimen
type=scr

anode (left),cathode (right)

diode specimen1 component and 0 connections.D1anodecathode
diode specimen
type=triac

anode (left),cathode (right)

Writing one

diode:D1 at (120, 107) #amber