kigadgets.track

Module Contents

Classes

Track

All BOARD_CONNECTED_ITEMs should inherit this.

class kigadgets.track.Track(start, end, layer='F.Cu', width=None, board=None)

Bases: kigadgets.item.HasConnection, kigadgets.item.HasLayer, kigadgets.item.HasWidth, kigadgets.item.Selectable, kigadgets.item.BoardItem

Inheritance diagram of kigadgets.track.Track

All BOARD_CONNECTED_ITEMs should inherit this.

property start
property end
property net_name
property net_code
property layer
property width
property is_selected
property native_obj
property board
delete()
geohash()
select(value=True)

Selecting changes the appearance and also plays a role in determining what will be the subject of a subsequent command (delete, move to layer, etc.)

deselect()
brighten(value=True)

Brightening gives a bright green appearance

classmethod wrap(instance)