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

Public Member Functions

def __init__ (self, parent)
 
def StandardMask ()
 
def SMDMask ()
 
def ConnSMDMask ()
 
def UnplatedHoleMask ()
 
def ApertureMask ()
 
def ClassOf (aItem)
 
def Next (self)
 
def GetParent (self)
 
def ImportSettingsFromMaster (self, aMasterPad)
 
def IsFlipped (self)
 
def SetName (self, aName)
 
def GetName (self)
 
def IncrementPadName (self, aSkipUnconnectable, aFillSequenceGaps)
 
def PadNameEqual (self, other)
 
def GetShape (self)
 
def SetShape (self, aShape)
 
def SetPosition (self, aPos)
 
def GetPosition (self)
 
def GetAnchorPadShape (self)
 
def GetCustomShapeInZoneOpt (self)
 
def SetCustomShapeInZoneOpt (self, aOption)
 
def SetAnchorPadShape (self, aShape)
 
def SetY (self, y)
 
def SetX (self, x)
 
def SetPos0 (self, aPos)
 
def GetPos0 (self)
 
def SetY0 (self, y)
 
def SetX0 (self, x)
 
def SetSize (self, aSize)
 
def GetSize (self)
 
def SetDelta (self, aSize)
 
def GetDelta (self)
 
def SetDrillSize (self, aSize)
 
def GetDrillSize (self)
 
def SetOffset (self, aOffset)
 
def GetOffset (self)
 
def AddPrimitive (self, *args)
 
def GetBestAnchorPosition (self, aPos)
 
def MergePrimitivesAsPolygon (self, *args)
 
def DeletePrimitivesList (self)
 
def CustomShapeAsPolygonToBoardPosition (self, aMergedPolygon, aPosition, aRotation)
 
def GetPrimitives (self)
 
def GetCustomShapeAsPolygon (self)
 
def Flip (self, aCentre)
 
def FlipPrimitives (self)
 
def MirrorXPrimitives (self, aX)
 
def SetPrimitives (self, aPrimitivesList)
 
def AddPrimitives (self, aPrimitivesList)
 
def SetOrientation (self, aAngle)
 
def SetOrientationDegrees (self, aOrientation)
 
def GetOrientation (self)
 
def GetOrientationDegrees (self)
 
def GetOrientationRadians (self)
 
def SetDrillShape (self, aDrillShape)
 
def GetDrillShape (self)
 
def GetOblongDrillGeometry (self, aStartPoint, aEndPoint, aWidth)
 
def SetLayerSet (self, aLayerMask)
 
def GetLayerSet (self)
 
def SetAttribute (self, aAttribute)
 
def GetAttribute (self)
 
def IsAperturePad (self)
 
def SetPadToDieLength (self, aLength)
 
def GetPadToDieLength (self)
 
def GetLocalSolderMaskMargin (self)
 
def SetLocalSolderMaskMargin (self, aMargin)
 
def GetLocalClearance (self)
 
def SetLocalClearance (self, aClearance)
 
def GetLocalSolderPasteMargin (self)
 
def SetLocalSolderPasteMargin (self, aMargin)
 
def GetLocalSolderPasteMarginRatio (self)
 
def SetLocalSolderPasteMarginRatio (self, aRatio)
 
def TransformShapeWithClearanceToPolygon (self, aCornerBuffer, aClearanceValue, aCircleToSegmentsCount, aCorrectionFactor, ignoreLineWidth=False)
 
def GetClearance (self, aItem=None)
 
def GetSolderMaskMargin (self)
 
def GetSolderPasteMargin (self)
 
def SetZoneConnection (self, aType)
 
def GetZoneConnection (self)
 
def SetThermalWidth (self, aWidth)
 
def GetThermalWidth (self)
 
def SetThermalGap (self, aGap)
 
def GetThermalGap (self)
 
def Draw (self, *args)
 
def DrawShape (self, aClipBox, aDC, aDrawInfo)
 
def BuildPadPolygon (self, aCoord, aInflateValue, aRotation)
 
def GetRoundRectCornerRadius (self, *args)
 
def SetRoundRectCornerRadius (self, aRadius)
 
def BuildPadShapePolygon (self, aCornerBuffer, aInflateValue, aSegmentsPerCircle, aCorrectionFactor)
 
def BuildPadDrillShapePolygon (self, aCornerBuffer, aInflateValue, aSegmentsPerCircle)
 
def BuildSegmentFromOvalShape (self, aSegStart, aSegEnd, aRotation, aMargin)
 
def GetBoundingRadius (self)
 
def ShapePos (self)
 
def GetRoundRectRadiusRatio (self)
 
def SetRoundRectRadiusRatio (self, aRadiusScale)
 
def GetChamferRectRatio (self)
 
def SetChamferRectRatio (self, aChamferScale)
 
def GetChamferPositions (self)
 
def SetChamferPositions (self, aChamferPositions)
 
def GetSubRatsnest (self)
 
def SetSubRatsnest (self, aSubRatsnest)
 
def GetMsgPanelInfo (self, aUnits, aList)
 
def IsOnLayer (self, aLayer)
 
def HitTest (self, *args)
 
def GetClass (self)
 
def GetBoundingBox (self)
 
def SetDrawCoord (self)
 
def SetLocalCoord (self)
 
def Compare (padref, padcmp)
 
def Move (self, aMoveVector)
 
def Rotate (self, aRotCentre, aAngle)
 
def GetSelectMenuText (self, aUnits)
 
def GetMenuImage (self)
 
def ShowPadShape (self)
 
def ShowPadAttr (self)
 
def AppendConfigs (self, aResult)
 
def Clone (self)
 
def Duplicate (self)
 
def PadShouldBeNPTH (self)
 
def ViewGetLayers (self, aLayers, aCount)
 
def ViewGetLOD (self, aLayer, aView)
 
def ViewBBox (self)
 
def CopyNetlistSettings (self, aPad, aCopyLocalSettings)
 
def SwapData (self, aImage)
 
def SetPadName (self, aName)
 
def GetPadName (self)
 
- Public Member Functions inherited from pcbnew.BOARD_CONNECTED_ITEM
def __init__ (self, *args, **kwargs)
 
def IsConnected (self)
 
def GetNet (self)
 
def SetNet (self, aNetInfo)
 
def GetNetCode (self)
 
def SetNetCode (self, aNetCode, aNoAssert=False)
 
def GetNetname (self)
 
def GetNetnameMsg (self)
 
def GetShortNetname (self)
 
def GetNetClass (self)
 
def GetNetClassName (self)
 
def SetLocalRatsnestVisible (self, aVisible)
 
def GetLocalRatsnestVisible (self)
 
- Public Member Functions inherited from pcbnew.BOARD_ITEM
def GetCenter (self)
 
def Back (self)
 
def GetLayer (self)
 
def SetLayer (self, aLayer)
 
def IsTrack (self)
 
def IsLocked (self)
 
def SetLocked (self, aLocked)
 
def UnLink (self)
 
def DeleteStructure (self)
 
def ShowShape (aShape)
 
def Move (self, *args)
 
def Rotate (self, *args)
 
def Flip (self, *args)
 
def GetBoard (self)
 
def GetLayerName (self)
 
def Cast (self)
 
def SetPos (self, p)
 
def SetStartEnd (self, start, end)
 
- Public Member Functions inherited from pcbnew.EDA_ITEM
def Type (self)
 
def SetTimeStamp (self, aNewTimeStamp)
 
def GetTimeStamp (self)
 
def GetList (self)
 
def SetParent (self, aParent)
 
def SetList (self, aList)
 
def IsNew (self)
 
def IsModified (self)
 
def IsMoving (self)
 
def IsDragging (self)
 
def IsWireImage (self)
 
def IsSelected (self)
 
def IsResized (self)
 
def IsHighlighted (self)
 
def IsBrightened (self)
 
def SetWireImage (self)
 
def SetSelected (self)
 
def SetHighlighted (self)
 
def SetBrightened (self)
 
def ClearSelected (self)
 
def ClearHighlighted (self)
 
def ClearBrightened (self)
 
def SetModified (self)
 
def GetState (self, type)
 
def SetState (self, type, state)
 
def GetStatus (self)
 
def SetStatus (self, aStatus)
 
def SetFlags (self, aMask)
 
def ClearFlags (self, aMask=-1)
 
def GetFlags (self)
 
def GetEditFlags (self)
 
def ClearTempFlags (self)
 
def IsType (self, aScanTypes)
 
def SetForceVisible (self, aEnable)
 
def IterateForward (listStart, inspector, testData, scanTypes)
 
def Visit (self, inspector, testData, scanTypes)
 
def Matches (self, aSearchData, aAuxData, aFindLocation)
 
def Replace (self, *args)
 
def IsReplaceable (self)
 
def __lt__ (self, aItem)
 
def Sort (aLeft, aRight)
 

Public Attributes

 this
 

Static Public Attributes

 StandardMask = staticmethod(StandardMask)
 
 SMDMask = staticmethod(SMDMask)
 
 ConnSMDMask = staticmethod(ConnSMDMask)
 
 UnplatedHoleMask = staticmethod(UnplatedHoleMask)
 
 ApertureMask = staticmethod(ApertureMask)
 
 ClassOf = staticmethod(ClassOf)
 
 Compare = staticmethod(Compare)
 
- Static Public Attributes inherited from pcbnew.BOARD_CONNECTED_ITEM
 ClassOf = staticmethod(ClassOf)
 
- Static Public Attributes inherited from pcbnew.BOARD_ITEM
 ShowShape = staticmethod(ShowShape)
 
- Static Public Attributes inherited from pcbnew.EDA_ITEM
 IterateForward = staticmethod(IterateForward)
 
 Sort = staticmethod(Sort)
 

Detailed Description

Proxy of C++ D_PAD class.

Definition at line 10459 of file pcbnew.py.

Constructor & Destructor Documentation

◆ __init__()

def pcbnew.D_PAD.__init__ (   self,
  parent 
)
__init__(D_PAD self, MODULE parent) -> D_PAD

Definition at line 10472 of file pcbnew.py.

Member Function Documentation

◆ AddPrimitive()

def pcbnew.D_PAD.AddPrimitive (   self,
args 
)
AddPrimitive(D_PAD self, SHAPE_POLY_SET aPoly, int aThickness)
AddPrimitive(D_PAD self, wxPoint_Vector aPoly, int aThickness)
AddPrimitive(D_PAD self, wxPoint aStart, wxPoint aEnd, int aThickness)
AddPrimitive(D_PAD self, wxPoint aCenter, int aRadius, int aThickness)
AddPrimitive(D_PAD self, wxPoint aCenter, wxPoint aStart, int aArcAngle, int aThickness)

Definition at line 10666 of file pcbnew.py.

◆ AddPrimitives()

def pcbnew.D_PAD.AddPrimitives (   self,
  aPrimitivesList 
)
AddPrimitives(D_PAD self, std::vector< PAD_CS_PRIMITIVE,std::allocator< PAD_CS_PRIMITIVE > > const & aPrimitivesList) -> bool

Definition at line 10731 of file pcbnew.py.

◆ ApertureMask()

def pcbnew.D_PAD.ApertureMask ( )
ApertureMask() -> LSET

Definition at line 10504 of file pcbnew.py.

◆ AppendConfigs()

def pcbnew.D_PAD.AppendConfigs (   self,
  aResult 
)
AppendConfigs(D_PAD self, PARAM_CFG_ARRAY * aResult)

Definition at line 11079 of file pcbnew.py.

◆ BuildPadDrillShapePolygon()

def pcbnew.D_PAD.BuildPadDrillShapePolygon (   self,
  aCornerBuffer,
  aInflateValue,
  aSegmentsPerCircle 
)
BuildPadDrillShapePolygon(D_PAD self, SHAPE_POLY_SET aCornerBuffer, int aInflateValue, int aSegmentsPerCircle) -> bool

Definition at line 10943 of file pcbnew.py.

◆ BuildPadPolygon()

def pcbnew.D_PAD.BuildPadPolygon (   self,
  aCoord,
  aInflateValue,
  aRotation 
)
BuildPadPolygon(D_PAD self, wxPoint aCoord, wxSize aInflateValue, double aRotation)

Definition at line 10920 of file pcbnew.py.

◆ BuildPadShapePolygon()

def pcbnew.D_PAD.BuildPadShapePolygon (   self,
  aCornerBuffer,
  aInflateValue,
  aSegmentsPerCircle,
  aCorrectionFactor 
)
BuildPadShapePolygon(D_PAD self, SHAPE_POLY_SET aCornerBuffer, wxSize aInflateValue, int aSegmentsPerCircle, double aCorrectionFactor)

Definition at line 10938 of file pcbnew.py.

◆ BuildSegmentFromOvalShape()

def pcbnew.D_PAD.BuildSegmentFromOvalShape (   self,
  aSegStart,
  aSegEnd,
  aRotation,
  aMargin 
)
BuildSegmentFromOvalShape(D_PAD self, wxPoint aSegStart, wxPoint aSegEnd, double aRotation, wxSize aMargin) -> int

Definition at line 10948 of file pcbnew.py.

◆ ClassOf()

def pcbnew.D_PAD.ClassOf (   aItem)
ClassOf(EDA_ITEM aItem) -> bool

Reimplemented from pcbnew.BOARD_CONNECTED_ITEM.

Definition at line 10510 of file pcbnew.py.

◆ Clone()

def pcbnew.D_PAD.Clone (   self)
Clone(D_PAD self) -> EDA_ITEM

Reimplemented from pcbnew.EDA_ITEM.

Definition at line 11084 of file pcbnew.py.

◆ Compare()

def pcbnew.D_PAD.Compare (   padref,
  padcmp 
)
Compare(D_PAD padref, D_PAD padcmp) -> int

Definition at line 11043 of file pcbnew.py.

◆ ConnSMDMask()

def pcbnew.D_PAD.ConnSMDMask ( )
ConnSMDMask() -> LSET

Definition at line 10492 of file pcbnew.py.

◆ CopyNetlistSettings()

def pcbnew.D_PAD.CopyNetlistSettings (   self,
  aPad,
  aCopyLocalSettings 
)
CopyNetlistSettings(D_PAD self, D_PAD aPad, bool aCopyLocalSettings)

Definition at line 11114 of file pcbnew.py.

◆ CustomShapeAsPolygonToBoardPosition()

def pcbnew.D_PAD.CustomShapeAsPolygonToBoardPosition (   self,
  aMergedPolygon,
  aPosition,
  aRotation 
)
CustomShapeAsPolygonToBoardPosition(D_PAD self, SHAPE_POLY_SET aMergedPolygon, wxPoint aPosition, double aRotation)

Definition at line 10696 of file pcbnew.py.

◆ DeletePrimitivesList()

def pcbnew.D_PAD.DeletePrimitivesList (   self)
DeletePrimitivesList(D_PAD self)

Definition at line 10691 of file pcbnew.py.

◆ Draw()

def pcbnew.D_PAD.Draw (   self,
args 
)
Draw(D_PAD self, EDA_DRAW_PANEL * aPanel, wxDC * aDC, GR_DRAWMODE aDrawMode, wxPoint aOffset)
Draw(D_PAD self, EDA_DRAW_PANEL * aPanel, wxDC * aDC, GR_DRAWMODE aDrawMode)

Reimplemented from pcbnew.BOARD_ITEM.

Definition at line 10907 of file pcbnew.py.

◆ DrawShape()

def pcbnew.D_PAD.DrawShape (   self,
  aClipBox,
  aDC,
  aDrawInfo 
)
DrawShape(D_PAD self, EDA_RECT aClipBox, wxDC * aDC, PAD_DRAWINFO aDrawInfo)

Definition at line 10915 of file pcbnew.py.

◆ Duplicate()

def pcbnew.D_PAD.Duplicate (   self)
Duplicate(D_PAD self) -> D_PAD

Reimplemented from pcbnew.BOARD_ITEM.

Definition at line 11089 of file pcbnew.py.

◆ Flip()

def pcbnew.D_PAD.Flip (   self,
  aCentre 
)
Flip(D_PAD self, wxPoint aCentre)

Definition at line 10711 of file pcbnew.py.

◆ FlipPrimitives()

def pcbnew.D_PAD.FlipPrimitives (   self)
FlipPrimitives(D_PAD self)

Definition at line 10716 of file pcbnew.py.

◆ GetAnchorPadShape()

def pcbnew.D_PAD.GetAnchorPadShape (   self)
GetAnchorPadShape(D_PAD self) -> PAD_SHAPE_T

Definition at line 10576 of file pcbnew.py.

◆ GetAttribute()

def pcbnew.D_PAD.GetAttribute (   self)
GetAttribute(D_PAD self) -> PAD_ATTR_T

Definition at line 10791 of file pcbnew.py.

◆ GetBestAnchorPosition()

def pcbnew.D_PAD.GetBestAnchorPosition (   self,
  aPos 
)
GetBestAnchorPosition(D_PAD self, VECTOR2I aPos) -> bool

Definition at line 10677 of file pcbnew.py.

◆ GetBoundingBox()

def pcbnew.D_PAD.GetBoundingBox (   self)
GetBoundingBox(D_PAD self) -> EDA_RECT

Reimplemented from pcbnew.EDA_ITEM.

Definition at line 11028 of file pcbnew.py.

◆ GetBoundingRadius()

def pcbnew.D_PAD.GetBoundingRadius (   self)
GetBoundingRadius(D_PAD self) -> int

Definition at line 10953 of file pcbnew.py.

◆ GetChamferPositions()

def pcbnew.D_PAD.GetChamferPositions (   self)
GetChamferPositions(D_PAD self) -> int

Definition at line 10983 of file pcbnew.py.

◆ GetChamferRectRatio()

def pcbnew.D_PAD.GetChamferRectRatio (   self)
GetChamferRectRatio(D_PAD self) -> double

Definition at line 10973 of file pcbnew.py.

◆ GetClass()

def pcbnew.D_PAD.GetClass (   self)
GetClass(D_PAD self) -> wxString

Reimplemented from pcbnew.EDA_ITEM.

Definition at line 11023 of file pcbnew.py.

◆ GetClearance()

def pcbnew.D_PAD.GetClearance (   self,
  aItem = None 
)
GetClearance(D_PAD self, BOARD_CONNECTED_ITEM aItem=None) -> int
GetClearance(D_PAD self) -> int

Reimplemented from pcbnew.BOARD_CONNECTED_ITEM.

Definition at line 10859 of file pcbnew.py.

◆ GetCustomShapeAsPolygon()

def pcbnew.D_PAD.GetCustomShapeAsPolygon (   self)
GetCustomShapeAsPolygon(D_PAD self) -> SHAPE_POLY_SET

Definition at line 10706 of file pcbnew.py.

◆ GetCustomShapeInZoneOpt()

def pcbnew.D_PAD.GetCustomShapeInZoneOpt (   self)
GetCustomShapeInZoneOpt(D_PAD self) -> CUST_PAD_SHAPE_IN_ZONE

Definition at line 10581 of file pcbnew.py.

◆ GetDelta()

def pcbnew.D_PAD.GetDelta (   self)
GetDelta(D_PAD self) -> wxSize

Definition at line 10641 of file pcbnew.py.

◆ GetDrillShape()

def pcbnew.D_PAD.GetDrillShape (   self)
GetDrillShape(D_PAD self) -> PAD_DRILL_SHAPE_T

Definition at line 10766 of file pcbnew.py.

◆ GetDrillSize()

def pcbnew.D_PAD.GetDrillSize (   self)
GetDrillSize(D_PAD self) -> wxSize

Definition at line 10651 of file pcbnew.py.

◆ GetLayerSet()

def pcbnew.D_PAD.GetLayerSet (   self)
GetLayerSet(D_PAD self) -> LSET

Reimplemented from pcbnew.BOARD_ITEM.

Definition at line 10781 of file pcbnew.py.

◆ GetLocalClearance()

def pcbnew.D_PAD.GetLocalClearance (   self)
GetLocalClearance(D_PAD self) -> int

Definition at line 10821 of file pcbnew.py.

◆ GetLocalSolderMaskMargin()

def pcbnew.D_PAD.GetLocalSolderMaskMargin (   self)
GetLocalSolderMaskMargin(D_PAD self) -> int

Definition at line 10811 of file pcbnew.py.

◆ GetLocalSolderPasteMargin()

def pcbnew.D_PAD.GetLocalSolderPasteMargin (   self)
GetLocalSolderPasteMargin(D_PAD self) -> int

Definition at line 10831 of file pcbnew.py.

◆ GetLocalSolderPasteMarginRatio()

def pcbnew.D_PAD.GetLocalSolderPasteMarginRatio (   self)
GetLocalSolderPasteMarginRatio(D_PAD self) -> double

Definition at line 10841 of file pcbnew.py.

◆ GetMenuImage()

def pcbnew.D_PAD.GetMenuImage (   self)
GetMenuImage(D_PAD self) -> BITMAP_DEF

Reimplemented from pcbnew.EDA_ITEM.

Definition at line 11064 of file pcbnew.py.

◆ GetMsgPanelInfo()

def pcbnew.D_PAD.GetMsgPanelInfo (   self,
  aUnits,
  aList 
)
GetMsgPanelInfo(D_PAD self, EDA_UNITS_T aUnits, std::vector< MSG_PANEL_ITEM,std::allocator< MSG_PANEL_ITEM > > & aList)

Reimplemented from pcbnew.EDA_ITEM.

Definition at line 11003 of file pcbnew.py.

◆ GetName()

def pcbnew.D_PAD.GetName (   self)
GetName(D_PAD self) -> wxString

Definition at line 10541 of file pcbnew.py.

Here is the caller graph for this function:

◆ GetOblongDrillGeometry()

def pcbnew.D_PAD.GetOblongDrillGeometry (   self,
  aStartPoint,
  aEndPoint,
  aWidth 
)
GetOblongDrillGeometry(D_PAD self, wxPoint aStartPoint, wxPoint aEndPoint, int & aWidth)

Definition at line 10771 of file pcbnew.py.

◆ GetOffset()

def pcbnew.D_PAD.GetOffset (   self)
GetOffset(D_PAD self) -> wxPoint

Definition at line 10661 of file pcbnew.py.

◆ GetOrientation()

def pcbnew.D_PAD.GetOrientation (   self)
GetOrientation(D_PAD self) -> double

Definition at line 10746 of file pcbnew.py.

◆ GetOrientationDegrees()

def pcbnew.D_PAD.GetOrientationDegrees (   self)
GetOrientationDegrees(D_PAD self) -> double

Definition at line 10751 of file pcbnew.py.

◆ GetOrientationRadians()

def pcbnew.D_PAD.GetOrientationRadians (   self)
GetOrientationRadians(D_PAD self) -> double

Definition at line 10756 of file pcbnew.py.

◆ GetPadName()

def pcbnew.D_PAD.GetPadName (   self)

Definition at line 11132 of file pcbnew.py.

◆ GetPadToDieLength()

def pcbnew.D_PAD.GetPadToDieLength (   self)
GetPadToDieLength(D_PAD self) -> int

Definition at line 10806 of file pcbnew.py.

◆ GetParent()

def pcbnew.D_PAD.GetParent (   self)
GetParent(D_PAD self) -> MODULE

Reimplemented from pcbnew.BOARD_ITEM.

Definition at line 10521 of file pcbnew.py.

◆ GetPos0()

def pcbnew.D_PAD.GetPos0 (   self)
GetPos0(D_PAD self) -> wxPoint

Definition at line 10611 of file pcbnew.py.

◆ GetPosition()

def pcbnew.D_PAD.GetPosition (   self)
GetPosition(D_PAD self) -> wxPoint

Reimplemented from pcbnew.BOARD_ITEM.

Definition at line 10571 of file pcbnew.py.

◆ GetPrimitives()

def pcbnew.D_PAD.GetPrimitives (   self)
GetPrimitives(D_PAD self) -> std::vector< PAD_CS_PRIMITIVE,std::allocator< PAD_CS_PRIMITIVE > > const &

Definition at line 10701 of file pcbnew.py.

◆ GetRoundRectCornerRadius()

def pcbnew.D_PAD.GetRoundRectCornerRadius (   self,
args 
)
GetRoundRectCornerRadius(D_PAD self) -> int
GetRoundRectCornerRadius(D_PAD self, wxSize aSize) -> int

Definition at line 10925 of file pcbnew.py.

◆ GetRoundRectRadiusRatio()

def pcbnew.D_PAD.GetRoundRectRadiusRatio (   self)
GetRoundRectRadiusRatio(D_PAD self) -> double

Definition at line 10963 of file pcbnew.py.

◆ GetSelectMenuText()

def pcbnew.D_PAD.GetSelectMenuText (   self,
  aUnits 
)
GetSelectMenuText(D_PAD self, EDA_UNITS_T aUnits) -> wxString

Reimplemented from pcbnew.EDA_ITEM.

Definition at line 11059 of file pcbnew.py.

◆ GetShape()

def pcbnew.D_PAD.GetShape (   self)
GetShape(D_PAD self) -> PAD_SHAPE_T

Definition at line 10556 of file pcbnew.py.

Here is the caller graph for this function:

◆ GetSize()

def pcbnew.D_PAD.GetSize (   self)
GetSize(D_PAD self) -> wxSize

Definition at line 10631 of file pcbnew.py.

◆ GetSolderMaskMargin()

def pcbnew.D_PAD.GetSolderMaskMargin (   self)
GetSolderMaskMargin(D_PAD self) -> int

Definition at line 10867 of file pcbnew.py.

◆ GetSolderPasteMargin()

def pcbnew.D_PAD.GetSolderPasteMargin (   self)
GetSolderPasteMargin(D_PAD self) -> wxSize

Definition at line 10872 of file pcbnew.py.

◆ GetSubRatsnest()

def pcbnew.D_PAD.GetSubRatsnest (   self)
GetSubRatsnest(D_PAD self) -> int

Definition at line 10993 of file pcbnew.py.

◆ GetThermalGap()

def pcbnew.D_PAD.GetThermalGap (   self)
GetThermalGap(D_PAD self) -> int

Definition at line 10902 of file pcbnew.py.

◆ GetThermalWidth()

def pcbnew.D_PAD.GetThermalWidth (   self)
GetThermalWidth(D_PAD self) -> int

Definition at line 10892 of file pcbnew.py.

◆ GetZoneConnection()

def pcbnew.D_PAD.GetZoneConnection (   self)
GetZoneConnection(D_PAD self) -> ZoneConnection

Definition at line 10882 of file pcbnew.py.

◆ HitTest()

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

Reimplemented from pcbnew.EDA_ITEM.

Definition at line 11013 of file pcbnew.py.

◆ ImportSettingsFromMaster()

def pcbnew.D_PAD.ImportSettingsFromMaster (   self,
  aMasterPad 
)
ImportSettingsFromMaster(D_PAD self, D_PAD aMasterPad)

Definition at line 10526 of file pcbnew.py.

◆ IncrementPadName()

def pcbnew.D_PAD.IncrementPadName (   self,
  aSkipUnconnectable,
  aFillSequenceGaps 
)
IncrementPadName(D_PAD self, bool aSkipUnconnectable, bool aFillSequenceGaps) -> bool

Definition at line 10546 of file pcbnew.py.

◆ IsAperturePad()

def pcbnew.D_PAD.IsAperturePad (   self)
IsAperturePad(D_PAD self) -> bool

Definition at line 10796 of file pcbnew.py.

◆ IsFlipped()

def pcbnew.D_PAD.IsFlipped (   self)
IsFlipped(D_PAD self) -> bool

Definition at line 10531 of file pcbnew.py.

◆ IsOnLayer()

def pcbnew.D_PAD.IsOnLayer (   self,
  aLayer 
)
IsOnLayer(D_PAD self, PCB_LAYER_ID aLayer) -> bool

Reimplemented from pcbnew.BOARD_ITEM.

Definition at line 11008 of file pcbnew.py.

◆ MergePrimitivesAsPolygon()

def pcbnew.D_PAD.MergePrimitivesAsPolygon (   self,
args 
)
MergePrimitivesAsPolygon(D_PAD self, SHAPE_POLY_SET aMergedPolygon=None, int aCircleToSegmentsCount) -> bool
MergePrimitivesAsPolygon(D_PAD self, SHAPE_POLY_SET aMergedPolygon=None) -> bool
MergePrimitivesAsPolygon(D_PAD self) -> bool

Definition at line 10682 of file pcbnew.py.

◆ MirrorXPrimitives()

def pcbnew.D_PAD.MirrorXPrimitives (   self,
  aX 
)
MirrorXPrimitives(D_PAD self, int aX)

Definition at line 10721 of file pcbnew.py.

◆ Move()

def pcbnew.D_PAD.Move (   self,
  aMoveVector 
)
Move(D_PAD self, wxPoint aMoveVector)

Definition at line 11049 of file pcbnew.py.

◆ Next()

def pcbnew.D_PAD.Next (   self)
Next(D_PAD self) -> D_PAD

Reimplemented from pcbnew.BOARD_ITEM.

Definition at line 10516 of file pcbnew.py.

◆ PadNameEqual()

def pcbnew.D_PAD.PadNameEqual (   self,
  other 
)
PadNameEqual(D_PAD self, D_PAD other) -> bool

Definition at line 10551 of file pcbnew.py.

◆ PadShouldBeNPTH()

def pcbnew.D_PAD.PadShouldBeNPTH (   self)
PadShouldBeNPTH(D_PAD self) -> bool

Definition at line 11094 of file pcbnew.py.

◆ Rotate()

def pcbnew.D_PAD.Rotate (   self,
  aRotCentre,
  aAngle 
)
Rotate(D_PAD self, wxPoint aRotCentre, double aAngle)

Definition at line 11054 of file pcbnew.py.

◆ SetAnchorPadShape()

def pcbnew.D_PAD.SetAnchorPadShape (   self,
  aShape 
)
SetAnchorPadShape(D_PAD self, PAD_SHAPE_T aShape)

Definition at line 10591 of file pcbnew.py.

◆ SetAttribute()

def pcbnew.D_PAD.SetAttribute (   self,
  aAttribute 
)
SetAttribute(D_PAD self, PAD_ATTR_T aAttribute)

Definition at line 10786 of file pcbnew.py.

◆ SetChamferPositions()

def pcbnew.D_PAD.SetChamferPositions (   self,
  aChamferPositions 
)
SetChamferPositions(D_PAD self, int aChamferPositions)

Definition at line 10988 of file pcbnew.py.

◆ SetChamferRectRatio()

def pcbnew.D_PAD.SetChamferRectRatio (   self,
  aChamferScale 
)
SetChamferRectRatio(D_PAD self, double aChamferScale)

Definition at line 10978 of file pcbnew.py.

◆ SetCustomShapeInZoneOpt()

def pcbnew.D_PAD.SetCustomShapeInZoneOpt (   self,
  aOption 
)
SetCustomShapeInZoneOpt(D_PAD self, CUST_PAD_SHAPE_IN_ZONE aOption)

Definition at line 10586 of file pcbnew.py.

◆ SetDelta()

def pcbnew.D_PAD.SetDelta (   self,
  aSize 
)
SetDelta(D_PAD self, wxSize aSize)

Definition at line 10636 of file pcbnew.py.

◆ SetDrawCoord()

def pcbnew.D_PAD.SetDrawCoord (   self)
SetDrawCoord(D_PAD self)

Definition at line 11033 of file pcbnew.py.

◆ SetDrillShape()

def pcbnew.D_PAD.SetDrillShape (   self,
  aDrillShape 
)
SetDrillShape(D_PAD self, PAD_DRILL_SHAPE_T aDrillShape)

Definition at line 10761 of file pcbnew.py.

◆ SetDrillSize()

def pcbnew.D_PAD.SetDrillSize (   self,
  aSize 
)
SetDrillSize(D_PAD self, wxSize aSize)

Definition at line 10646 of file pcbnew.py.

◆ SetLayerSet()

def pcbnew.D_PAD.SetLayerSet (   self,
  aLayerMask 
)
SetLayerSet(D_PAD self, LSET aLayerMask)

Definition at line 10776 of file pcbnew.py.

◆ SetLocalClearance()

def pcbnew.D_PAD.SetLocalClearance (   self,
  aClearance 
)
SetLocalClearance(D_PAD self, int aClearance)

Definition at line 10826 of file pcbnew.py.

◆ SetLocalCoord()

def pcbnew.D_PAD.SetLocalCoord (   self)
SetLocalCoord(D_PAD self)

Definition at line 11038 of file pcbnew.py.

◆ SetLocalSolderMaskMargin()

def pcbnew.D_PAD.SetLocalSolderMaskMargin (   self,
  aMargin 
)
SetLocalSolderMaskMargin(D_PAD self, int aMargin)

Definition at line 10816 of file pcbnew.py.

◆ SetLocalSolderPasteMargin()

def pcbnew.D_PAD.SetLocalSolderPasteMargin (   self,
  aMargin 
)
SetLocalSolderPasteMargin(D_PAD self, int aMargin)

Definition at line 10836 of file pcbnew.py.

◆ SetLocalSolderPasteMarginRatio()

def pcbnew.D_PAD.SetLocalSolderPasteMarginRatio (   self,
  aRatio 
)
SetLocalSolderPasteMarginRatio(D_PAD self, double aRatio)

Definition at line 10846 of file pcbnew.py.

◆ SetName()

def pcbnew.D_PAD.SetName (   self,
  aName 
)
SetName(D_PAD self, wxString aName)

Definition at line 10536 of file pcbnew.py.

Here is the caller graph for this function:

◆ SetOffset()

def pcbnew.D_PAD.SetOffset (   self,
  aOffset 
)
SetOffset(D_PAD self, wxPoint aOffset)

Definition at line 10656 of file pcbnew.py.

◆ SetOrientation()

def pcbnew.D_PAD.SetOrientation (   self,
  aAngle 
)
SetOrientation(D_PAD self, double aAngle)

Definition at line 10736 of file pcbnew.py.

◆ SetOrientationDegrees()

def pcbnew.D_PAD.SetOrientationDegrees (   self,
  aOrientation 
)
SetOrientationDegrees(D_PAD self, double aOrientation)

Definition at line 10741 of file pcbnew.py.

◆ SetPadName()

def pcbnew.D_PAD.SetPadName (   self,
  aName 
)

Definition at line 11127 of file pcbnew.py.

◆ SetPadToDieLength()

def pcbnew.D_PAD.SetPadToDieLength (   self,
  aLength 
)
SetPadToDieLength(D_PAD self, int aLength)

Definition at line 10801 of file pcbnew.py.

◆ SetPos0()

def pcbnew.D_PAD.SetPos0 (   self,
  aPos 
)
SetPos0(D_PAD self, wxPoint aPos)

Definition at line 10606 of file pcbnew.py.

Here is the caller graph for this function:

◆ SetPosition()

def pcbnew.D_PAD.SetPosition (   self,
  aPos 
)
SetPosition(D_PAD self, wxPoint aPos)

Reimplemented from pcbnew.BOARD_ITEM.

Definition at line 10566 of file pcbnew.py.

◆ SetPrimitives()

def pcbnew.D_PAD.SetPrimitives (   self,
  aPrimitivesList 
)
SetPrimitives(D_PAD self, std::vector< PAD_CS_PRIMITIVE,std::allocator< PAD_CS_PRIMITIVE > > const & aPrimitivesList) -> bool

Definition at line 10726 of file pcbnew.py.

◆ SetRoundRectCornerRadius()

def pcbnew.D_PAD.SetRoundRectCornerRadius (   self,
  aRadius 
)
SetRoundRectCornerRadius(D_PAD self, double aRadius)

Definition at line 10933 of file pcbnew.py.

◆ SetRoundRectRadiusRatio()

def pcbnew.D_PAD.SetRoundRectRadiusRatio (   self,
  aRadiusScale 
)
SetRoundRectRadiusRatio(D_PAD self, double aRadiusScale)

Definition at line 10968 of file pcbnew.py.

◆ SetShape()

def pcbnew.D_PAD.SetShape (   self,
  aShape 
)
SetShape(D_PAD self, PAD_SHAPE_T aShape)

Definition at line 10561 of file pcbnew.py.

◆ SetSize()

def pcbnew.D_PAD.SetSize (   self,
  aSize 
)
SetSize(D_PAD self, wxSize aSize)

Definition at line 10626 of file pcbnew.py.

◆ SetSubRatsnest()

def pcbnew.D_PAD.SetSubRatsnest (   self,
  aSubRatsnest 
)
SetSubRatsnest(D_PAD self, int aSubRatsnest)

Definition at line 10998 of file pcbnew.py.

◆ SetThermalGap()

def pcbnew.D_PAD.SetThermalGap (   self,
  aGap 
)
SetThermalGap(D_PAD self, int aGap)

Definition at line 10897 of file pcbnew.py.

◆ SetThermalWidth()

def pcbnew.D_PAD.SetThermalWidth (   self,
  aWidth 
)
SetThermalWidth(D_PAD self, int aWidth)

Definition at line 10887 of file pcbnew.py.

◆ SetX()

def pcbnew.D_PAD.SetX (   self,
  x 
)
SetX(D_PAD self, int x)

Definition at line 10601 of file pcbnew.py.

◆ SetX0()

def pcbnew.D_PAD.SetX0 (   self,
  x 
)
SetX0(D_PAD self, int x)

Definition at line 10621 of file pcbnew.py.

◆ SetY()

def pcbnew.D_PAD.SetY (   self,
  y 
)
SetY(D_PAD self, int y)

Definition at line 10596 of file pcbnew.py.

◆ SetY0()

def pcbnew.D_PAD.SetY0 (   self,
  y 
)
SetY0(D_PAD self, int y)

Definition at line 10616 of file pcbnew.py.

◆ SetZoneConnection()

def pcbnew.D_PAD.SetZoneConnection (   self,
  aType 
)
SetZoneConnection(D_PAD self, ZoneConnection aType)

Definition at line 10877 of file pcbnew.py.

◆ ShapePos()

def pcbnew.D_PAD.ShapePos (   self)
ShapePos(D_PAD self) -> wxPoint

Definition at line 10958 of file pcbnew.py.

◆ ShowPadAttr()

def pcbnew.D_PAD.ShowPadAttr (   self)
ShowPadAttr(D_PAD self) -> wxString

Definition at line 11074 of file pcbnew.py.

◆ ShowPadShape()

def pcbnew.D_PAD.ShowPadShape (   self)
ShowPadShape(D_PAD self) -> wxString

Definition at line 11069 of file pcbnew.py.

◆ SMDMask()

def pcbnew.D_PAD.SMDMask ( )
SMDMask() -> LSET

Definition at line 10486 of file pcbnew.py.

◆ StandardMask()

def pcbnew.D_PAD.StandardMask ( )
StandardMask() -> LSET

Definition at line 10480 of file pcbnew.py.

◆ SwapData()

def pcbnew.D_PAD.SwapData (   self,
  aImage 
)
SwapData(D_PAD self, BOARD_ITEM aImage)

Reimplemented from pcbnew.BOARD_ITEM.

Definition at line 11119 of file pcbnew.py.

◆ TransformShapeWithClearanceToPolygon()

def pcbnew.D_PAD.TransformShapeWithClearanceToPolygon (   self,
  aCornerBuffer,
  aClearanceValue,
  aCircleToSegmentsCount,
  aCorrectionFactor,
  ignoreLineWidth = False 
)
TransformShapeWithClearanceToPolygon(D_PAD self, SHAPE_POLY_SET aCornerBuffer, int aClearanceValue, int aCircleToSegmentsCount, double aCorrectionFactor, bool ignoreLineWidth=False)
TransformShapeWithClearanceToPolygon(D_PAD self, SHAPE_POLY_SET aCornerBuffer, int aClearanceValue, int aCircleToSegmentsCount, double aCorrectionFactor)

Reimplemented from pcbnew.BOARD_ITEM.

Definition at line 10851 of file pcbnew.py.

◆ UnplatedHoleMask()

def pcbnew.D_PAD.UnplatedHoleMask ( )
UnplatedHoleMask() -> LSET

Definition at line 10498 of file pcbnew.py.

◆ ViewBBox()

def pcbnew.D_PAD.ViewBBox (   self)
ViewBBox(D_PAD self) -> BOX2I const

Reimplemented from pcbnew.EDA_ITEM.

Definition at line 11109 of file pcbnew.py.

◆ ViewGetLayers()

def pcbnew.D_PAD.ViewGetLayers (   self,
  aLayers,
  aCount 
)
ViewGetLayers(D_PAD self, int [] aLayers, int & aCount)

Reimplemented from pcbnew.BOARD_ITEM.

Definition at line 11099 of file pcbnew.py.

◆ ViewGetLOD()

def pcbnew.D_PAD.ViewGetLOD (   self,
  aLayer,
  aView 
)
ViewGetLOD(D_PAD self, int aLayer, KIGFX::VIEW * aView) -> unsigned int

Definition at line 11104 of file pcbnew.py.

Member Data Documentation

◆ ApertureMask

pcbnew.D_PAD.ApertureMask = staticmethod(ApertureMask)
static

Definition at line 10508 of file pcbnew.py.

◆ ClassOf

pcbnew.D_PAD.ClassOf = staticmethod(ClassOf)
static

Definition at line 10514 of file pcbnew.py.

◆ Compare

pcbnew.D_PAD.Compare = staticmethod(Compare)
static

Definition at line 11047 of file pcbnew.py.

◆ ConnSMDMask

pcbnew.D_PAD.ConnSMDMask = staticmethod(ConnSMDMask)
static

Definition at line 10496 of file pcbnew.py.

◆ SMDMask

pcbnew.D_PAD.SMDMask = staticmethod(SMDMask)
static

Definition at line 10490 of file pcbnew.py.

◆ StandardMask

pcbnew.D_PAD.StandardMask = staticmethod(StandardMask)
static

Definition at line 10484 of file pcbnew.py.

◆ this

pcbnew.D_PAD.this

Definition at line 10478 of file pcbnew.py.

◆ UnplatedHoleMask

pcbnew.D_PAD.UnplatedHoleMask = staticmethod(UnplatedHoleMask)
static

Definition at line 10502 of file pcbnew.py.


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