KiCad Pcbnew Python Scripting
Public Member Functions | Public Attributes | List of all members
pcbnew.CONNECTIVITY_DATA Class Reference
Inheritance diagram for pcbnew.CONNECTIVITY_DATA:
Inheritance graph
[legend]

Public Member Functions

def __init__ (self, args)
 
def Build (self, args)
 
def Add (self, aItem)
 
def Remove (self, aItem)
 
def Update (self, aItem)
 
def Clear (self)
 
def GetNetCount (self)
 
def GetRatsnestForNet (self, aNet)
 
def PropagateNets (self)
 
def CheckConnectivity (self, aReport)
 
def FindIsolatedCopperIslands (self, args)
 
def RecalculateRatsnest (self)
 
def GetUnconnectedCount (self)
 
def GetNodeCount (self, aNet=-1)
 
def GetPadCount (self, aNet=-1)
 
def GetConnectedTracks (self, aItem)
 
def GetConnectedPads (self, args)
 
def GetUnconnectedEdges (self, aEdges)
 
def ClearDynamicRatsnest (self)
 
def HideDynamicRatsnest (self)
 
def ComputeDynamicRatsnest (self, aItems)
 
def GetDynamicRatsnest (self)
 
def GetConnectedItems (self, args)
 
def GetNetItems (self, aNetCode, aTypes)
 
def NearestUnconnectedTargets (self, aRef, aPos, aMaxCount=-1)
 
def BlockRatsnestItems (self, aItems)
 
def GetConnectivityAlgo (self)
 
def GetLock (self)
 
def MarkItemNetAsDirty (self, aItem)
 
def SetProgressReporter (self, aReporter)
 

Public Attributes

 this
 

Detailed Description

Proxy of C++ CONNECTIVITY_DATA class.

Definition at line 10840 of file pcbnew.py.

Constructor & Destructor Documentation

def pcbnew.CONNECTIVITY_DATA.__init__ (   self,
  args 
)
__init__(CONNECTIVITY_DATA self) -> CONNECTIVITY_DATA
__init__(CONNECTIVITY_DATA self, std::vector< BOARD_ITEM *,std::allocator< BOARD_ITEM * > > const & aItems) -> CONNECTIVITY_DATA

Definition at line 10851 of file pcbnew.py.

Member Function Documentation

def pcbnew.CONNECTIVITY_DATA.Add (   self,
  aItem 
)
Add(CONNECTIVITY_DATA self, BOARD_ITEM aItem) -> bool

Definition at line 10870 of file pcbnew.py.

def pcbnew.CONNECTIVITY_DATA.BlockRatsnestItems (   self,
  aItems 
)
BlockRatsnestItems(CONNECTIVITY_DATA self, std::vector< BOARD_ITEM *,std::allocator< BOARD_ITEM * > > const & aItems)

Definition at line 11003 of file pcbnew.py.

def pcbnew.CONNECTIVITY_DATA.Build (   self,
  args 
)
Build(CONNECTIVITY_DATA self, BOARD aBoard)
Build(CONNECTIVITY_DATA self, std::vector< BOARD_ITEM *,std::allocator< BOARD_ITEM * > > const & aItems)

Definition at line 10862 of file pcbnew.py.

def pcbnew.CONNECTIVITY_DATA.CheckConnectivity (   self,
  aReport 
)
CheckConnectivity(CONNECTIVITY_DATA self, std::vector< CN_DISJOINT_NET_ENTRY,std::allocator< CN_DISJOINT_NET_ENTRY > > & aReport) -> bool

Definition at line 10905 of file pcbnew.py.

def pcbnew.CONNECTIVITY_DATA.Clear (   self)
Clear(CONNECTIVITY_DATA self)

Definition at line 10885 of file pcbnew.py.

def pcbnew.CONNECTIVITY_DATA.ClearDynamicRatsnest (   self)
ClearDynamicRatsnest(CONNECTIVITY_DATA self)

Definition at line 10962 of file pcbnew.py.

def pcbnew.CONNECTIVITY_DATA.ComputeDynamicRatsnest (   self,
  aItems 
)
ComputeDynamicRatsnest(CONNECTIVITY_DATA self, std::vector< BOARD_ITEM *,std::allocator< BOARD_ITEM * > > const & aItems)

Definition at line 10972 of file pcbnew.py.

def pcbnew.CONNECTIVITY_DATA.FindIsolatedCopperIslands (   self,
  args 
)
FindIsolatedCopperIslands(CONNECTIVITY_DATA self, ZONE_CONTAINER aZone, intVector aIslands)
FindIsolatedCopperIslands(CONNECTIVITY_DATA self, std::vector< CN_ZONE_ISOLATED_ISLAND_LIST,std::allocator< CN_ZONE_ISOLATED_ISLAND_LIST > > & aZones)

Definition at line 10910 of file pcbnew.py.

def pcbnew.CONNECTIVITY_DATA.GetConnectedItems (   self,
  args 
)
GetConnectedItems(CONNECTIVITY_DATA self, BOARD_CONNECTED_ITEM aItem, VECTOR2I aAnchor, KICAD_T [] aTypes) -> std::vector< BOARD_CONNECTED_ITEM *,std::allocator< BOARD_CONNECTED_ITEM * > > const
GetConnectedItems(CONNECTIVITY_DATA self, BOARD_CONNECTED_ITEM aItem, KICAD_T const [] aTypes) -> std::vector< BOARD_CONNECTED_ITEM *,std::allocator< BOARD_CONNECTED_ITEM * > > const

Definition at line 10982 of file pcbnew.py.

def pcbnew.CONNECTIVITY_DATA.GetConnectedPads (   self,
  args 
)
GetConnectedPads(CONNECTIVITY_DATA self, BOARD_CONNECTED_ITEM aItem) -> D_PADS
GetConnectedPads(CONNECTIVITY_DATA self, BOARD_CONNECTED_ITEM aItem, std::set< D_PAD *,std::less< D_PAD * >,std::allocator< D_PAD * > > * pads) -> void const

Definition at line 10949 of file pcbnew.py.

def pcbnew.CONNECTIVITY_DATA.GetConnectedTracks (   self,
  aItem 
)
GetConnectedTracks(CONNECTIVITY_DATA self, BOARD_CONNECTED_ITEM aItem) -> TRACKS

Definition at line 10944 of file pcbnew.py.

def pcbnew.CONNECTIVITY_DATA.GetConnectivityAlgo (   self)
GetConnectivityAlgo(CONNECTIVITY_DATA self) -> std::shared_ptr< CN_CONNECTIVITY_ALGO >

Definition at line 11008 of file pcbnew.py.

def pcbnew.CONNECTIVITY_DATA.GetDynamicRatsnest (   self)
GetDynamicRatsnest(CONNECTIVITY_DATA self) -> std::vector< RN_DYNAMIC_LINE,std::allocator< RN_DYNAMIC_LINE > > const &

Definition at line 10977 of file pcbnew.py.

def pcbnew.CONNECTIVITY_DATA.GetLock (   self)
GetLock(CONNECTIVITY_DATA self) -> std::mutex &

Definition at line 11013 of file pcbnew.py.

def pcbnew.CONNECTIVITY_DATA.GetNetCount (   self)
GetNetCount(CONNECTIVITY_DATA self) -> int

Definition at line 10890 of file pcbnew.py.

def pcbnew.CONNECTIVITY_DATA.GetNetItems (   self,
  aNetCode,
  aTypes 
)
GetNetItems(CONNECTIVITY_DATA self, int aNetCode, KICAD_T const [] aTypes) -> std::vector< BOARD_CONNECTED_ITEM *,std::allocator< BOARD_CONNECTED_ITEM * > > const

Definition at line 10990 of file pcbnew.py.

def pcbnew.CONNECTIVITY_DATA.GetNodeCount (   self,
  aNet = -1 
)
GetNodeCount(CONNECTIVITY_DATA self, int aNet=-1) -> unsigned int
GetNodeCount(CONNECTIVITY_DATA self) -> unsigned int

Definition at line 10928 of file pcbnew.py.

def pcbnew.CONNECTIVITY_DATA.GetPadCount (   self,
  aNet = -1 
)
GetPadCount(CONNECTIVITY_DATA self, int aNet=-1) -> unsigned int
GetPadCount(CONNECTIVITY_DATA self) -> unsigned int

Definition at line 10936 of file pcbnew.py.

def pcbnew.CONNECTIVITY_DATA.GetRatsnestForNet (   self,
  aNet 
)
GetRatsnestForNet(CONNECTIVITY_DATA self, int aNet) -> RN_NET *

Definition at line 10895 of file pcbnew.py.

def pcbnew.CONNECTIVITY_DATA.GetUnconnectedCount (   self)
GetUnconnectedCount(CONNECTIVITY_DATA self) -> unsigned int

Definition at line 10923 of file pcbnew.py.

def pcbnew.CONNECTIVITY_DATA.GetUnconnectedEdges (   self,
  aEdges 
)
GetUnconnectedEdges(CONNECTIVITY_DATA self, std::vector< CN_EDGE,std::allocator< CN_EDGE > > & aEdges)

Definition at line 10957 of file pcbnew.py.

def pcbnew.CONNECTIVITY_DATA.HideDynamicRatsnest (   self)
HideDynamicRatsnest(CONNECTIVITY_DATA self)

Definition at line 10967 of file pcbnew.py.

def pcbnew.CONNECTIVITY_DATA.MarkItemNetAsDirty (   self,
  aItem 
)
MarkItemNetAsDirty(CONNECTIVITY_DATA self, BOARD_ITEM aItem)

Definition at line 11018 of file pcbnew.py.

def pcbnew.CONNECTIVITY_DATA.NearestUnconnectedTargets (   self,
  aRef,
  aPos,
  aMaxCount = -1 
)
NearestUnconnectedTargets(CONNECTIVITY_DATA self, BOARD_CONNECTED_ITEM aRef, VECTOR2I aPos, int aMaxCount=-1) -> std::vector< VECTOR2I,std::allocator< VECTOR2I > > const
NearestUnconnectedTargets(CONNECTIVITY_DATA self, BOARD_CONNECTED_ITEM aRef, VECTOR2I aPos) -> std::vector< VECTOR2I,std::allocator< VECTOR2I > > const

Definition at line 10995 of file pcbnew.py.

def pcbnew.CONNECTIVITY_DATA.PropagateNets (   self)
PropagateNets(CONNECTIVITY_DATA self)

Definition at line 10900 of file pcbnew.py.

def pcbnew.CONNECTIVITY_DATA.RecalculateRatsnest (   self)
RecalculateRatsnest(CONNECTIVITY_DATA self)

Definition at line 10918 of file pcbnew.py.

def pcbnew.CONNECTIVITY_DATA.Remove (   self,
  aItem 
)
Remove(CONNECTIVITY_DATA self, BOARD_ITEM aItem) -> bool

Definition at line 10875 of file pcbnew.py.

def pcbnew.CONNECTIVITY_DATA.SetProgressReporter (   self,
  aReporter 
)
SetProgressReporter(CONNECTIVITY_DATA self, PROGRESS_REPORTER * aReporter)

Definition at line 11023 of file pcbnew.py.

def pcbnew.CONNECTIVITY_DATA.Update (   self,
  aItem 
)
Update(CONNECTIVITY_DATA self, BOARD_ITEM aItem) -> bool

Definition at line 10880 of file pcbnew.py.

Member Data Documentation

pcbnew.CONNECTIVITY_DATA.this

Definition at line 10860 of file pcbnew.py.


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