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)
 
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, aItem)
 
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 10468 of file pcbnew.py.

Constructor & Destructor Documentation

def pcbnew.CONNECTIVITY_DATA.__init__ (   self)
__init__(CONNECTIVITY_DATA self) -> CONNECTIVITY_DATA

Definition at line 10477 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 10495 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 10625 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 10487 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 10530 of file pcbnew.py.

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

Definition at line 10510 of file pcbnew.py.

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

Definition at line 10584 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 10594 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 10535 of file pcbnew.py.

def pcbnew.CONNECTIVITY_DATA.GetConnectedItems (   self,
  args 
)
GetConnectedItems(CONNECTIVITY_DATA self, BOARD_CONNECTED_ITEM aItem, VECTOR2I const & 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 10604 of file pcbnew.py.

def pcbnew.CONNECTIVITY_DATA.GetConnectedPads (   self,
  aItem 
)
GetConnectedPads(CONNECTIVITY_DATA self, BOARD_CONNECTED_ITEM aItem) -> D_PADS

Definition at line 10574 of file pcbnew.py.

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

Definition at line 10569 of file pcbnew.py.

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

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

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

Definition at line 10515 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 10612 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 10553 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 10561 of file pcbnew.py.

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

Definition at line 10520 of file pcbnew.py.

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

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

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

Definition at line 10589 of file pcbnew.py.

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

Definition at line 10635 of file pcbnew.py.

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

Definition at line 10617 of file pcbnew.py.

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

Definition at line 10525 of file pcbnew.py.

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

Definition at line 10543 of file pcbnew.py.

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

Definition at line 10500 of file pcbnew.py.

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

Definition at line 10640 of file pcbnew.py.

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

Definition at line 10505 of file pcbnew.py.

Member Data Documentation

pcbnew.CONNECTIVITY_DATA.this

Definition at line 10483 of file pcbnew.py.


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