Drawsegment

class kicad.pcbnew.Drawsegment(drawsegment)
get_native()

Get native object from the low level API

Returns:pcbnew.DRAWSEGMENT
is_highlighted

is highlighted?

Returns:bool
is_locked

is locked?

Returns:bool
is_selected

is selected?

Returns:bool
layer

layer of the drawsegment

Returns:kicad.pcbnew.Layer
layers

All layers where the item is present on

Returns:kicad.pcbnew.LayerSet
width

Width of line in mm

Returns:float

Arc

class kicad.pcbnew.Arc(arc)
angle

angle of arc in degree

Returns:float
center

Center point of arc

Returns:kicad.util.Point2D
get_native()

Get native object from the low level API

Returns:pcbnew.DRAWSEGMENT
is_highlighted

is highlighted?

Returns:bool
is_locked

is locked?

Returns:bool
is_selected

is selected?

Returns:bool
layer

layer of the drawsegment

Returns:kicad.pcbnew.Layer
layers

All layers where the item is present on

Returns:kicad.pcbnew.LayerSet
start

Start point of arc

Returns:kicad.util.Point2D
width

Width of line in mm

Returns:float

Circle

class kicad.pcbnew.Circle(circle)
center

Center point of circle

Returns:kicad.util.Point2D
diameter

Diameter of circle

Returns:float
get_native()

Get native object from the low level API

Returns:pcbnew.DRAWSEGMENT
is_highlighted

is highlighted?

Returns:bool
is_locked

is locked?

Returns:bool
is_selected

is selected?

Returns:bool
layer

layer of the drawsegment

Returns:kicad.pcbnew.Layer
layers

All layers where the item is present on

Returns:kicad.pcbnew.LayerSet
radius

Radius of circle

Returns:float
width

Width of line in mm

Returns:float

Line

class kicad.pcbnew.Line(line)
end

End point of line

Returns:kicad.util.Point2D
get_native()

Get native object from the low level API

Returns:pcbnew.DRAWSEGMENT
is_highlighted

is highlighted?

Returns:bool
is_locked

is locked?

Returns:bool
is_selected

is selected?

Returns:bool
layer

layer of the drawsegment

Returns:kicad.pcbnew.Layer
layers

All layers where the item is present on

Returns:kicad.pcbnew.LayerSet
start

Start point of line

Returns:kicad.util.Point2D
width

Width of line in mm

Returns:float

Polygon

class kicad.pcbnew.Polygon(polygon)
get_native()

Get native object from the low level API

Returns:pcbnew.DRAWSEGMENT
is_highlighted

is highlighted?

Returns:bool
is_locked

is locked?

Returns:bool
is_selected

is selected?

Returns:bool
layer

layer of the drawsegment

Returns:kicad.pcbnew.Layer
layers

All layers where the item is present on

Returns:kicad.pcbnew.LayerSet
width

Width of line in mm

Returns:float