KiCad Pcbnew Python Scripting
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
pcbnew.NETINFO_ITEM Class Reference
Inheritance diagram for pcbnew.NETINFO_ITEM:
Inheritance graph

Public Member Functions

def __init__ (self, args)
def ClassOf (aItem)
def GetClass (self)
def GetPosition (self)
def SetPosition (self, aPos)
def SetClass (self, aNetClass)
def GetNetClass (self)
def GetClassName (self)
def GetTrackWidth (self)
def GetViaSize (self)
def GetMicroViaSize (self)
def GetViaDrillSize (self)
def GetMicroViaDrillSize (self)
def GetClearance (self, aBoardItem)
def Draw (self, panel, DC, aDrawMode, offset)
def GetNet (self)
def SetNetCode (self, aNetCode)
def GetNetname (self)
def GetShortNetname (self)
def IsCurrent (self)
def SetIsCurrent (self, isCurrent)
def GetMsgPanelInfo (self, aUnits, aList)
def Clear (self)
def GetParent (self)
- Public Member Functions inherited from pcbnew.BOARD_ITEM
def __init__ (self, args, kwargs)
def GetPosition (self)
def GetCenter (self)
def SetPosition (self, aPos)
def IsConnected (self)
def Next (self)
def Back (self)
def GetParent (self)
def GetLayer (self)
def GetLayerSet (self)
def SetLayer (self, aLayer)
def Draw (self, args)
def SwapData (self, aImage)
def IsOnLayer (self, aLayer)
def IsTrack (self)
def IsLocked (self)
def SetLocked (self, aLocked)
def UnLink (self)
def DeleteStructure (self)
def ShowShape (aShape)
def Move (self, args)
def Rotate (self, args)
def Flip (self, args)
def GetBoard (self)
def GetLayerName (self)
def HitTest (self, args)
def ViewGetLayers (self, aLayers, aCount)
def TransformShapeWithClearanceToPolygon (self, aCornerBuffer, aClearanceValue, aCircleToSegmentsCount, aCorrectionFactor, ignoreLineWidth=False)
def Cast (self)
def Duplicate (self)
def SetPos (self, p)
def SetStartEnd (self, start, end)
- Public Member Functions inherited from pcbnew.EDA_ITEM
def __init__ (self, args, kwargs)
def Type (self)
def SetTimeStamp (self, aNewTimeStamp)
def GetTimeStamp (self)
def Next (self)
def Back (self)
def GetParent (self)
def GetList (self)
def SetParent (self, aParent)
def SetList (self, aList)
def IsNew (self)
def IsModified (self)
def IsMoving (self)
def IsDragging (self)
def IsWireImage (self)
def IsSelected (self)
def IsResized (self)
def IsHighlighted (self)
def IsBrightened (self)
def SetWireImage (self)
def SetSelected (self)
def SetHighlighted (self)
def SetBrightened (self)
def ClearSelected (self)
def ClearHighlighted (self)
def ClearBrightened (self)
def SetModified (self)
def GetState (self, type)
def SetState (self, type, state)
def GetStatus (self)
def SetStatus (self, aStatus)
def SetFlags (self, aMask)
def ClearFlags (self, aMask=-1)
def GetFlags (self)
def IsType (self, aScanTypes)
def SetForceVisible (self, aEnable)
def GetMsgPanelInfo (self, aUnits, aList)
def HitTest (self, aPosition)
def GetBoundingBox (self)
def Clone (self)
def IterateForward (listStart, inspector, testData, scanTypes)
def Visit (self, inspector, testData, scanTypes)
def GetClass (self)
def GetSelectMenuText (self, aUnits)
def GetMenuImage (self)
def Matches (self, aSearchData, aAuxData, aFindLocation)
def Replace (self, args)
def IsReplaceable (self)
def __lt__ (self, aItem)
def Sort (aLeft, aRight)
def ViewBBox (self)
def ViewGetLayers (self, aLayers, aCount)

Public Attributes


Static Public Attributes

 ClassOf = staticmethod(ClassOf)
- Static Public Attributes inherited from pcbnew.BOARD_ITEM
 ShowShape = staticmethod(ShowShape)
- Static Public Attributes inherited from pcbnew.EDA_ITEM
 IterateForward = staticmethod(IterateForward)
 Sort = staticmethod(Sort)

Detailed Description

Proxy of C++ NETINFO_ITEM class.

Definition at line 16725 of file

Constructor & Destructor Documentation

def pcbnew.NETINFO_ITEM.__init__ (   self,
__init__(NETINFO_ITEM self, BOARD aParent, wxString aNetName, int aNetCode=-1) -> NETINFO_ITEM
__init__(NETINFO_ITEM self, BOARD aParent, wxString aNetName) -> NETINFO_ITEM
__init__(NETINFO_ITEM self, BOARD aParent) -> NETINFO_ITEM

Definition at line 16738 of file

Member Function Documentation

def pcbnew.NETINFO_ITEM.ClassOf (   aItem)
ClassOf(EDA_ITEM aItem) -> bool

Definition at line 16752 of file

def pcbnew.NETINFO_ITEM.Clear (   self)
Clear(NETINFO_ITEM self)

Definition at line 16860 of file

def pcbnew.NETINFO_ITEM.Draw (   self,
Draw(NETINFO_ITEM self, EDA_DRAW_PANEL * panel, wxDC * DC, GR_DRAWMODE aDrawMode, wxPoint offset)

Definition at line 16820 of file

def pcbnew.NETINFO_ITEM.GetClass (   self)
GetClass(NETINFO_ITEM self) -> wxString

Definition at line 16760 of file

def pcbnew.NETINFO_ITEM.GetClassName (   self)
GetClassName(NETINFO_ITEM self) -> wxString

Definition at line 16785 of file

def pcbnew.NETINFO_ITEM.GetClearance (   self,
GetClearance(NETINFO_ITEM self, BOARD_ITEM aBoardItem) -> int

Definition at line 16815 of file

def pcbnew.NETINFO_ITEM.GetMicroViaDrillSize (   self)
GetMicroViaDrillSize(NETINFO_ITEM self) -> int

Definition at line 16810 of file

def pcbnew.NETINFO_ITEM.GetMicroViaSize (   self)
GetMicroViaSize(NETINFO_ITEM self) -> int

Definition at line 16800 of file

def pcbnew.NETINFO_ITEM.GetMsgPanelInfo (   self,
GetMsgPanelInfo(NETINFO_ITEM self, EDA_UNITS_T aUnits, std::vector< MSG_PANEL_ITEM,std::allocator< MSG_PANEL_ITEM > > & aList)

Definition at line 16855 of file

def pcbnew.NETINFO_ITEM.GetNet (   self)
GetNet(NETINFO_ITEM self) -> int

Definition at line 16825 of file

def pcbnew.NETINFO_ITEM.GetNetClass (   self)

Definition at line 16780 of file

def pcbnew.NETINFO_ITEM.GetNetname (   self)
GetNetname(NETINFO_ITEM self) -> wxString

Definition at line 16835 of file

def pcbnew.NETINFO_ITEM.GetParent (   self)
GetParent(NETINFO_ITEM self) -> BOARD

Definition at line 16865 of file

def pcbnew.NETINFO_ITEM.GetPosition (   self)
GetPosition(NETINFO_ITEM self) -> wxPoint

Definition at line 16765 of file

def pcbnew.NETINFO_ITEM.GetShortNetname (   self)
GetShortNetname(NETINFO_ITEM self) -> wxString

Definition at line 16840 of file

def pcbnew.NETINFO_ITEM.GetTrackWidth (   self)
GetTrackWidth(NETINFO_ITEM self) -> int

Definition at line 16790 of file

def pcbnew.NETINFO_ITEM.GetViaDrillSize (   self)
GetViaDrillSize(NETINFO_ITEM self) -> int

Definition at line 16805 of file

def pcbnew.NETINFO_ITEM.GetViaSize (   self)
GetViaSize(NETINFO_ITEM self) -> int

Definition at line 16795 of file

def pcbnew.NETINFO_ITEM.IsCurrent (   self)
IsCurrent(NETINFO_ITEM self) -> bool

Definition at line 16845 of file

def pcbnew.NETINFO_ITEM.SetClass (   self,
SetClass(NETINFO_ITEM self, NETCLASSPTR const & aNetClass)

Definition at line 16775 of file

def pcbnew.NETINFO_ITEM.SetIsCurrent (   self,
SetIsCurrent(NETINFO_ITEM self, bool isCurrent)

Definition at line 16850 of file

def pcbnew.NETINFO_ITEM.SetNetCode (   self,
SetNetCode(NETINFO_ITEM self, int aNetCode)

Definition at line 16830 of file

def pcbnew.NETINFO_ITEM.SetPosition (   self,
SetPosition(NETINFO_ITEM self, wxPoint aPos)

Definition at line 16770 of file

Member Data Documentation

pcbnew.NETINFO_ITEM.ClassOf = staticmethod(ClassOf)

Definition at line 16757 of file


Definition at line 16748 of file

The documentation for this class was generated from the following file: