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

Public Member Functions

def __init__ (self, *args)
 
"bool" IsType (self, "KICAD_T const []" aScanTypes)
 
"bool" HasHole (self)
 
"FOOTPRINT *" GetParent (self)
 
"wxString" GetParentAsString (self)
 
"bool" IsLocked (self)
 
"void" ImportSettingsFrom (self, "PAD" aMasterPad)
 
"bool" IsFlipped (self)
 
"void" SetNumber (self, "wxString" aNumber)
 
"wxString const &" GetNumber (self)
 
"bool" CanHaveNumber (self)
 
"void" SetPinFunction (self, "wxString" aName)
 
"wxString const &" GetPinFunction (self)
 
"void" SetPinType (self, "wxString" aType)
 
"wxString const &" GetPinType (self)
 
"bool" SameLogicalPadAs (self, "PAD" other)
 
"bool" IsNoConnectPad (self)
 
"bool" IsFreePad (self)
 
"void" SetShape (self, "PAD_SHAPE" aShape)
 
"PAD_SHAPE" GetShape (self)
 
"void" SetPosition (self, "wxPoint" aPos)
 
"wxPoint" GetPosition (self)
 
"PAD_SHAPE" GetAnchorPadShape (self)
 
"CUST_PAD_SHAPE_IN_ZONE" GetCustomShapeInZoneOpt (self)
 
"void" SetCustomShapeInZoneOpt (self, "CUST_PAD_SHAPE_IN_ZONE" aOption)
 
"void" SetAnchorPadShape (self, "PAD_SHAPE" aShape)
 
"bool" IsOnCopperLayer (self)
 
"void" SetY (self, "int" y)
 
"void" SetX (self, "int" x)
 
"void" SetPos0 (self, "wxPoint" aPos)
 
"wxPoint const &" GetPos0 (self)
 
"void" SetY0 (self, "int" y)
 
"void" SetX0 (self, "int" x)
 
"void" SetSize (self, "wxSize" aSize)
 
"wxSize const &" GetSize (self)
 
"void" SetSizeX (self, "int const" aX)
 
"int const" GetSizeX (self)
 
"void" SetSizeY (self, "int const" aY)
 
"int const" GetSizeY (self)
 
"void" SetDelta (self, "wxSize" aSize)
 
"wxSize const &" GetDelta (self)
 
"void" SetDrillSize (self, "wxSize" aSize)
 
"wxSize const &" GetDrillSize (self)
 
"void" SetDrillSizeX (self, "int const" aX)
 
"int const" GetDrillSizeX (self)
 
"void" SetDrillSizeY (self, "int const" aY)
 
"int const" GetDrillSizeY (self)
 
"void" SetOffset (self, "wxPoint" aOffset)
 
"wxPoint const &" GetOffset (self)
 
"wxPoint" GetCenter (self)
 
"void" AddPrimitivePoly (self, *args)
 
"void" AddPrimitiveSegment (self, "wxPoint" aStart, "wxPoint" aEnd, "int" aThickness)
 
"void" AddPrimitiveCircle (self, "wxPoint" aCenter, "int" aRadius, "int" aThickness, "bool" aFilled)
 
"void" AddPrimitiveRect (self, "wxPoint" aStart, "wxPoint" aEnd, "int" aThickness, "bool" aFilled)
 
"void" AddPrimitiveArc (self, "wxPoint" aCenter, "wxPoint" aStart, "int" aArcAngle, "int" aThickness)
 
"void" AddPrimitiveCurve (self, "wxPoint" aStart, "wxPoint" aEnd, "wxPoint" aCtrl1, "wxPoint" aCtrl2, "int" aThickness)
 
"bool" GetBestAnchorPosition (self, "VECTOR2I" aPos)
 
"void" MergePrimitivesAsPolygon (self, *args)
 
"void" DeletePrimitivesList (self)
 
"std::vector< std::shared_ptr< PCB_SHAPE >,std::allocator< std::shared_ptr< PCB_SHAPE > > > const &" GetPrimitives (self)
 
"void" Flip (self, "wxPoint" aCentre, "bool" aFlipLeftRight)
 
"void" FlipPrimitives (self, "bool" aFlipLeftRight)
 
"void" ReplacePrimitives (self, "std::vector< std::shared_ptr< PCB_SHAPE >,std::allocator< std::shared_ptr< PCB_SHAPE > > > const &" aPrimitivesList)
 
"void" AppendPrimitives (self, "std::vector< std::shared_ptr< PCB_SHAPE >,std::allocator< std::shared_ptr< PCB_SHAPE > > > const &" aPrimitivesList)
 
"void" AddPrimitive (self, "PCB_SHAPE" aPrimitive)
 
"void" SetOrientation (self, "double" aAngle)
 
"void" SetOrientationDegrees (self, "double" aOrientation)
 
"double" GetOrientation (self)
 
"double" GetOrientationDegrees (self)
 
"double" GetOrientationRadians (self)
 
"void" SetDrillShape (self, "PAD_DRILL_SHAPE_T" aShape)
 
"PAD_DRILL_SHAPE_T" GetDrillShape (self)
 
"bool" IsDirty (self)
 
"void" SetDirty (self)
 
"void" SetLayerSet (self, "LSET" aLayers)
 
"LSET" GetLayerSet (self)
 
"void" SetAttribute (self, "PAD_ATTRIB" aAttribute)
 
"PAD_ATTRIB" GetAttribute (self)
 
"void" SetProperty (self, "PAD_PROP" aProperty)
 
"PAD_PROP" GetProperty (self)
 
"bool" IsAperturePad (self)
 
"void" SetPadToDieLength (self, "int" aLength)
 
"int" GetPadToDieLength (self)
 
"int" GetLocalSolderMaskMargin (self)
 
"void" SetLocalSolderMaskMargin (self, "int" aMargin)
 
"int" GetLocalClearance (self, *args)
 
"void" SetLocalClearance (self, "int" aClearance)
 
"int" GetOwnClearance (self, "PCB_LAYER_ID" aLayer, "wxString" aSource=None)
 
"int" GetLocalSolderPasteMargin (self)
 
"void" SetLocalSolderPasteMargin (self, "int" aMargin)
 
"double" GetLocalSolderPasteMarginRatio (self)
 
"void" SetLocalSolderPasteMarginRatio (self, "double" aRatio)
 
"void" TransformShapeWithClearanceToPolygon (self, "SHAPE_POLY_SET" aCornerBuffer, "PCB_LAYER_ID" aLayer, "int" aClearanceValue, "int" aMaxError, "ERROR_LOC" aErrorLoc, "bool" ignoreLineWidth=False)
 
"bool" TransformHoleWithClearanceToPolygon (self, "SHAPE_POLY_SET" aCornerBuffer, "int" aInflateValue, "int" aError, "ERROR_LOC" aErrorLoc)
 
"std::shared_ptr< SHAPE >" GetEffectiveShape (self, *args)
 
"std::shared_ptr< SHAPE_POLY_SET > const &" GetEffectivePolygon (self)
 
"SHAPE_SEGMENT const *" GetEffectiveHoleShape (self)
 
"int" GetBoundingRadius (self)
 
"int" GetLocalClearanceOverrides (self, "wxString" aSource)
 
"int" GetSolderMaskMargin (self)
 
"wxSize" GetSolderPasteMargin (self)
 
"void" SetZoneConnection (self, "ZONE_CONNECTION" aType)
 
"ZONE_CONNECTION" GetZoneConnection (self)
 
"ZONE_CONNECTION" GetEffectiveZoneConnection (self, "wxString" aSource=None)
 
"void" SetThermalSpokeWidth (self, "int" aWidth)
 
"int" GetThermalSpokeWidth (self)
 
"int" GetEffectiveThermalSpokeWidth (self, "wxString" aSource=None)
 
"void" SetThermalGap (self, "int" aGap)
 
"int" GetThermalGap (self)
 
"int" GetEffectiveThermalGap (self, "wxString" aSource=None)
 
"void" SetRoundRectCornerRadius (self, "double" aRadius)
 
"int" GetRoundRectCornerRadius (self)
 
"wxPoint" ShapePos (self)
 
"void" SetRoundRectRadiusRatio (self, "double" aRadiusScale)
 
"double" GetRoundRectRadiusRatio (self)
 
"void" SetChamferRectRatio (self, "double" aChamferScale)
 
"double" GetChamferRectRatio (self)
 
"void" SetChamferPositions (self, "int" aPositions)
 
"int" GetChamferPositions (self)
 
"int" GetSubRatsnest (self)
 
"void" SetSubRatsnest (self, "int" aSubRatsnest)
 
"void" SetRemoveUnconnected (self, "bool" aSet)
 
"bool" GetRemoveUnconnected (self)
 
"void" SetKeepTopBottom (self, "bool" aSet)
 
"bool" GetKeepTopBottom (self)
 
"void" GetMsgPanelInfo (self, "EDA_DRAW_FRAME *" aFrame, "std::vector< MSG_PANEL_ITEM,std::allocator< MSG_PANEL_ITEM > > &" aList)
 
"bool" IsOnLayer (self, "PCB_LAYER_ID" aLayer)
 
"bool" FlashLayer (self, *args)
 
"bool" HitTest (self, *args)
 
"wxString" GetClass (self)
 
"EDA_RECT const" GetBoundingBox (self)
 
"void" SetDrawCoord (self)
 
"void" SetLocalCoord (self)
 
"void" Move (self, "wxPoint" aMoveVector)
 
"void" Rotate (self, "wxPoint" aRotCentre, "double" aAngle)
 
"wxString" GetSelectMenuText (self, "EDA_UNITS" aUnits)
 
"BITMAPS" GetMenuImage (self)
 
"wxString" ShowPadShape (self)
 
"wxString" ShowPadAttr (self)
 
"EDA_ITEM *" Clone (self)
 
"PAD *" ClonePad (self)
 
"void" BuildEffectiveShapes (self, "PCB_LAYER_ID" aLayer)
 
"void" BuildEffectivePolygon (self)
 
"void" ViewGetLayers (self, "int []" aLayers, "int &" aCount)
 
"double" ViewGetLOD (self, "int" aLayer, "KIGFX::VIEW *" aView)
 
"BOX2I const" ViewBBox (self)
 
"void" SwapData (self, "BOARD_ITEM" aImage)
 
def SetPadName (self, aName)
 
def SetName (self, aName)
 
def GetPadName (self)
 
def GetName (self)
 
def AddPrimitive (self, *args)
 
def GetCustomShapeAsPolygon (self, layer=UNDEFINED_LAYER)
 
- Public Member Functions inherited from pcbnew.BOARD_CONNECTED_ITEM
def __init__ (self, *args, **kwargs)
 
"bool" IsConnected (self)
 
"NETINFO_ITEM *" GetNet (self)
 
"void" SetNet (self, "NETINFO_ITEM" aNetInfo)
 
"int" GetNetCode (self)
 
"void" SetNetCode (self, *args)
 
"wxString" GetNetname (self)
 
"wxString" GetNetnameMsg (self)
 
"wxString" GetShortNetname (self)
 
"int" GetOwnClearance (self, "PCB_LAYER_ID" aLayer, "wxString" aSource=None)
 
"int" GetLocalClearanceOverrides (self, "wxString" aSource)
 
"int" GetLocalClearance (self, "wxString" aSource)
 
"NETCLASS *" GetNetClass (self)
 
"NETCLASS *" GetEffectiveNetclass (self)
 
"wxString" GetNetClassName (self)
 
"void" SetLocalRatsnestVisible (self, "bool" aVisible)
 
"bool" GetLocalRatsnestVisible (self)
 
- Public Member Functions inherited from pcbnew.BOARD_ITEM
def __init__ (self, *args, **kwargs)
 
"void" SetParentGroup (self, "PCB_GROUP" aGroup)
 
"PCB_GROUP *" GetParentGroup (self)
 
"int" GetX (self)
 
"int" GetY (self)
 
"wxPoint" GetCenter (self)
 
"void" SetX (self, "int" aX)
 
"void" SetY (self, "int" aY)
 
"bool" IsConnected (self)
 
"bool" IsOnCopperLayer (self)
 
"std::shared_ptr< SHAPE >" GetEffectiveShape (self, *args)
 
"BOARD_ITEM_CONTAINER *" GetParent (self)
 
"BOARD_ITEM_CONTAINER *" GetParentFootprint (self)
 
"PCB_LAYER_ID" GetLayer (self)
 
"LSET" GetLayerSet (self)
 
"void" SetLayerSet (self, "LSET" aLayers)
 
"void" SetLayer (self, "PCB_LAYER_ID" aLayer)
 
"BOARD_ITEM *" Duplicate (self)
 
"void" SwapData (self, "BOARD_ITEM" aImage)
 
"bool" IsOnLayer (self, "PCB_LAYER_ID" aLayer)
 
"bool" IsTrack (self)
 
"bool" IsLocked (self)
 
"void" SetLocked (self, "bool" aLocked)
 
"void" DeleteStructure (self)
 
"void" Move (self, *args)
 
"void" Rotate (self, *args)
 
"void" Flip (self, *args)
 
"BOARD *" GetBoard (self, *args)
 
"wxString" GetLayerName (self)
 
"void" ViewGetLayers (self, "int []" aLayers, "int &" aCount)
 
"void" TransformShapeWithClearanceToPolygon (self, "SHAPE_POLY_SET" aCornerBuffer, "PCB_LAYER_ID" aLayer, "int" aClearanceValue, "int" aError, "ERROR_LOC" aErrorLoc, "bool" 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)
 
"KICAD_T" Type (self)
 
"EDA_ITEM *" GetParent (self)
 
"void" SetParent (self, "EDA_ITEM" aParent)
 
"bool" IsModified (self)
 
"bool" IsNew (self)
 
"bool" IsMoving (self)
 
"bool" IsDragging (self)
 
"bool" IsWireImage (self)
 
"bool" IsSelected (self)
 
"bool" IsEntered (self)
 
"bool" IsResized (self)
 
"bool" IsBrightened (self)
 
"void" SetWireImage (self)
 
"void" SetSelected (self)
 
"void" SetBrightened (self)
 
"void" ClearSelected (self)
 
"void" ClearBrightened (self)
 
"void" SetModified (self)
 
"int" GetState (self, "EDA_ITEM_FLAGS" type)
 
"void" SetState (self, "EDA_ITEM_FLAGS" type, "bool" state)
 
"EDA_ITEM_FLAGS" GetStatus (self)
 
"void" SetStatus (self, "EDA_ITEM_FLAGS" aStatus)
 
"void" SetFlags (self, "EDA_ITEM_FLAGS" aMask)
 
"void" ClearFlags (self, *args)
 
"EDA_ITEM_FLAGS" GetFlags (self)
 
"bool" HasFlag (self, "EDA_ITEM_FLAGS" aFlag)
 
"EDA_ITEM_FLAGS" GetEditFlags (self)
 
"void" ClearTempFlags (self)
 
"void" ClearEditFlags (self)
 
"bool" IsType (self, "KICAD_T const []" aScanTypes)
 
"void" SetForceVisible (self, "bool" aEnable)
 
"bool" IsForceVisible (self)
 
"void" GetMsgPanelInfo (self, "EDA_DRAW_FRAME *" aFrame, "std::vector< MSG_PANEL_ITEM,std::allocator< MSG_PANEL_ITEM > > &" aList)
 
"bool" HitTest (self, *args)
 
"EDA_RECT const" GetBoundingBox (self)
 
"wxPoint" GetPosition (self)
 
"void" SetPosition (self, "wxPoint" aPos)
 
"wxPoint const" GetFocusPosition (self)
 
"EDA_ITEM *" Clone (self)
 
"SEARCH_RESULT" Visit (self, "INSPECTOR" inspector, "void *" testData, "KICAD_T const []" scanTypes)
 
"wxString" GetClass (self)
 
"wxString" GetSelectMenuText (self, "EDA_UNITS" aUnits)
 
"BITMAPS" GetMenuImage (self)
 
"bool" Matches (self, "wxFindReplaceData const &" aSearchData, "void *" aAuxData)
 
"bool" Replace (self, *args)
 
"bool" IsReplaceable (self)
 
"bool" __lt__ (self, "EDA_ITEM" aItem)
 
"BOX2I const" ViewBBox (self)
 
"void" ViewGetLayers (self, "int []" aLayers, "int &" aCount)
 

Static Public Member Functions

"LSET" PTHMask ()
 
"LSET" SMDMask ()
 
"LSET" ConnSMDMask ()
 
"LSET" UnplatedHoleMask ()
 
"LSET" ApertureMask ()
 
"bool" ClassOf ("EDA_ITEM" aItem)
 
"int" Compare ("PAD" aPadRef, "PAD" aPadCmp)
 
"bool" ClassOf ("EDA_ITEM" aItem)
 
- Static Public Member Functions inherited from pcbnew.EDA_ITEM
"bool" Sort ("EDA_ITEM" aLeft, "EDA_ITEM" aRight)
 

Properties

 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
 
- Properties inherited from pcbnew.BOARD_CONNECTED_ITEM
 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
 
- Properties inherited from pcbnew.BOARD_ITEM
 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
 
- Properties inherited from pcbnew.EDA_ITEM
 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
 
 m_Uuid = property(_pcbnew.EDA_ITEM_m_Uuid_get, doc=)
 

Detailed Description

Proxy of C++ PAD class.

Definition at line 11016 of file pcbnew.py.

Constructor & Destructor Documentation

◆ __init__()

def pcbnew.PAD.__init__ (   self,
args 
)
    __init__(PAD self, FOOTPRINT parent) -> PAD
    __init__(PAD self, PAD aPad) -> PAD

Reimplemented from pcbnew.BOARD_CONNECTED_ITEM.

Definition at line 11022 of file pcbnew.py.

Here is the caller graph for this function:

Member Function Documentation

◆ AddPrimitive() [1/2]

"void" pcbnew.PAD.AddPrimitive (   self,
"PCB_SHAPE"  aPrimitive 
)
AddPrimitive(PAD self, PCB_SHAPE aPrimitive)

Definition at line 11314 of file pcbnew.py.

◆ AddPrimitive() [2/2]

def pcbnew.PAD.AddPrimitive (   self,
args 
)

Definition at line 11681 of file pcbnew.py.

◆ AddPrimitiveArc()

"void" pcbnew.PAD.AddPrimitiveArc (   self,
"wxPoint"  aCenter,
"wxPoint"  aStart,
"int"  aArcAngle,
"int"  aThickness 
)
AddPrimitiveArc(PAD self, wxPoint aCenter, wxPoint aStart, int aArcAngle, int aThickness)

Definition at line 11274 of file pcbnew.py.

Here is the caller graph for this function:

◆ AddPrimitiveCircle()

"void" pcbnew.PAD.AddPrimitiveCircle (   self,
"wxPoint"  aCenter,
"int"  aRadius,
"int"  aThickness,
"bool"  aFilled 
)
AddPrimitiveCircle(PAD self, wxPoint aCenter, int aRadius, int aThickness, bool aFilled)

Definition at line 11266 of file pcbnew.py.

Here is the caller graph for this function:

◆ AddPrimitiveCurve()

"void" pcbnew.PAD.AddPrimitiveCurve (   self,
"wxPoint"  aStart,
"wxPoint"  aEnd,
"wxPoint"  aCtrl1,
"wxPoint"  aCtrl2,
"int"  aThickness 
)
AddPrimitiveCurve(PAD self, wxPoint aStart, wxPoint aEnd, wxPoint aCtrl1, wxPoint aCtrl2, int aThickness)

Definition at line 11278 of file pcbnew.py.

Here is the caller graph for this function:

◆ AddPrimitivePoly()

"void" pcbnew.PAD.AddPrimitivePoly (   self,
args 
)
    AddPrimitivePoly(PAD self, SHAPE_POLY_SET aPoly, int aThickness, bool aFilled)
    AddPrimitivePoly(PAD self, wxPoint_Vector aPoly, int aThickness, bool aFilled)

Definition at line 11255 of file pcbnew.py.

Here is the caller graph for this function:

◆ AddPrimitiveRect()

"void" pcbnew.PAD.AddPrimitiveRect (   self,
"wxPoint"  aStart,
"wxPoint"  aEnd,
"int"  aThickness,
"bool"  aFilled 
)
AddPrimitiveRect(PAD self, wxPoint aStart, wxPoint aEnd, int aThickness, bool aFilled)

Definition at line 11270 of file pcbnew.py.

◆ AddPrimitiveSegment()

"void" pcbnew.PAD.AddPrimitiveSegment (   self,
"wxPoint"  aStart,
"wxPoint"  aEnd,
"int"  aThickness 
)
AddPrimitiveSegment(PAD self, wxPoint aStart, wxPoint aEnd, int aThickness)

Definition at line 11262 of file pcbnew.py.

Here is the caller graph for this function:

◆ ApertureMask()

"LSET" pcbnew.PAD.ApertureMask ( )
static
ApertureMask() -> LSET

Definition at line 11050 of file pcbnew.py.

◆ AppendPrimitives()

"void" pcbnew.PAD.AppendPrimitives (   self,
"std::vector< std::shared_ptr< PCB_SHAPE >,std::allocator< std::shared_ptr< PCB_SHAPE > > > const &"  aPrimitivesList 
)
AppendPrimitives(PAD self, std::vector< std::shared_ptr< PCB_SHAPE >,std::allocator< std::shared_ptr< PCB_SHAPE > > > const & aPrimitivesList)

Definition at line 11310 of file pcbnew.py.

◆ BuildEffectivePolygon()

"void" pcbnew.PAD.BuildEffectivePolygon (   self)
BuildEffectivePolygon(PAD self)

Definition at line 11640 of file pcbnew.py.

◆ BuildEffectiveShapes()

"void" pcbnew.PAD.BuildEffectiveShapes (   self,
"PCB_LAYER_ID"  aLayer 
)
BuildEffectiveShapes(PAD self, PCB_LAYER_ID aLayer)

Definition at line 11636 of file pcbnew.py.

◆ CanHaveNumber()

"bool" pcbnew.PAD.CanHaveNumber (   self)
CanHaveNumber(PAD self) -> bool

Definition at line 11095 of file pcbnew.py.

◆ ClassOf()

"bool" pcbnew.PAD.ClassOf ( "EDA_ITEM"  aItem)
static
ClassOf(EDA_ITEM aItem) -> bool

Reimplemented from pcbnew.BOARD_CONNECTED_ITEM.

Definition at line 11055 of file pcbnew.py.

◆ Clone()

"EDA_ITEM *" pcbnew.PAD.Clone (   self)
Clone(PAD self) -> EDA_ITEM

Reimplemented from pcbnew.EDA_ITEM.

Definition at line 11628 of file pcbnew.py.

Here is the caller graph for this function:

◆ ClonePad()

"PAD *" pcbnew.PAD.ClonePad (   self)
ClonePad(PAD self) -> PAD

Definition at line 11632 of file pcbnew.py.

◆ Compare()

"int" pcbnew.PAD.Compare ( "PAD"  aPadRef,
"PAD"  aPadCmp 
)
static
Compare(PAD aPadRef, PAD aPadCmp) -> int

Definition at line 11600 of file pcbnew.py.

◆ ConnSMDMask()

"LSET" pcbnew.PAD.ConnSMDMask ( )
static
ConnSMDMask() -> LSET

Definition at line 11040 of file pcbnew.py.

◆ DeletePrimitivesList()

"void" pcbnew.PAD.DeletePrimitivesList (   self)
DeletePrimitivesList(PAD self)

Definition at line 11290 of file pcbnew.py.

◆ FlashLayer()

"bool" pcbnew.PAD.FlashLayer (   self,
args 
)
    FlashLayer(PAD self, int aLayer) -> bool
    FlashLayer(PAD self, LSET aLayers) -> bool

Definition at line 11569 of file pcbnew.py.

Here is the caller graph for this function:

◆ Flip()

"void" pcbnew.PAD.Flip (   self,
"wxPoint"  aCentre,
"bool"  aFlipLeftRight 
)
Flip(PAD self, wxPoint aCentre, bool aFlipLeftRight)

Reimplemented from pcbnew.BOARD_ITEM.

Definition at line 11298 of file pcbnew.py.

◆ FlipPrimitives()

"void" pcbnew.PAD.FlipPrimitives (   self,
"bool"  aFlipLeftRight 
)
FlipPrimitives(PAD self, bool aFlipLeftRight)

Definition at line 11302 of file pcbnew.py.

◆ GetAnchorPadShape()

"PAD_SHAPE" pcbnew.PAD.GetAnchorPadShape (   self)
GetAnchorPadShape(PAD self) -> PAD_SHAPE

Definition at line 11143 of file pcbnew.py.

◆ GetAttribute()

"PAD_ATTRIB" pcbnew.PAD.GetAttribute (   self)
GetAttribute(PAD self) -> PAD_ATTRIB

Definition at line 11366 of file pcbnew.py.

◆ GetBestAnchorPosition()

"bool" pcbnew.PAD.GetBestAnchorPosition (   self,
"VECTOR2I"  aPos 
)
GetBestAnchorPosition(PAD self, VECTOR2I aPos) -> bool

Definition at line 11282 of file pcbnew.py.

◆ GetBoundingBox()

"EDA_RECT const" pcbnew.PAD.GetBoundingBox (   self)
GetBoundingBox(PAD self) -> EDA_RECT

Reimplemented from pcbnew.EDA_ITEM.

Definition at line 11587 of file pcbnew.py.

◆ GetBoundingRadius()

"int" pcbnew.PAD.GetBoundingRadius (   self)
GetBoundingRadius(PAD self) -> int

Definition at line 11449 of file pcbnew.py.

◆ GetCenter()

"wxPoint" pcbnew.PAD.GetCenter (   self)
GetCenter(PAD self) -> wxPoint

Reimplemented from pcbnew.BOARD_ITEM.

Definition at line 11251 of file pcbnew.py.

◆ GetChamferPositions()

"int" pcbnew.PAD.GetChamferPositions (   self)
GetChamferPositions(PAD self) -> int

Definition at line 11533 of file pcbnew.py.

◆ GetChamferRectRatio()

"double" pcbnew.PAD.GetChamferRectRatio (   self)
GetChamferRectRatio(PAD self) -> double

Definition at line 11525 of file pcbnew.py.

◆ GetClass()

"wxString" pcbnew.PAD.GetClass (   self)
GetClass(PAD self) -> wxString

Reimplemented from pcbnew.EDA_ITEM.

Definition at line 11583 of file pcbnew.py.

Here is the caller graph for this function:

◆ GetCustomShapeAsPolygon()

def pcbnew.PAD.GetCustomShapeAsPolygon (   self,
  layer = UNDEFINED_LAYER 
)

Definition at line 11697 of file pcbnew.py.

◆ GetCustomShapeInZoneOpt()

"CUST_PAD_SHAPE_IN_ZONE" pcbnew.PAD.GetCustomShapeInZoneOpt (   self)
GetCustomShapeInZoneOpt(PAD self) -> CUST_PAD_SHAPE_IN_ZONE

Definition at line 11147 of file pcbnew.py.

◆ GetDelta()

"wxSize const &" pcbnew.PAD.GetDelta (   self)
GetDelta(PAD self) -> wxSize

Definition at line 11215 of file pcbnew.py.

◆ GetDrillShape()

"PAD_DRILL_SHAPE_T" pcbnew.PAD.GetDrillShape (   self)
GetDrillShape(PAD self) -> PAD_DRILL_SHAPE_T

Definition at line 11342 of file pcbnew.py.

◆ GetDrillSize()

"wxSize const &" pcbnew.PAD.GetDrillSize (   self)
GetDrillSize(PAD self) -> wxSize

Definition at line 11223 of file pcbnew.py.

◆ GetDrillSizeX()

"int const" pcbnew.PAD.GetDrillSizeX (   self)
GetDrillSizeX(PAD self) -> int const

Definition at line 11231 of file pcbnew.py.

◆ GetDrillSizeY()

"int const" pcbnew.PAD.GetDrillSizeY (   self)
GetDrillSizeY(PAD self) -> int const

Definition at line 11239 of file pcbnew.py.

◆ GetEffectiveHoleShape()

"SHAPE_SEGMENT const *" pcbnew.PAD.GetEffectiveHoleShape (   self)
GetEffectiveHoleShape(PAD self) -> SHAPE_SEGMENT const *

Definition at line 11445 of file pcbnew.py.

◆ GetEffectivePolygon()

"std.shared_ptr< SHAPE_POLY_SET > const &" pcbnew.PAD.GetEffectivePolygon (   self)
GetEffectivePolygon(PAD self) -> std::shared_ptr< SHAPE_POLY_SET > const &

Definition at line 11441 of file pcbnew.py.

◆ GetEffectiveShape()

"std.shared_ptr< SHAPE >" pcbnew.PAD.GetEffectiveShape (   self,
args 
)
GetEffectiveShape(PAD self, PCB_LAYER_ID aLayer=UNDEFINED_LAYER, FLASHING flashPTHPads=DEFAULT) -> std::shared_ptr< SHAPE >

Reimplemented from pcbnew.BOARD_ITEM.

Definition at line 11437 of file pcbnew.py.

◆ GetEffectiveThermalGap()

"int" pcbnew.PAD.GetEffectiveThermalGap (   self,
"wxString"  aSource = None 
)
GetEffectiveThermalGap(PAD self, wxString aSource=None) -> int

Definition at line 11497 of file pcbnew.py.

◆ GetEffectiveThermalSpokeWidth()

"int" pcbnew.PAD.GetEffectiveThermalSpokeWidth (   self,
"wxString"  aSource = None 
)
GetEffectiveThermalSpokeWidth(PAD self, wxString aSource=None) -> int

Definition at line 11485 of file pcbnew.py.

◆ GetEffectiveZoneConnection()

"ZONE_CONNECTION" pcbnew.PAD.GetEffectiveZoneConnection (   self,
"wxString"  aSource = None 
)
GetEffectiveZoneConnection(PAD self, wxString aSource=None) -> ZONE_CONNECTION

Definition at line 11473 of file pcbnew.py.

◆ GetKeepTopBottom()

"bool" pcbnew.PAD.GetKeepTopBottom (   self)
GetKeepTopBottom(PAD self) -> bool

Definition at line 11557 of file pcbnew.py.

◆ GetLayerSet()

"LSET" pcbnew.PAD.GetLayerSet (   self)
GetLayerSet(PAD self) -> LSET

Reimplemented from pcbnew.BOARD_ITEM.

Definition at line 11358 of file pcbnew.py.

◆ GetLocalClearance()

"int" pcbnew.PAD.GetLocalClearance (   self,
args 
)
    GetLocalClearance(PAD self, wxString aSource) -> int
    GetLocalClearance(PAD self) -> int

Reimplemented from pcbnew.BOARD_CONNECTED_ITEM.

Definition at line 11398 of file pcbnew.py.

Here is the caller graph for this function:

◆ GetLocalClearanceOverrides()

"int" pcbnew.PAD.GetLocalClearanceOverrides (   self,
"wxString"  aSource 
)
GetLocalClearanceOverrides(PAD self, wxString aSource) -> int

Reimplemented from pcbnew.BOARD_CONNECTED_ITEM.

Definition at line 11453 of file pcbnew.py.

◆ GetLocalSolderMaskMargin()

"int" pcbnew.PAD.GetLocalSolderMaskMargin (   self)
GetLocalSolderMaskMargin(PAD self) -> int

Definition at line 11390 of file pcbnew.py.

◆ GetLocalSolderPasteMargin()

"int" pcbnew.PAD.GetLocalSolderPasteMargin (   self)
GetLocalSolderPasteMargin(PAD self) -> int

Definition at line 11413 of file pcbnew.py.

◆ GetLocalSolderPasteMarginRatio()

"double" pcbnew.PAD.GetLocalSolderPasteMarginRatio (   self)
GetLocalSolderPasteMarginRatio(PAD self) -> double

Definition at line 11421 of file pcbnew.py.

◆ GetMenuImage()

"BITMAPS" pcbnew.PAD.GetMenuImage (   self)
GetMenuImage(PAD self) -> BITMAPS

Reimplemented from pcbnew.EDA_ITEM.

Definition at line 11616 of file pcbnew.py.

◆ GetMsgPanelInfo()

"void" pcbnew.PAD.GetMsgPanelInfo (   self,
"EDA_DRAW_FRAME *"  aFrame,
"std::vector< MSG_PANEL_ITEM,std::allocator< MSG_PANEL_ITEM > > &"  aList 
)
GetMsgPanelInfo(PAD self, EDA_DRAW_FRAME * aFrame, std::vector< MSG_PANEL_ITEM,std::allocator< MSG_PANEL_ITEM > > & aList)

Reimplemented from pcbnew.EDA_ITEM.

Definition at line 11561 of file pcbnew.py.

◆ GetName()

def pcbnew.PAD.GetName (   self)

Definition at line 11674 of file pcbnew.py.

Here is the caller graph for this function:

◆ GetNumber()

"wxString const &" pcbnew.PAD.GetNumber (   self)
GetNumber(PAD self) -> wxString

Definition at line 11091 of file pcbnew.py.

Here is the caller graph for this function:

◆ GetOffset()

"wxPoint const &" pcbnew.PAD.GetOffset (   self)
GetOffset(PAD self) -> wxPoint

Definition at line 11247 of file pcbnew.py.

◆ GetOrientation()

"double" pcbnew.PAD.GetOrientation (   self)
GetOrientation(PAD self) -> double

Definition at line 11326 of file pcbnew.py.

◆ GetOrientationDegrees()

"double" pcbnew.PAD.GetOrientationDegrees (   self)
GetOrientationDegrees(PAD self) -> double

Definition at line 11330 of file pcbnew.py.

◆ GetOrientationRadians()

"double" pcbnew.PAD.GetOrientationRadians (   self)
GetOrientationRadians(PAD self) -> double

Definition at line 11334 of file pcbnew.py.

◆ GetOwnClearance()

"int" pcbnew.PAD.GetOwnClearance (   self,
"PCB_LAYER_ID"  aLayer,
"wxString"  aSource = None 
)
GetOwnClearance(PAD self, PCB_LAYER_ID aLayer, wxString aSource=None) -> int

Reimplemented from pcbnew.BOARD_CONNECTED_ITEM.

Definition at line 11409 of file pcbnew.py.

◆ GetPadName()

def pcbnew.PAD.GetPadName (   self)

Definition at line 11671 of file pcbnew.py.

◆ GetPadToDieLength()

"int" pcbnew.PAD.GetPadToDieLength (   self)
GetPadToDieLength(PAD self) -> int

Definition at line 11386 of file pcbnew.py.

◆ GetParent()

"FOOTPRINT *" pcbnew.PAD.GetParent (   self)
GetParent(PAD self) -> FOOTPRINT

Reimplemented from pcbnew.BOARD_ITEM.

Definition at line 11067 of file pcbnew.py.

◆ GetParentAsString()

"wxString" pcbnew.PAD.GetParentAsString (   self)
GetParentAsString(PAD self) -> wxString

Definition at line 11071 of file pcbnew.py.

◆ GetPinFunction()

"wxString const &" pcbnew.PAD.GetPinFunction (   self)
GetPinFunction(PAD self) -> wxString

Definition at line 11103 of file pcbnew.py.

◆ GetPinType()

"wxString const &" pcbnew.PAD.GetPinType (   self)
GetPinType(PAD self) -> wxString

Definition at line 11111 of file pcbnew.py.

◆ GetPos0()

"wxPoint const &" pcbnew.PAD.GetPos0 (   self)
GetPos0(PAD self) -> wxPoint

Definition at line 11175 of file pcbnew.py.

◆ GetPosition()

"wxPoint" pcbnew.PAD.GetPosition (   self)
GetPosition(PAD self) -> wxPoint

Reimplemented from pcbnew.EDA_ITEM.

Definition at line 11139 of file pcbnew.py.

◆ GetPrimitives()

"std.vector< std.shared_ptr< PCB_SHAPE >,std.allocator< std.shared_ptr< PCB_SHAPE > > > const &" pcbnew.PAD.GetPrimitives (   self)
GetPrimitives(PAD self) -> std::vector< std::shared_ptr< PCB_SHAPE >,std::allocator< std::shared_ptr< PCB_SHAPE > > > const &

Definition at line 11294 of file pcbnew.py.

◆ GetProperty()

"PAD_PROP" pcbnew.PAD.GetProperty (   self)
GetProperty(PAD self) -> PAD_PROP

Definition at line 11374 of file pcbnew.py.

◆ GetRemoveUnconnected()

"bool" pcbnew.PAD.GetRemoveUnconnected (   self)
GetRemoveUnconnected(PAD self) -> bool

Definition at line 11549 of file pcbnew.py.

◆ GetRoundRectCornerRadius()

"int" pcbnew.PAD.GetRoundRectCornerRadius (   self)
GetRoundRectCornerRadius(PAD self) -> int

Definition at line 11505 of file pcbnew.py.

◆ GetRoundRectRadiusRatio()

"double" pcbnew.PAD.GetRoundRectRadiusRatio (   self)
GetRoundRectRadiusRatio(PAD self) -> double

Definition at line 11517 of file pcbnew.py.

◆ GetSelectMenuText()

"wxString" pcbnew.PAD.GetSelectMenuText (   self,
"EDA_UNITS"  aUnits 
)
GetSelectMenuText(PAD self, EDA_UNITS aUnits) -> wxString

Reimplemented from pcbnew.EDA_ITEM.

Definition at line 11612 of file pcbnew.py.

◆ GetShape()

"PAD_SHAPE" pcbnew.PAD.GetShape (   self)
GetShape(PAD self) -> PAD_SHAPE

Definition at line 11131 of file pcbnew.py.

Here is the caller graph for this function:

◆ GetSize()

"wxSize const &" pcbnew.PAD.GetSize (   self)
GetSize(PAD self) -> wxSize

Definition at line 11191 of file pcbnew.py.

◆ GetSizeX()

"int const" pcbnew.PAD.GetSizeX (   self)
GetSizeX(PAD self) -> int const

Definition at line 11199 of file pcbnew.py.

◆ GetSizeY()

"int const" pcbnew.PAD.GetSizeY (   self)
GetSizeY(PAD self) -> int const

Definition at line 11207 of file pcbnew.py.

◆ GetSolderMaskMargin()

"int" pcbnew.PAD.GetSolderMaskMargin (   self)
GetSolderMaskMargin(PAD self) -> int

Definition at line 11457 of file pcbnew.py.

◆ GetSolderPasteMargin()

"wxSize" pcbnew.PAD.GetSolderPasteMargin (   self)
GetSolderPasteMargin(PAD self) -> wxSize

Definition at line 11461 of file pcbnew.py.

◆ GetSubRatsnest()

"int" pcbnew.PAD.GetSubRatsnest (   self)
GetSubRatsnest(PAD self) -> int

Definition at line 11537 of file pcbnew.py.

◆ GetThermalGap()

"int" pcbnew.PAD.GetThermalGap (   self)
GetThermalGap(PAD self) -> int

Definition at line 11493 of file pcbnew.py.

◆ GetThermalSpokeWidth()

"int" pcbnew.PAD.GetThermalSpokeWidth (   self)
GetThermalSpokeWidth(PAD self) -> int

Definition at line 11481 of file pcbnew.py.

◆ GetZoneConnection()

"ZONE_CONNECTION" pcbnew.PAD.GetZoneConnection (   self)
GetZoneConnection(PAD self) -> ZONE_CONNECTION

Definition at line 11469 of file pcbnew.py.

◆ HasHole()

"bool" pcbnew.PAD.HasHole (   self)
HasHole(PAD self) -> bool

Definition at line 11063 of file pcbnew.py.

◆ HitTest()

"bool" pcbnew.PAD.HitTest (   self,
args 
)
    HitTest(PAD self, wxPoint aPosition, int aAccuracy=0) -> bool
    HitTest(PAD self, EDA_RECT aRect, bool aContained, int aAccuracy=0) -> bool

Reimplemented from pcbnew.EDA_ITEM.

Definition at line 11576 of file pcbnew.py.

Here is the caller graph for this function:

◆ ImportSettingsFrom()

"void" pcbnew.PAD.ImportSettingsFrom (   self,
"PAD"  aMasterPad 
)
ImportSettingsFrom(PAD self, PAD aMasterPad)

Definition at line 11079 of file pcbnew.py.

◆ IsAperturePad()

"bool" pcbnew.PAD.IsAperturePad (   self)
IsAperturePad(PAD self) -> bool

Definition at line 11378 of file pcbnew.py.

◆ IsDirty()

"bool" pcbnew.PAD.IsDirty (   self)
IsDirty(PAD self) -> bool

Definition at line 11346 of file pcbnew.py.

◆ IsFlipped()

"bool" pcbnew.PAD.IsFlipped (   self)
IsFlipped(PAD self) -> bool

Definition at line 11083 of file pcbnew.py.

◆ IsFreePad()

"bool" pcbnew.PAD.IsFreePad (   self)
IsFreePad(PAD self) -> bool

Definition at line 11123 of file pcbnew.py.

◆ IsLocked()

"bool" pcbnew.PAD.IsLocked (   self)
IsLocked(PAD self) -> bool

Reimplemented from pcbnew.BOARD_ITEM.

Definition at line 11075 of file pcbnew.py.

◆ IsNoConnectPad()

"bool" pcbnew.PAD.IsNoConnectPad (   self)
IsNoConnectPad(PAD self) -> bool

Definition at line 11119 of file pcbnew.py.

◆ IsOnCopperLayer()

"bool" pcbnew.PAD.IsOnCopperLayer (   self)
IsOnCopperLayer(PAD self) -> bool

Reimplemented from pcbnew.BOARD_ITEM.

Definition at line 11159 of file pcbnew.py.

◆ IsOnLayer()

"bool" pcbnew.PAD.IsOnLayer (   self,
"PCB_LAYER_ID"  aLayer 
)
IsOnLayer(PAD self, PCB_LAYER_ID aLayer) -> bool

Reimplemented from pcbnew.BOARD_ITEM.

Definition at line 11565 of file pcbnew.py.

◆ IsType()

"bool" pcbnew.PAD.IsType (   self,
"KICAD_T const []"  aScanTypes 
)
IsType(PAD self, KICAD_T const [] aScanTypes) -> bool

Reimplemented from pcbnew.EDA_ITEM.

Definition at line 11059 of file pcbnew.py.

◆ MergePrimitivesAsPolygon()

"void" pcbnew.PAD.MergePrimitivesAsPolygon (   self,
args 
)
MergePrimitivesAsPolygon(PAD self, SHAPE_POLY_SET aMergedPolygon, ERROR_LOC aErrorLoc=ERROR_INSIDE)

Definition at line 11286 of file pcbnew.py.

Here is the caller graph for this function:

◆ Move()

"void" pcbnew.PAD.Move (   self,
"wxPoint"  aMoveVector 
)
Move(PAD self, wxPoint aMoveVector)

Reimplemented from pcbnew.BOARD_ITEM.

Definition at line 11604 of file pcbnew.py.

◆ PTHMask()

"LSET" pcbnew.PAD.PTHMask ( )
static
PTHMask() -> LSET

Definition at line 11030 of file pcbnew.py.

◆ ReplacePrimitives()

"void" pcbnew.PAD.ReplacePrimitives (   self,
"std::vector< std::shared_ptr< PCB_SHAPE >,std::allocator< std::shared_ptr< PCB_SHAPE > > > const &"  aPrimitivesList 
)
ReplacePrimitives(PAD self, std::vector< std::shared_ptr< PCB_SHAPE >,std::allocator< std::shared_ptr< PCB_SHAPE > > > const & aPrimitivesList)

Definition at line 11306 of file pcbnew.py.

◆ Rotate()

"void" pcbnew.PAD.Rotate (   self,
"wxPoint"  aRotCentre,
"double"  aAngle 
)
Rotate(PAD self, wxPoint aRotCentre, double aAngle)

Reimplemented from pcbnew.BOARD_ITEM.

Definition at line 11608 of file pcbnew.py.

◆ SameLogicalPadAs()

"bool" pcbnew.PAD.SameLogicalPadAs (   self,
"PAD"  other 
)
SameLogicalPadAs(PAD self, PAD other) -> bool

Definition at line 11115 of file pcbnew.py.

◆ SetAnchorPadShape()

"void" pcbnew.PAD.SetAnchorPadShape (   self,
"PAD_SHAPE"  aShape 
)
SetAnchorPadShape(PAD self, PAD_SHAPE aShape)

Definition at line 11155 of file pcbnew.py.

◆ SetAttribute()

"void" pcbnew.PAD.SetAttribute (   self,
"PAD_ATTRIB"  aAttribute 
)
SetAttribute(PAD self, PAD_ATTRIB aAttribute)

Definition at line 11362 of file pcbnew.py.

◆ SetChamferPositions()

"void" pcbnew.PAD.SetChamferPositions (   self,
"int"  aPositions 
)
SetChamferPositions(PAD self, int aPositions)

Definition at line 11529 of file pcbnew.py.

◆ SetChamferRectRatio()

"void" pcbnew.PAD.SetChamferRectRatio (   self,
"double"  aChamferScale 
)
SetChamferRectRatio(PAD self, double aChamferScale)

Definition at line 11521 of file pcbnew.py.

◆ SetCustomShapeInZoneOpt()

"void" pcbnew.PAD.SetCustomShapeInZoneOpt (   self,
"CUST_PAD_SHAPE_IN_ZONE"  aOption 
)
SetCustomShapeInZoneOpt(PAD self, CUST_PAD_SHAPE_IN_ZONE aOption)

Definition at line 11151 of file pcbnew.py.

◆ SetDelta()

"void" pcbnew.PAD.SetDelta (   self,
"wxSize"  aSize 
)
SetDelta(PAD self, wxSize aSize)

Definition at line 11211 of file pcbnew.py.

◆ SetDirty()

"void" pcbnew.PAD.SetDirty (   self)
SetDirty(PAD self)

Definition at line 11350 of file pcbnew.py.

◆ SetDrawCoord()

"void" pcbnew.PAD.SetDrawCoord (   self)
SetDrawCoord(PAD self)

Definition at line 11591 of file pcbnew.py.

◆ SetDrillShape()

"void" pcbnew.PAD.SetDrillShape (   self,
"PAD_DRILL_SHAPE_T"  aShape 
)
SetDrillShape(PAD self, PAD_DRILL_SHAPE_T aShape)

Definition at line 11338 of file pcbnew.py.

◆ SetDrillSize()

"void" pcbnew.PAD.SetDrillSize (   self,
"wxSize"  aSize 
)
SetDrillSize(PAD self, wxSize aSize)

Definition at line 11219 of file pcbnew.py.

◆ SetDrillSizeX()

"void" pcbnew.PAD.SetDrillSizeX (   self,
"int const"  aX 
)
SetDrillSizeX(PAD self, int const aX)

Definition at line 11227 of file pcbnew.py.

◆ SetDrillSizeY()

"void" pcbnew.PAD.SetDrillSizeY (   self,
"int const"  aY 
)
SetDrillSizeY(PAD self, int const aY)

Definition at line 11235 of file pcbnew.py.

◆ SetKeepTopBottom()

"void" pcbnew.PAD.SetKeepTopBottom (   self,
"bool"  aSet 
)
SetKeepTopBottom(PAD self, bool aSet)

Definition at line 11553 of file pcbnew.py.

◆ SetLayerSet()

"void" pcbnew.PAD.SetLayerSet (   self,
"LSET"  aLayers 
)
SetLayerSet(PAD self, LSET aLayers)

Reimplemented from pcbnew.BOARD_ITEM.

Definition at line 11354 of file pcbnew.py.

◆ SetLocalClearance()

"void" pcbnew.PAD.SetLocalClearance (   self,
"int"  aClearance 
)
SetLocalClearance(PAD self, int aClearance)

Definition at line 11405 of file pcbnew.py.

◆ SetLocalCoord()

"void" pcbnew.PAD.SetLocalCoord (   self)
SetLocalCoord(PAD self)

Definition at line 11595 of file pcbnew.py.

◆ SetLocalSolderMaskMargin()

"void" pcbnew.PAD.SetLocalSolderMaskMargin (   self,
"int"  aMargin 
)
SetLocalSolderMaskMargin(PAD self, int aMargin)

Definition at line 11394 of file pcbnew.py.

◆ SetLocalSolderPasteMargin()

"void" pcbnew.PAD.SetLocalSolderPasteMargin (   self,
"int"  aMargin 
)
SetLocalSolderPasteMargin(PAD self, int aMargin)

Definition at line 11417 of file pcbnew.py.

◆ SetLocalSolderPasteMarginRatio()

"void" pcbnew.PAD.SetLocalSolderPasteMarginRatio (   self,
"double"  aRatio 
)
SetLocalSolderPasteMarginRatio(PAD self, double aRatio)

Definition at line 11425 of file pcbnew.py.

◆ SetName()

def pcbnew.PAD.SetName (   self,
  aName 
)

Definition at line 11666 of file pcbnew.py.

◆ SetNumber()

"void" pcbnew.PAD.SetNumber (   self,
"wxString"  aNumber 
)
SetNumber(PAD self, wxString aNumber)

Definition at line 11087 of file pcbnew.py.

Here is the caller graph for this function:

◆ SetOffset()

"void" pcbnew.PAD.SetOffset (   self,
"wxPoint"  aOffset 
)
SetOffset(PAD self, wxPoint aOffset)

Definition at line 11243 of file pcbnew.py.

◆ SetOrientation()

"void" pcbnew.PAD.SetOrientation (   self,
"double"  aAngle 
)
SetOrientation(PAD self, double aAngle)

Definition at line 11318 of file pcbnew.py.

◆ SetOrientationDegrees()

"void" pcbnew.PAD.SetOrientationDegrees (   self,
"double"  aOrientation 
)
SetOrientationDegrees(PAD self, double aOrientation)

Definition at line 11322 of file pcbnew.py.

◆ SetPadName()

def pcbnew.PAD.SetPadName (   self,
  aName 
)

Definition at line 11663 of file pcbnew.py.

◆ SetPadToDieLength()

"void" pcbnew.PAD.SetPadToDieLength (   self,
"int"  aLength 
)
SetPadToDieLength(PAD self, int aLength)

Definition at line 11382 of file pcbnew.py.

◆ SetPinFunction()

"void" pcbnew.PAD.SetPinFunction (   self,
"wxString"  aName 
)
SetPinFunction(PAD self, wxString aName)

Definition at line 11099 of file pcbnew.py.

◆ SetPinType()

"void" pcbnew.PAD.SetPinType (   self,
"wxString"  aType 
)
SetPinType(PAD self, wxString aType)

Definition at line 11107 of file pcbnew.py.

◆ SetPos0()

"void" pcbnew.PAD.SetPos0 (   self,
"wxPoint"  aPos 
)
SetPos0(PAD self, wxPoint aPos)

Definition at line 11171 of file pcbnew.py.

Here is the caller graph for this function:

◆ SetPosition()

"void" pcbnew.PAD.SetPosition (   self,
"wxPoint"  aPos 
)
SetPosition(PAD self, wxPoint aPos)

Reimplemented from pcbnew.EDA_ITEM.

Definition at line 11135 of file pcbnew.py.

Here is the caller graph for this function:

◆ SetProperty()

"void" pcbnew.PAD.SetProperty (   self,
"PAD_PROP"  aProperty 
)
SetProperty(PAD self, PAD_PROP aProperty)

Definition at line 11370 of file pcbnew.py.

◆ SetRemoveUnconnected()

"void" pcbnew.PAD.SetRemoveUnconnected (   self,
"bool"  aSet 
)
SetRemoveUnconnected(PAD self, bool aSet)

Definition at line 11545 of file pcbnew.py.

◆ SetRoundRectCornerRadius()

"void" pcbnew.PAD.SetRoundRectCornerRadius (   self,
"double"  aRadius 
)
SetRoundRectCornerRadius(PAD self, double aRadius)

Definition at line 11501 of file pcbnew.py.

◆ SetRoundRectRadiusRatio()

"void" pcbnew.PAD.SetRoundRectRadiusRatio (   self,
"double"  aRadiusScale 
)
SetRoundRectRadiusRatio(PAD self, double aRadiusScale)

Definition at line 11513 of file pcbnew.py.

◆ SetShape()

"void" pcbnew.PAD.SetShape (   self,
"PAD_SHAPE"  aShape 
)
SetShape(PAD self, PAD_SHAPE aShape)

Definition at line 11127 of file pcbnew.py.

◆ SetSize()

"void" pcbnew.PAD.SetSize (   self,
"wxSize"  aSize 
)
SetSize(PAD self, wxSize aSize)

Definition at line 11187 of file pcbnew.py.

◆ SetSizeX()

"void" pcbnew.PAD.SetSizeX (   self,
"int const"  aX 
)
SetSizeX(PAD self, int const aX)

Definition at line 11195 of file pcbnew.py.

◆ SetSizeY()

"void" pcbnew.PAD.SetSizeY (   self,
"int const"  aY 
)
SetSizeY(PAD self, int const aY)

Definition at line 11203 of file pcbnew.py.

◆ SetSubRatsnest()

"void" pcbnew.PAD.SetSubRatsnest (   self,
"int"  aSubRatsnest 
)
SetSubRatsnest(PAD self, int aSubRatsnest)

Definition at line 11541 of file pcbnew.py.

◆ SetThermalGap()

"void" pcbnew.PAD.SetThermalGap (   self,
"int"  aGap 
)
SetThermalGap(PAD self, int aGap)

Definition at line 11489 of file pcbnew.py.

◆ SetThermalSpokeWidth()

"void" pcbnew.PAD.SetThermalSpokeWidth (   self,
"int"  aWidth 
)
SetThermalSpokeWidth(PAD self, int aWidth)

Definition at line 11477 of file pcbnew.py.

◆ SetX()

"void" pcbnew.PAD.SetX (   self,
"int"  x 
)
SetX(PAD self, int x)

Reimplemented from pcbnew.BOARD_ITEM.

Definition at line 11167 of file pcbnew.py.

Here is the caller graph for this function:

◆ SetX0()

"void" pcbnew.PAD.SetX0 (   self,
"int"  x 
)
SetX0(PAD self, int x)

Definition at line 11183 of file pcbnew.py.

◆ SetY()

"void" pcbnew.PAD.SetY (   self,
"int"  y 
)
SetY(PAD self, int y)

Reimplemented from pcbnew.BOARD_ITEM.

Definition at line 11163 of file pcbnew.py.

Here is the caller graph for this function:

◆ SetY0()

"void" pcbnew.PAD.SetY0 (   self,
"int"  y 
)
SetY0(PAD self, int y)

Definition at line 11179 of file pcbnew.py.

◆ SetZoneConnection()

"void" pcbnew.PAD.SetZoneConnection (   self,
"ZONE_CONNECTION"  aType 
)
SetZoneConnection(PAD self, ZONE_CONNECTION aType)

Definition at line 11465 of file pcbnew.py.

◆ ShapePos()

"wxPoint" pcbnew.PAD.ShapePos (   self)
ShapePos(PAD self) -> wxPoint

Definition at line 11509 of file pcbnew.py.

◆ ShowPadAttr()

"wxString" pcbnew.PAD.ShowPadAttr (   self)
ShowPadAttr(PAD self) -> wxString

Definition at line 11624 of file pcbnew.py.

◆ ShowPadShape()

"wxString" pcbnew.PAD.ShowPadShape (   self)
ShowPadShape(PAD self) -> wxString

Definition at line 11620 of file pcbnew.py.

◆ SMDMask()

"LSET" pcbnew.PAD.SMDMask ( )
static
SMDMask() -> LSET

Definition at line 11035 of file pcbnew.py.

◆ SwapData()

"void" pcbnew.PAD.SwapData (   self,
"BOARD_ITEM"  aImage 
)
SwapData(PAD self, BOARD_ITEM aImage)

Reimplemented from pcbnew.BOARD_ITEM.

Definition at line 11656 of file pcbnew.py.

◆ TransformHoleWithClearanceToPolygon()

"bool" pcbnew.PAD.TransformHoleWithClearanceToPolygon (   self,
"SHAPE_POLY_SET"  aCornerBuffer,
"int"  aInflateValue,
"int"  aError,
"ERROR_LOC"  aErrorLoc 
)
TransformHoleWithClearanceToPolygon(PAD self, SHAPE_POLY_SET aCornerBuffer, int aInflateValue, int aError, ERROR_LOC aErrorLoc) -> bool

Definition at line 11433 of file pcbnew.py.

◆ TransformShapeWithClearanceToPolygon()

"void" pcbnew.PAD.TransformShapeWithClearanceToPolygon (   self,
"SHAPE_POLY_SET"  aCornerBuffer,
"PCB_LAYER_ID"  aLayer,
"int"  aClearanceValue,
"int"  aMaxError,
"ERROR_LOC"  aErrorLoc,
"bool"  ignoreLineWidth = False 
)
TransformShapeWithClearanceToPolygon(PAD self, SHAPE_POLY_SET aCornerBuffer, PCB_LAYER_ID aLayer, int aClearanceValue, int aMaxError, ERROR_LOC aErrorLoc, bool ignoreLineWidth=False)

Reimplemented from pcbnew.BOARD_ITEM.

Definition at line 11429 of file pcbnew.py.

◆ UnplatedHoleMask()

"LSET" pcbnew.PAD.UnplatedHoleMask ( )
static
UnplatedHoleMask() -> LSET

Definition at line 11045 of file pcbnew.py.

◆ ViewBBox()

"BOX2I const" pcbnew.PAD.ViewBBox (   self)
ViewBBox(PAD self) -> BOX2I const

Reimplemented from pcbnew.EDA_ITEM.

Definition at line 11652 of file pcbnew.py.

◆ ViewGetLayers()

"void" pcbnew.PAD.ViewGetLayers (   self,
"int []"  aLayers,
"int &"  aCount 
)
ViewGetLayers(PAD self, int [] aLayers, int & aCount)

Reimplemented from pcbnew.BOARD_ITEM.

Definition at line 11644 of file pcbnew.py.

◆ ViewGetLOD()

"double" pcbnew.PAD.ViewGetLOD (   self,
"int"  aLayer,
"KIGFX::VIEW *"  aView 
)
ViewGetLOD(PAD self, int aLayer, KIGFX::VIEW * aView) -> double

Definition at line 11648 of file pcbnew.py.

Property Documentation

◆ thisown

pcbnew.PAD.thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
static

Definition at line 11019 of file pcbnew.py.


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