skidl.tools.kicad5.draw_objs module

KiCad 5 drawing objects.

class skidl.tools.kicad5.draw_objs.DrawArc(cx, cy, radius, start_angle, end_angle, unit, dmg, thickness, fill, startx, starty, endx, endy)

Bases: tuple

cx

Alias for field number 0

cy

Alias for field number 1

dmg

Alias for field number 6

end_angle

Alias for field number 4

endx

Alias for field number 11

endy

Alias for field number 12

fill

Alias for field number 8

radius

Alias for field number 2

start_angle

Alias for field number 3

startx

Alias for field number 9

starty

Alias for field number 10

thickness

Alias for field number 7

unit

Alias for field number 5

class skidl.tools.kicad5.draw_objs.DrawCircle(cx, cy, radius, unit, dmg, thickness, fill)

Bases: tuple

cx

Alias for field number 0

cy

Alias for field number 1

dmg

Alias for field number 4

fill

Alias for field number 6

radius

Alias for field number 2

thickness

Alias for field number 5

unit

Alias for field number 3

class skidl.tools.kicad5.draw_objs.DrawDef(name, ref, zero, name_offset, show_nums, show_names, num_units, lock_units, power_symbol)

Bases: tuple

lock_units

Alias for field number 7

name

Alias for field number 0

name_offset

Alias for field number 3

num_units

Alias for field number 6

power_symbol

Alias for field number 8

ref

Alias for field number 1

show_names

Alias for field number 5

show_nums

Alias for field number 4

zero

Alias for field number 2

class skidl.tools.kicad5.draw_objs.DrawF0(ref, x, y, size, orientation, visibility, halign, valign)

Bases: tuple

halign

Alias for field number 6

orientation

Alias for field number 4

ref

Alias for field number 0

size

Alias for field number 3

valign

Alias for field number 7

visibility

Alias for field number 5

x

Alias for field number 1

y

Alias for field number 2

class skidl.tools.kicad5.draw_objs.DrawF1(name, x, y, size, orientation, visibility, halign, valign, fieldname)

Bases: tuple

fieldname

Alias for field number 8

halign

Alias for field number 6

name

Alias for field number 0

orientation

Alias for field number 4

size

Alias for field number 3

valign

Alias for field number 7

visibility

Alias for field number 5

x

Alias for field number 1

y

Alias for field number 2

class skidl.tools.kicad5.draw_objs.DrawPin(name, num, x, y, length, orientation, num_size, name_size, unit, dmg, electrical_type, shape)

Bases: tuple

dmg

Alias for field number 9

electrical_type

Alias for field number 10

length

Alias for field number 4

name

Alias for field number 0

name_size

Alias for field number 7

num

Alias for field number 1

num_size

Alias for field number 6

orientation

Alias for field number 5

shape

Alias for field number 11

unit

Alias for field number 8

x

Alias for field number 2

y

Alias for field number 3

class skidl.tools.kicad5.draw_objs.DrawPoly(point_count, unit, dmg, thickness, points, fill)

Bases: tuple

dmg

Alias for field number 2

fill

Alias for field number 5

point_count

Alias for field number 0

points

Alias for field number 4

thickness

Alias for field number 3

unit

Alias for field number 1

class skidl.tools.kicad5.draw_objs.DrawRect(x1, y1, x2, y2, unit, dmg, thickness, fill)

Bases: tuple

dmg

Alias for field number 5

fill

Alias for field number 7

thickness

Alias for field number 6

unit

Alias for field number 4

x1

Alias for field number 0

x2

Alias for field number 2

y1

Alias for field number 1

y2

Alias for field number 3

class skidl.tools.kicad5.draw_objs.DrawText(angle, x, y, size, hidden, unit, dmg, text, italic, bold, halign, valign)

Bases: tuple

angle

Alias for field number 0

bold

Alias for field number 9

dmg

Alias for field number 6

halign

Alias for field number 10

hidden

Alias for field number 4

italic

Alias for field number 8

size

Alias for field number 3

text

Alias for field number 7

unit

Alias for field number 5

valign

Alias for field number 11

x

Alias for field number 1

y

Alias for field number 2