|
KiCad Pcbnew Python Scripting
|

Public Member Functions | |
| __init__ (self, *args) | |
| GetClass (self) | |
| SetStrokeExternal (self, aDoStroke) | |
| StrokeExternal (self) | |
| SetStrokeHeaderSeparator (self, aDoStroke) | |
| StrokeHeaderSeparator (self) | |
| SetBorderStroke (self, aParams) | |
| GetBorderStroke (self) | |
| SetBorderWidth (self, aWidth) | |
| GetBorderWidth (self) | |
| SetBorderStyle (self, aStyle) | |
| GetBorderStyle (self) | |
| SetBorderColor (self, aColor) | |
| GetBorderColor (self) | |
| SetSeparatorsStroke (self, aParams) | |
| GetSeparatorsStroke (self) | |
| SetSeparatorsWidth (self, aWidth) | |
| GetSeparatorsWidth (self) | |
| SetSeparatorsStyle (self, aStyle) | |
| GetSeparatorsStyle (self) | |
| SetSeparatorsColor (self, aColor) | |
| GetSeparatorsColor (self) | |
| SetStrokeColumns (self, aDoStroke) | |
| StrokeColumns (self) | |
| SetStrokeRows (self, aDoStroke) | |
| StrokeRows (self) | |
| GetEnd (self) | |
| SetPositionX (self, x) | |
| SetPositionY (self, y) | |
| GetPositionX (self) | |
| GetPositionY (self) | |
| SetColCount (self, aCount) | |
| GetColCount (self) | |
| GetRowCount (self) | |
| SetColWidth (self, aCol, aWidth) | |
| GetColWidth (self, aCol) | |
| SetRowHeight (self, aRow, aHeight) | |
| GetRowHeight (self, aRow) | |
| GetCell (self, aRow, aCol) | |
| GetCells (self) | |
| AddCell (self, aCell) | |
| InsertCell (self, aIdx, aCell) | |
| ClearCells (self) | |
| DeleteMarkedCells (self) | |
| AddNative (self, *args) | |
| RemoveNative (self, *args) | |
| Autosize (self) | |
| DrawBorders (self, aCallback) | |
| GetEffectiveShape (self, *args) | |
| TransformShapeToPolygon (self, aBuffer, aLayer, aClearance, aMaxError, aErrorLoc, aIgnoreLineWidth=False) | |
| TransformShapeToPolySet (self, aBuffer, aLayer, aClearance, aError, aErrorLoc, aRenderSettings=None) | |
| TransformGraphicItemsToPolySet (self, aBuffer, aMaxError, aErrorLoc, aRenderSettings) | |
| HitTest (self, *args) | |
| __eq__ (self, *args) | |
Public Member Functions inherited from pcbnew.BOARD_ITEM_CONTAINER | |
| __init__ (self, *args, **kwargs) | |
| DeleteNative (self, aItem) | |
| Add (self, item) | |
| Remove (self, item) | |
| Delete (self, item) | |
Public Member Functions inherited from pcbnew.BOARD_ITEM | |
| __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) | |
| 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) | |
| 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) | |
| GetRolloverPos (self) | |
| SetIsRollover (self, aIsRollover, aMousePos) | |
| SetActiveUrl (self, aUrl) | |
| 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) | |
| 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) | |
Static Public Member Functions | |
| ClassOf (aItem) | |
| Compare (aTable, aOther) | |
Static Public Member Functions inherited from pcbnew.EDA_ITEM | |
| Sort (aLeft, aRight) | |
Properties | |
| thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag") | |
Properties inherited from pcbnew.BOARD_ITEM_CONTAINER | |
| thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag") | |
Properties inherited from pcbnew.BOARD_ITEM | |
| 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 Attributes inherited from pcbnew.BOARD_ITEM | |
| DRC = _pcbnew.BOARD_ITEM_DRC | |
| INSTANCE_TO_INSTANCE = _pcbnew.BOARD_ITEM_INSTANCE_TO_INSTANCE | |
| pcbnew.PCB_TABLE.__init__ | ( | self, | |
| * | args ) |
| pcbnew.PCB_TABLE.__eq__ | ( | self, | |
| * | args ) |
| pcbnew.PCB_TABLE.AddCell | ( | self, | |
| aCell ) |
| pcbnew.PCB_TABLE.AddNative | ( | self, | |
| * | args ) |
AddNative(PCB_TABLE self, BOARD_ITEM aItem, ADD_MODE aMode=INSERT, bool aSkipConnectivity=False)
Reimplemented from pcbnew.BOARD_ITEM_CONTAINER.
| pcbnew.PCB_TABLE.Autosize | ( | self | ) |
|
static |
| pcbnew.PCB_TABLE.ClearCells | ( | self | ) |
|
static |
| pcbnew.PCB_TABLE.DeleteMarkedCells | ( | self | ) |
| pcbnew.PCB_TABLE.DrawBorders | ( | self, | |
| aCallback ) |
| pcbnew.PCB_TABLE.GetBorderColor | ( | self | ) |
| pcbnew.PCB_TABLE.GetBorderStroke | ( | self | ) |
| pcbnew.PCB_TABLE.GetBorderStyle | ( | self | ) |
| pcbnew.PCB_TABLE.GetBorderWidth | ( | self | ) |
| pcbnew.PCB_TABLE.GetCell | ( | self, | |
| aRow, | |||
| aCol ) |
| pcbnew.PCB_TABLE.GetCells | ( | self | ) |
| pcbnew.PCB_TABLE.GetClass | ( | self | ) |
GetClass(PCB_TABLE self) -> wxString
Reimplemented from pcbnew.EDA_ITEM.
| pcbnew.PCB_TABLE.GetColCount | ( | self | ) |
| pcbnew.PCB_TABLE.GetColWidth | ( | self, | |
| aCol ) |
| pcbnew.PCB_TABLE.GetEffectiveShape | ( | self, | |
| * | args ) |
GetEffectiveShape(PCB_TABLE self, PCB_LAYER_ID aLayer=UNDEFINED_LAYER, FLASHING aFlash=DEFAULT) -> std::shared_ptr< SHAPE >
Reimplemented from pcbnew.BOARD_ITEM.
| pcbnew.PCB_TABLE.GetEnd | ( | self | ) |
| pcbnew.PCB_TABLE.GetPositionX | ( | self | ) |
| pcbnew.PCB_TABLE.GetPositionY | ( | self | ) |
| pcbnew.PCB_TABLE.GetRowCount | ( | self | ) |
| pcbnew.PCB_TABLE.GetRowHeight | ( | self, | |
| aRow ) |
| pcbnew.PCB_TABLE.GetSeparatorsColor | ( | self | ) |
| pcbnew.PCB_TABLE.GetSeparatorsStroke | ( | self | ) |
| pcbnew.PCB_TABLE.GetSeparatorsStyle | ( | self | ) |
| pcbnew.PCB_TABLE.GetSeparatorsWidth | ( | self | ) |
| pcbnew.PCB_TABLE.HitTest | ( | self, | |
| * | args ) |
HitTest(PCB_TABLE self, VECTOR2I aPosition, int aAccuracy=0) -> bool
HitTest(PCB_TABLE self, BOX2I aRect, bool aContained, int aAccuracy=0) -> bool
HitTest(PCB_TABLE self, SHAPE_LINE_CHAIN aPoly, bool aContained) -> bool
Reimplemented from pcbnew.EDA_ITEM.
| pcbnew.PCB_TABLE.InsertCell | ( | self, | |
| aIdx, | |||
| aCell ) |
| pcbnew.PCB_TABLE.RemoveNative | ( | self, | |
| * | args ) |
RemoveNative(PCB_TABLE self, BOARD_ITEM aItem, REMOVE_MODE aMode=NORMAL)
Reimplemented from pcbnew.BOARD_ITEM_CONTAINER.
| pcbnew.PCB_TABLE.SetBorderColor | ( | self, | |
| aColor ) |
| pcbnew.PCB_TABLE.SetBorderStroke | ( | self, | |
| aParams ) |
| pcbnew.PCB_TABLE.SetBorderStyle | ( | self, | |
| aStyle ) |
| pcbnew.PCB_TABLE.SetBorderWidth | ( | self, | |
| aWidth ) |
| pcbnew.PCB_TABLE.SetColCount | ( | self, | |
| aCount ) |
| pcbnew.PCB_TABLE.SetColWidth | ( | self, | |
| aCol, | |||
| aWidth ) |
| pcbnew.PCB_TABLE.SetPositionX | ( | self, | |
| x ) |
| pcbnew.PCB_TABLE.SetPositionY | ( | self, | |
| y ) |
| pcbnew.PCB_TABLE.SetRowHeight | ( | self, | |
| aRow, | |||
| aHeight ) |
| pcbnew.PCB_TABLE.SetSeparatorsColor | ( | self, | |
| aColor ) |
| pcbnew.PCB_TABLE.SetSeparatorsStroke | ( | self, | |
| aParams ) |
| pcbnew.PCB_TABLE.SetSeparatorsStyle | ( | self, | |
| aStyle ) |
| pcbnew.PCB_TABLE.SetSeparatorsWidth | ( | self, | |
| aWidth ) |
| pcbnew.PCB_TABLE.SetStrokeColumns | ( | self, | |
| aDoStroke ) |
| pcbnew.PCB_TABLE.SetStrokeExternal | ( | self, | |
| aDoStroke ) |
| pcbnew.PCB_TABLE.SetStrokeHeaderSeparator | ( | self, | |
| aDoStroke ) |
| pcbnew.PCB_TABLE.SetStrokeRows | ( | self, | |
| aDoStroke ) |
| pcbnew.PCB_TABLE.StrokeColumns | ( | self | ) |
| pcbnew.PCB_TABLE.StrokeExternal | ( | self | ) |
| pcbnew.PCB_TABLE.StrokeHeaderSeparator | ( | self | ) |
| pcbnew.PCB_TABLE.StrokeRows | ( | self | ) |
| pcbnew.PCB_TABLE.TransformGraphicItemsToPolySet | ( | self, | |
| aBuffer, | |||
| aMaxError, | |||
| aErrorLoc, | |||
| aRenderSettings ) |
| pcbnew.PCB_TABLE.TransformShapeToPolygon | ( | self, | |
| aBuffer, | |||
| aLayer, | |||
| aClearance, | |||
| aMaxError, | |||
| aErrorLoc, | |||
| aIgnoreLineWidth = False ) |
TransformShapeToPolygon(PCB_TABLE self, SHAPE_POLY_SET aBuffer, PCB_LAYER_ID aLayer, int aClearance, int aMaxError, ERROR_LOC aErrorLoc, bool aIgnoreLineWidth=False)
Reimplemented from pcbnew.BOARD_ITEM.
| pcbnew.PCB_TABLE.TransformShapeToPolySet | ( | self, | |
| aBuffer, | |||
| aLayer, | |||
| aClearance, | |||
| aError, | |||
| aErrorLoc, | |||
| aRenderSettings = None ) |
TransformShapeToPolySet(PCB_TABLE self, SHAPE_POLY_SET aBuffer, PCB_LAYER_ID aLayer, int aClearance, int aError, ERROR_LOC aErrorLoc, KIGFX::RENDER_SETTINGS * aRenderSettings=None)
Reimplemented from pcbnew.BOARD_ITEM.
|
static |