kigadgets.item¶
Module Contents¶
Classes¶
Board items that has valid position property should inherit |
|
Board items that has orientation property should inherit this. |
|
Layer handling based on strings like 'F.Cu', 'B.Silkscreen', 'User.12', etc. |
|
All BOARD_CONNECTED_ITEMs should inherit this. |
|
This influences the main window. Make sure to pcbnew.Refresh() to see it |
|
Base class for items with text-like properties |
- class kigadgets.item.BoardItem¶
Bases:
_ABC
- property native_obj¶
- property board¶
- classmethod wrap(instance)¶
- geohash()¶
- class kigadgets.item.HasPosition¶
Bases:
_ABC
Board items that has valid position property should inherit this.
- property position¶
- property x¶
- property y¶
- geohash()¶
- class kigadgets.item.HasOrientation¶
Bases:
_ABC
Board items that has orientation property should inherit this.
- property orientation¶
Rotation of the item in degrees.
- geohash()¶
- class kigadgets.item.HasLayer¶
Bases:
_ABC
Layer handling based on strings like ‘F.Cu’, ‘B.Silkscreen’, ‘User.12’, etc. If the layer is not present, it will be caught at runtime, rather than disallowed.
- property layer¶
- geohash()¶
- class kigadgets.item.HasConnection¶
Bases:
_ABC
All BOARD_CONNECTED_ITEMs should inherit this.
- property net_name¶
- property net_code¶
- geohash()¶
- class kigadgets.item.Selectable¶
Bases:
_ABC
This influences the main window. Make sure to pcbnew.Refresh() to see it
- property is_selected¶
- 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
- geohash()¶

