Symbol types

Examples

Types used in symbol classes.

API

Generic

class pykicadlib.symbol.types.Representation

Symbol representation.

Specific

KiCAD symbol types.

class pykicadlib.symbol.types.Bold

Text element bold.

off = 0

Normal

on = 1

Bold

class pykicadlib.symbol.types.Direction

Pin direction (flipped in opposition to KiCAD documentation).

down = 'U'

Down

left = 'R'

Left

right = 'L'

Right

up = 'D'

Up

class pykicadlib.symbol.types.Electric

Electric pin type.

bidirectional = 'B'

Bidirectional

input = 'I'

Input

not_connected = 'N'

Not connected

open_collector = 'C'

Open collector

open_emitter = 'E'

Open emitter

output = 'O'

Output

passive = 'P'

Passive

power_input = 'W'

Power input

power_output = 'w'

Power output

tristate = 'T'

Tristate

unspecified = 'U'

Unspecified

class pykicadlib.symbol.types.Field

Symbol field type.

document = 3

Document field

footprint = 2

Footprint field

manufacturer = 4

Manufacturer field

model = 8

Model field

name = 1

Name field

power = 10

Power field

reference = 0

Reference field

temperature = 7

Temperature range field

tolerance = 6

Tolerance field

value = 5

Value field

voltage = 9

Voltage field

class pykicadlib.symbol.types.Fill

Element fill.

background = 'f'

Background

foreground = 'F'

Foreground

none = 'N'

None

class pykicadlib.symbol.types.Flag

Flag normal or power symbol.

normal = 'N'

Normal symbol

power = 'P'

Power symbol

class pykicadlib.symbol.types.HJustify

Field horizontal justify.

center = 'C'

Center

left = 'L'

Left

right = 'R'

Right

class pykicadlib.symbol.types.Italic

Text element italic.

off = 'Normal'

Normal

on = 'Italic'

Italic

class pykicadlib.symbol.types.Orientation

Field orientation.

horizontal = 'H'

Horizontal orientation

vertical = 'V'

Vertical orientation

class pykicadlib.symbol.types.Representation

Symbol representation.

both = 0

Both

morgan = 2

Morgan

normal = 1

Normal

class pykicadlib.symbol.types.Shape

Pin shape.

Note: Add ‘N’ before characters, to create an invisible pin.

clock = 'C'

Clock

clock_low = 'CL'

Clock low

falling_edge_clock = 'F'

Falling-edge clock

input_low = 'L'

Input low

inverted = 'I'

Inverted

inverted_clock = 'CI'

Inverted clock

invisible = 'N'

Invisible

line = ''

Line

non_logic = 'X'

Non logic

output_low = 'V'

Output low

class pykicadlib.symbol.types.Style

Field style.

bold = 'NB'

Bold

italic = 'IN'

Italic

italic_bold = 'IB'

Italic and Bold

none = 'NN'

None

class pykicadlib.symbol.types.Units

Symbol units swappable or locked.

locked = 'L'

Locked

swappable = 'F'

Swappable

class pykicadlib.symbol.types.Visibility

Field visibility.

invisible = 'I'

Invisible

visible = 'V'

Visible

class pykicadlib.symbol.types.Visible

Symbol pin name/number visible.

no = 'N'

Not visible

yes = 'Y'

Visible

class pykicadlib.symbol.types.VJustify

Field vertical justify.

bottom = 'B'

Bottom

center = 'C'

Center

top = 'T'

Top