| 
    KiCad Pcbnew Python Scripting
    
   | 
 

Public Member Functions | |
| __init__ (self, *args, **kwargs) | |
| CopyFrom (self, aOther) | |
| IsGroupableType (self) | |
| GetX (self) | |
| GetY (self) | |
| GetCenter (self) | |
| SetX (self, aX) | |
| SetY (self, aY) | |
| IsConnected (self) | |
| Similarity (self, aItem) | |
| __eq__ (self, aItem) | |
| IsOnCopperLayer (self) | |
| HasHole (self) | |
| HasDrilledHole (self) | |
| IsTented (self, aLayer) | |
| GetEffectiveShape (self, *args) | |
| GetEffectiveHoleShape (self) | |
| RunOnChildren (self, aFunction, aMode) | |
| GetParent (self) | |
| GetParentFootprint (self) | |
| GetFPRelativePosition (self) | |
| SetFPRelativePosition (self, aPos) | |
| HasLineStroke (self) | |
| GetStroke (self) | |
| SetStroke (self, aStroke) | |
| GetFontMetrics (self) | |
| GetLayer (self) | |
| BoardLayerCount (self) | |
| BoardCopperLayerCount (self) | |
| BoardLayerSet (self) | |
| GetLayerSet (self) | |
| SetLayerSet (self, aLayers) | |
| IsSideSpecific (self) | |
| SetLayer (self, aLayer) | |
| Duplicate (self, addToParentGroup, aCommit=None) | |
| SwapItemData (self, aImage) | |
| IsOnLayer (self, aLayer) | |
| IsKnockout (self) | |
| SetIsKnockout (self, aKnockout) | |
| GetMaxError (self) | |
| StyleFromSettings (self, settings, aCheckSide) | |
| DeleteStructure (self) | |
| Move (self, aMoveVector) | |
| Rotate (self, aRotCentre, aAngle) | |
| Flip (self, aCentre, aFlipDirection) | |
| Mirror (self, aCentre, aFlipDirection) | |
| Normalize (self) | |
| NormalizeForCompare (self) | |
| GetBoard (self, *args) | |
| GetParentAsString (self) | |
| GetLayerName (self) | |
| TransformShapeToPolygon (self, aBuffer, aLayer, aClearance, aError, aErrorLoc, ignoreLineWidth=False) | |
| TransformShapeToPolySet (self, aBuffer, aLayer, aClearance, aError, aErrorLoc) | |
| LayerMaskDescribe (self) | |
| Cast (self) | |
| Duplicate (self) | |
| SetPos (self, p) | |
| SetStartEnd (self, start, end) | |
  Public Member Functions inherited from pcbnew.EDA_ITEM | |
| __init__ (self, *args, **kwargs) | |
| Type (self) | |
| SetParent (self, aParent) | |
| SetParentGroup (self, aGroup) | |
| GetParentGroup (self) | |
| GetParentGroupId (self) | |
| IsLocked (self) | |
| SetLocked (self, aLocked) | |
| IsModified (self) | |
| IsNew (self) | |
| IsMoving (self) | |
| IsSelected (self) | |
| IsEntered (self) | |
| IsBrightened (self) | |
| IsRollover (self) | |
| SetIsRollover (self, aIsRollover) | |
| SetSelected (self) | |
| SetBrightened (self) | |
| ClearSelected (self) | |
| ClearBrightened (self) | |
| SetModified (self) | |
| SetFlags (self, aMask) | |
| XorFlags (self, aMask) | |
| ClearFlags (self, *args) | |
| GetFlags (self) | |
| HasFlag (self, aFlag) | |
| GetEditFlags (self) | |
| ClearEditFlags (self) | |
| GetTempFlags (self) | |
| ClearTempFlags (self) | |
| RenderAsBitmap (self, aWorldScale) | |
| SetIsShownAsBitmap (self, aBitmap) | |
| IsShownAsBitmap (self) | |
| IsType (self, aScanTypes) | |
| SetForceVisible (self, aEnable) | |
| IsForceVisible (self) | |
| GetMsgPanelInfo (self, aFrame, aList) | |
| GetFriendlyName (self) | |
| HitTest (self, *args) | |
| GetBoundingBox (self) | |
| GetPosition (self) | |
| SetPosition (self, aPos) | |
| GetFocusPosition (self) | |
| GetSortPosition (self) | |
| Clone (self) | |
| Visit (self, inspector, testData, aScanTypes) | |
| GetTypeDesc (self) | |
| GetItemDescription (self, aUnitsProvider, aFull) | |
| GetMenuImage (self) | |
| Matches (self, aSearchData, aAuxData) | |
| Replace (self, *args) | |
| IsReplaceable (self) | |
| __lt__ (self, aItem) | |
| ViewBBox (self) | |
| ViewGetLayers (self) | |
| GetEmbeddedFiles (self) | |
| GetEmbeddedFonts (self) | |
| PyGetClass (self) | |
| GetClass (self) | |
Static Public Attributes | |
| DRC = _pcbnew.BOARD_ITEM_DRC | |
| INSTANCE_TO_INSTANCE = _pcbnew.BOARD_ITEM_INSTANCE_TO_INSTANCE | |
Properties | |
| thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag") | |
  Properties inherited from pcbnew.EDA_ITEM | |
| thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag") | |
| m_Uuid = property(_pcbnew.EDA_ITEM_m_Uuid_get, doc=) | |
Additional Inherited Members | |
  Static Public Member Functions inherited from pcbnew.EDA_ITEM | |
| Sort (aLeft, aRight) | |
| pcbnew.BOARD_ITEM.__eq__ | ( | self, | |
| aItem ) | 
| pcbnew.BOARD_ITEM.BoardCopperLayerCount | ( | self | ) | 
| pcbnew.BOARD_ITEM.BoardLayerCount | ( | self | ) | 
| pcbnew.BOARD_ITEM.BoardLayerSet | ( | self | ) | 
| pcbnew.BOARD_ITEM.CopyFrom | ( | self, | |
| aOther ) | 
| pcbnew.BOARD_ITEM.DeleteStructure | ( | self | ) | 
| pcbnew.BOARD_ITEM.Duplicate | ( | self | ) | 
Reimplemented in pcbnew.FOOTPRINT.
| pcbnew.BOARD_ITEM.Duplicate | ( | self, | |
| addToParentGroup, | |||
| aCommit = None ) | 
Duplicate(BOARD_ITEM self, bool addToParentGroup, BOARD_COMMIT * aCommit=None) -> BOARD_ITEM
Reimplemented in pcbnew.FOOTPRINT.
| pcbnew.BOARD_ITEM.Flip | ( | self, | |
| aCentre, | |||
| aFlipDirection ) | 
| pcbnew.BOARD_ITEM.GetBoard | ( | self, | |
| * | args ) | 
| pcbnew.BOARD_ITEM.GetCenter | ( | self | ) | 
| pcbnew.BOARD_ITEM.GetEffectiveHoleShape | ( | self | ) | 
| pcbnew.BOARD_ITEM.GetEffectiveShape | ( | self, | |
| * | args ) | 
GetEffectiveShape(BOARD_ITEM self, PCB_LAYER_ID aLayer=UNDEFINED_LAYER, FLASHING aFlash=DEFAULT) -> std::shared_ptr< SHAPE >
Reimplemented in pcbnew.FOOTPRINT, pcbnew.PAD, pcbnew.PCB_ARC, pcbnew.PCB_DIMENSION_BASE, pcbnew.PCB_GROUP, pcbnew.PCB_MARKER, pcbnew.PCB_REFERENCE_IMAGE, pcbnew.PCB_SHAPE, pcbnew.PCB_TABLE, pcbnew.PCB_TARGET, pcbnew.PCB_TEXT, pcbnew.PCB_TEXTBOX, pcbnew.PCB_TRACK, pcbnew.PCB_VIA, and pcbnew.ZONE.
| pcbnew.BOARD_ITEM.GetFontMetrics | ( | self | ) | 
| pcbnew.BOARD_ITEM.GetFPRelativePosition | ( | self | ) | 
| pcbnew.BOARD_ITEM.GetLayer | ( | self | ) | 
| pcbnew.BOARD_ITEM.GetLayerName | ( | self | ) | 
GetLayerName(BOARD_ITEM self) -> wxString
Reimplemented in pcbnew.BOARD.
| pcbnew.BOARD_ITEM.GetLayerSet | ( | self | ) | 
| pcbnew.BOARD_ITEM.GetMaxError | ( | self | ) | 
| pcbnew.BOARD_ITEM.GetParent | ( | self | ) | 
GetParent(BOARD_ITEM self) -> BOARD_ITEM_CONTAINER
Reimplemented from pcbnew.EDA_ITEM.
Reimplemented in pcbnew.NETINFO_ITEM.
| pcbnew.BOARD_ITEM.GetParentAsString | ( | self | ) | 
| pcbnew.BOARD_ITEM.GetParentFootprint | ( | self | ) | 
| pcbnew.BOARD_ITEM.GetStroke | ( | self | ) | 
| pcbnew.BOARD_ITEM.GetX | ( | self | ) | 
| pcbnew.BOARD_ITEM.GetY | ( | self | ) | 
| pcbnew.BOARD_ITEM.HasDrilledHole | ( | self | ) | 
| pcbnew.BOARD_ITEM.HasHole | ( | self | ) | 
| pcbnew.BOARD_ITEM.HasLineStroke | ( | self | ) | 
| pcbnew.BOARD_ITEM.IsConnected | ( | self | ) | 
| pcbnew.BOARD_ITEM.IsGroupableType | ( | self | ) | 
| pcbnew.BOARD_ITEM.IsKnockout | ( | self | ) | 
| pcbnew.BOARD_ITEM.IsOnCopperLayer | ( | self | ) | 
| pcbnew.BOARD_ITEM.IsOnLayer | ( | self, | |
| aLayer ) | 
| pcbnew.BOARD_ITEM.IsSideSpecific | ( | self | ) | 
| pcbnew.BOARD_ITEM.IsTented | ( | self, | |
| aLayer ) | 
| pcbnew.BOARD_ITEM.LayerMaskDescribe | ( | self | ) | 
| pcbnew.BOARD_ITEM.Mirror | ( | self, | |
| aCentre, | |||
| aFlipDirection ) | 
| pcbnew.BOARD_ITEM.Move | ( | self, | |
| aMoveVector ) | 
| pcbnew.BOARD_ITEM.Normalize | ( | self | ) | 
| pcbnew.BOARD_ITEM.NormalizeForCompare | ( | self | ) | 
| pcbnew.BOARD_ITEM.Rotate | ( | self, | |
| aRotCentre, | |||
| aAngle ) | 
| pcbnew.BOARD_ITEM.RunOnChildren | ( | self, | |
| aFunction, | |||
| aMode ) | 
| pcbnew.BOARD_ITEM.SetFPRelativePosition | ( | self, | |
| aPos ) | 
| pcbnew.BOARD_ITEM.SetIsKnockout | ( | self, | |
| aKnockout ) | 
| pcbnew.BOARD_ITEM.SetLayer | ( | self, | |
| aLayer ) | 
| pcbnew.BOARD_ITEM.SetLayerSet | ( | self, | |
| aLayers ) | 
| pcbnew.BOARD_ITEM.SetStroke | ( | self, | |
| aStroke ) | 
| pcbnew.BOARD_ITEM.SetX | ( | self, | |
| aX ) | 
SetX(BOARD_ITEM self, int aX)
Reimplemented in pcbnew.PAD.
| pcbnew.BOARD_ITEM.SetY | ( | self, | |
| aY ) | 
SetY(BOARD_ITEM self, int aY)
Reimplemented in pcbnew.PAD.
| pcbnew.BOARD_ITEM.Similarity | ( | self, | |
| aItem ) | 
| pcbnew.BOARD_ITEM.StyleFromSettings | ( | self, | |
| settings, | |||
| aCheckSide ) | 
| pcbnew.BOARD_ITEM.SwapItemData | ( | self, | |
| aImage ) | 
| pcbnew.BOARD_ITEM.TransformShapeToPolygon | ( | self, | |
| aBuffer, | |||
| aLayer, | |||
| aClearance, | |||
| aError, | |||
| aErrorLoc, | |||
| ignoreLineWidth = False ) | 
TransformShapeToPolygon(BOARD_ITEM self, SHAPE_POLY_SET aBuffer, PCB_LAYER_ID aLayer, int aClearance, int aError, ERROR_LOC aErrorLoc, bool ignoreLineWidth=False)
Reimplemented in pcbnew.PAD, pcbnew.PCB_DIMENSION_BASE, pcbnew.PCB_SHAPE, pcbnew.PCB_TABLE, pcbnew.PCB_TARGET, pcbnew.PCB_TEXT, pcbnew.PCB_TEXTBOX, pcbnew.PCB_TRACK, and pcbnew.ZONE.
| pcbnew.BOARD_ITEM.TransformShapeToPolySet | ( | self, | |
| aBuffer, | |||
| aLayer, | |||
| aClearance, | |||
| aError, | |||
| aErrorLoc ) | 
      
  | 
  static | 
      
  | 
  static |