KiCAD pcbnew 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 10225 of file pcbnew.py.

Constructor & Destructor Documentation

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

Definition at line 10234 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 10252 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 10382 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 10244 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 10287 of file pcbnew.py.

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

Definition at line 10267 of file pcbnew.py.

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

Definition at line 10341 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 10351 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 10292 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 10361 of file pcbnew.py.

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

Definition at line 10331 of file pcbnew.py.

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

Definition at line 10326 of file pcbnew.py.

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

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

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

Definition at line 10272 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 10369 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 10310 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 10318 of file pcbnew.py.

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

Definition at line 10277 of file pcbnew.py.

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

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

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

Definition at line 10346 of file pcbnew.py.

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

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

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

Definition at line 10282 of file pcbnew.py.

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

Definition at line 10300 of file pcbnew.py.

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

Definition at line 10257 of file pcbnew.py.

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

Definition at line 10397 of file pcbnew.py.

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

Definition at line 10262 of file pcbnew.py.

Member Data Documentation

pcbnew.CONNECTIVITY_DATA.this

Definition at line 10240 of file pcbnew.py.


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