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 MarkItemNetAsDirty (self, aItem)
 
def SetProgressReporter (self, aReporter)
 

Public Attributes

 this
 

Detailed Description

Proxy of C++ CONNECTIVITY_DATA class.

Definition at line 11173 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 11184 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 11203 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 11336 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 11195 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 11238 of file pcbnew.py.

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

Definition at line 11218 of file pcbnew.py.

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

Definition at line 11295 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 11305 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 11243 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 11315 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 11282 of file pcbnew.py.

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

Definition at line 11277 of file pcbnew.py.

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

Definition at line 11341 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 11310 of file pcbnew.py.

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

Definition at line 11223 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 11323 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 11261 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 11269 of file pcbnew.py.

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

Definition at line 11228 of file pcbnew.py.

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

Definition at line 11256 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 11290 of file pcbnew.py.

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

Definition at line 11300 of file pcbnew.py.

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

Definition at line 11346 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 11328 of file pcbnew.py.

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

Definition at line 11233 of file pcbnew.py.

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

Definition at line 11251 of file pcbnew.py.

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

Definition at line 11208 of file pcbnew.py.

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

Definition at line 11351 of file pcbnew.py.

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

Definition at line 11213 of file pcbnew.py.

Member Data Documentation

pcbnew.CONNECTIVITY_DATA.this

Definition at line 11193 of file pcbnew.py.


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