KiCad Pcbnew Python Scripting
Loading...
Searching...
No Matches
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)
 
def Serialize (self, aContainer)
 
def Deserialize (self, aContainer)
 
def ImportSettingsFrom (self, aMasterPad)
 
def IsFlipped (self)
 
def SetNumber (self, aNumber)
 
def GetNumber (self)
 
def CanHaveNumber (self)
 
def SetPinFunction (self, aName)
 
def GetPinFunction (self)
 
def SetPinType (self, aType)
 
def GetPinType (self)
 
def SameLogicalPadAs (self, aOther)
 
def SharesNetTieGroup (self, aOther)
 
def IsNoConnectPad (self)
 
def IsFreePad (self)
 
def SetFrontShape (self, aShape)
 
def GetFrontShape (self)
 
def GetAnchorPadShape (self, aLayer)
 
def GetCustomShapeInZoneOpt (self)
 
def SetCustomShapeInZoneOpt (self, aOption)
 
def SetAnchorPadShape (self, aLayer, aShape)
 
def SetY (self, y)
 
def SetX (self, x)
 
def SetSizeX (self, aX)
 
def GetSizeX (self)
 
def SetSizeY (self, aY)
 
def GetSizeY (self)
 
def SetDrillSize (self, aSize)
 
def GetDrillSize (self)
 
def SetDrillSizeX (self, aX)
 
def GetDrillSizeX (self)
 
def SetDrillSizeY (self, aY)
 
def GetDrillSizeY (self)
 
def Padstack (self, *args)
 
def SetPadstack (self, aPadstack)
 
def AddPrimitivePoly (self, *args)
 
def MergePrimitivesAsPolygon (self, aLayer, aMergedPolygon, aErrorLoc=ERROR_INSIDE)
 
def DeletePrimitivesList (self, aLayer=UNDEFINED_LAYER)
 
def GetPrimitives (self, aLayer)
 
def FlipPrimitives (self, aFlipDirection)
 
def ReplacePrimitives (self, aLayer, aPrimitivesList)
 
def AppendPrimitives (self, aLayer, aPrimitivesList)
 
def AddPrimitiveShape (self, aLayer, aPrimitive)
 
def SetOrientation (self, aAngle)
 
def SetFPRelativeOrientation (self, aAngle)
 
def GetOrientation (self)
 
def GetFPRelativeOrientation (self)
 
def SetOrientationDegrees (self, aOrientation)
 
def GetOrientationDegrees (self)
 
def SetDrillShape (self, aShape)
 
def GetDrillShape (self)
 
def IsDirty (self)
 
def SetDirty (self)
 
def SetAttribute (self, aAttribute)
 
def GetAttribute (self)
 
def SetProperty (self, aProperty)
 
def GetProperty (self)
 
def IsAperturePad (self)
 
def SetPadToDieLength (self, aLength)
 
def GetPadToDieLength (self)
 
def SetPadToDieDelay (self, aDelay)
 
def GetPadToDieDelay (self)
 
def SetLocalClearance (self, aClearance)
 
def GetLocalSolderMaskMargin (self)
 
def SetLocalSolderMaskMargin (self, aMargin)
 
def GetLocalSolderPasteMargin (self)
 
def SetLocalSolderPasteMargin (self, aMargin)
 
def GetLocalSolderPasteMarginRatio (self)
 
def SetLocalSolderPasteMarginRatio (self, aRatio)
 
def SetLocalZoneConnection (self, aType)
 
def GetLocalZoneConnection (self)
 
def GetOwnClearance (self, aLayer, aSource=None)
 
def TransformShapeToPolygon (self, aBuffer, aLayer, aClearance, aMaxError, aErrorLoc=ERROR_INSIDE, ignoreLineWidth=False)
 
def TransformHoleToPolygon (self, aBuffer, aClearance, aError, aErrorLoc=ERROR_INSIDE)
 
def GetEffectiveShape (self, *args)
 
def GetEffectivePolygon (self, aLayer, aErrorLoc=ERROR_INSIDE)
 
def GetBoundingRadius (self)
 
def GetLocalClearance (self, *args)
 
def GetSolderMaskExpansion (self, aLayer)
 
def GetSolderPasteMargin (self, aLayer)
 
def GetZoneConnectionOverrides (self, aSource=None)
 
def SetLocalThermalSpokeWidthOverride (self, aWidth)
 
def GetLocalThermalSpokeWidthOverride (self)
 
def GetLocalSpokeWidthOverride (self, aSource=None)
 
def SetThermalSpokeAngle (self, aAngle)
 
def GetThermalSpokeAngle (self)
 
def SetThermalSpokeAngleDegrees (self, aAngle)
 
def GetThermalSpokeAngleDegrees (self)
 
def SetThermalGap (self, aGap)
 
def GetThermalGap (self)
 
def GetLocalThermalGapOverride (self, *args)
 
def SetLocalThermalGapOverride (self, aOverride)
 
def ShapePos (self, aLayer)
 
def SetFrontRoundRectRadiusRatio (self, aRadiusScale)
 
def GetFrontRoundRectRadiusRatio (self)
 
def SetFrontRoundRectRadiusSize (self, aRadius)
 
def GetFrontRoundRectRadiusSize (self)
 
def GetSubRatsnest (self)
 
def SetSubRatsnest (self, aSubRatsnest)
 
def SetRemoveUnconnected (self, aSet)
 
def GetRemoveUnconnected (self)
 
def SetKeepTopBottom (self, aSet)
 
def GetKeepTopBottom (self)
 
def SetUnconnectedLayerMode (self, aMode)
 
def GetUnconnectedLayerMode (self)
 
def ConditionallyFlashed (self, aLayer)
 
def CanFlashLayer (self, aLayer)
 
def GetPrincipalLayer (self)
 
def FlashLayer (self, *args)
 
def HitTest (self, *args)
 
def Recombine (self, aIsDryRun, aMaxError)
 
def GetClass (self)
 
def GetBoundingBox (self, *args)
 
def ShowPadShape (self, aLayer)
 
def ShowPadAttr (self)
 
def ClonePad (self)
 
def BuildEffectiveShapes (self)
 
def BuildEffectivePolygon (self, aErrorLoc=ERROR_INSIDE)
 
def ViewGetLOD (self, aLayer, aView)
 
def ClearZoneLayerOverrides (self)
 
def GetZoneLayerOverride (self, aLayer)
 
def SetZoneLayerOverride (self, aLayer, aOverride)
 
def CheckPad (self, aUnitsProvider, aForPadProperties, aErrorHandler)
 
def __eq__ (self, *args)
 
def GetShape (self, *args)
 
def SetShape (self, *args)
 
def GetSize (self, *args)
 
def SetSize (self, *args)
 
def GetDelta (self, *args)
 
def SetDelta (self, *args)
 
def GetOffset (self, *args)
 
def SetOffset (self, *args)
 
def GetRoundRectCornerRadius (self, *args)
 
def SetRoundRectCornerRadius (self, *args)
 
def GetRoundRectRadiusRatio (self, *args)
 
def SetRoundRectRadiusRatio (self, *args)
 
def GetChamferRectRatio (self, *args)
 
def SetChamferRectRatio (self, *args)
 
def GetChamferPositions (self, *args)
 
def SetChamferPositions (self, *args)
 
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)
 
def GetNet (self)
 
def SetNet (self, aNetInfo)
 
def UnpackNet (self, aProto)
 
def PackNet (self, aProto)
 
def GetNetCode (self)
 
def SetNetCode (self, *args)
 
def GetNetname (self)
 
def GetNetnameMsg (self)
 
def GetShortNetname (self)
 
def GetDisplayNetname (self)
 
def GetOwnClearance (self, aLayer, aSource=None)
 
def GetClearanceOverrides (self, aSource)
 
def GetLocalClearance (self, *args)
 
def GetEffectiveNetClass (self)
 
def GetNetClassName (self)
 
def SetLocalRatsnestVisible (self, aVisible)
 
def GetLocalRatsnestVisible (self)
 
def GetTeardropParams (self, *args)
 
def SetTeardropsEnabled (self, aEnable)
 
def GetTeardropsEnabled (self)
 
def SetTeardropBestLengthRatio (self, aRatio)
 
def GetTeardropBestLengthRatio (self)
 
def SetTeardropMaxLength (self, aMaxLength)
 
def GetTeardropMaxLength (self)
 
def SetTeardropBestWidthRatio (self, aRatio)
 
def GetTeardropBestWidthRatio (self)
 
def SetTeardropMaxWidth (self, aMaxWidth)
 
def GetTeardropMaxWidth (self)
 
def SetTeardropCurved (self, aCurve)
 
def GetTeardropCurved (self)
 
def SetTeardropPreferZoneConnections (self, aPrefer)
 
def GetTeardropPreferZoneConnections (self)
 
def SetTeardropAllowSpanTwoTracks (self, aAllow)
 
def GetTeardropAllowSpanTwoTracks (self)
 
def SetTeardropMaxTrackWidth (self, aRatio)
 
def GetTeardropMaxTrackWidth (self)
 
- Public Member Functions inherited from pcbnew.BOARD_ITEM
def __init__ (self, *args, **kwargs)
 
def CopyFrom (self, aOther)
 
def IsGroupableType (self)
 
def GetX (self)
 
def GetY (self)
 
def GetCenter (self)
 
def SetX (self, aX)
 
def SetY (self, aY)
 
def IsConnected (self)
 
def Similarity (self, aItem)
 
def __eq__ (self, aItem)
 
def IsOnCopperLayer (self)
 
def HasHole (self)
 
def HasDrilledHole (self)
 
def IsTented (self, aLayer)
 
def GetEffectiveShape (self, *args)
 
def GetEffectiveHoleShape (self)
 
def RunOnChildren (self, aFunction, aMode)
 
def GetParent (self)
 
def GetParentFootprint (self)
 
def GetFPRelativePosition (self)
 
def SetFPRelativePosition (self, aPos)
 
def HasLineStroke (self)
 
def GetStroke (self)
 
def SetStroke (self, aStroke)
 
def GetFontMetrics (self)
 
def GetLayer (self)
 
def BoardLayerCount (self)
 
def BoardCopperLayerCount (self)
 
def BoardLayerSet (self)
 
def GetLayerSet (self)
 
def SetLayerSet (self, aLayers)
 
def IsSideSpecific (self)
 
def SetLayer (self, aLayer)
 
def Duplicate (self, addToParentGroup, aCommit=None)
 
def SwapItemData (self, aImage)
 
def IsOnLayer (self, aLayer)
 
def IsKnockout (self)
 
def SetIsKnockout (self, aKnockout)
 
def GetMaxError (self)
 
def StyleFromSettings (self, settings)
 
def DeleteStructure (self)
 
def Move (self, aMoveVector)
 
def Rotate (self, aRotCentre, aAngle)
 
def Flip (self, aCentre, aFlipDirection)
 
def Mirror (self, aCentre, aFlipDirection)
 
def Normalize (self)
 
def NormalizeForCompare (self)
 
def GetBoard (self, *args)
 
def GetParentAsString (self)
 
def GetLayerName (self)
 
def TransformShapeToPolygon (self, aBuffer, aLayer, aClearance, aError, aErrorLoc, ignoreLineWidth=False)
 
def TransformShapeToPolySet (self, aBuffer, aLayer, aClearance, aError, aErrorLoc)
 
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)
 
def Type (self)
 
def GetParent (self)
 
def SetParent (self, aParent)
 
def SetParentGroup (self, aGroup)
 
def GetParentGroup (self)
 
def GetParentGroupId (self)
 
def IsLocked (self)
 
def SetLocked (self, aLocked)
 
def IsModified (self)
 
def IsNew (self)
 
def IsMoving (self)
 
def IsSelected (self)
 
def IsEntered (self)
 
def IsBrightened (self)
 
def IsRollover (self)
 
def SetIsRollover (self, aIsRollover)
 
def SetSelected (self)
 
def SetBrightened (self)
 
def ClearSelected (self)
 
def ClearBrightened (self)
 
def SetModified (self)
 
def SetFlags (self, aMask)
 
def XorFlags (self, aMask)
 
def ClearFlags (self, *args)
 
def GetFlags (self)
 
def HasFlag (self, aFlag)
 
def GetEditFlags (self)
 
def ClearEditFlags (self)
 
def GetTempFlags (self)
 
def ClearTempFlags (self)
 
def RenderAsBitmap (self, aWorldScale)
 
def SetIsShownAsBitmap (self, aBitmap)
 
def IsShownAsBitmap (self)
 
def IsType (self, aScanTypes)
 
def SetForceVisible (self, aEnable)
 
def IsForceVisible (self)
 
def GetMsgPanelInfo (self, aFrame, aList)
 
def GetFriendlyName (self)
 
def HitTest (self, *args)
 
def GetBoundingBox (self)
 
def GetPosition (self)
 
def SetPosition (self, aPos)
 
def GetFocusPosition (self)
 
def GetSortPosition (self)
 
def Clone (self)
 
def Visit (self, inspector, testData, aScanTypes)
 
def GetTypeDesc (self)
 
def GetItemDescription (self, aUnitsProvider, aFull)
 
def GetMenuImage (self)
 
def Matches (self, aSearchData, aAuxData)
 
def Replace (self, *args)
 
def IsReplaceable (self)
 
def __lt__ (self, aItem)
 
def ViewBBox (self)
 
def ViewGetLayers (self)
 
def GetEmbeddedFiles (self)
 
def GetEmbeddedFonts (self)
 
def PyGetClass (self)
 
def GetClass (self)
 

Static Public Member Functions

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

Properties

property 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
property thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
 
- Properties inherited from pcbnew.BOARD_ITEM
property thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
 
- Properties inherited from pcbnew.EDA_ITEM
property thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
 
property m_Uuid = property(_pcbnew.EDA_ITEM_m_Uuid_get, doc=)
 

Additional Inherited Members

- Static Public Attributes inherited from pcbnew.BOARD_ITEM
_pcbnew DRC = _pcbnew.BOARD_ITEM_DRC
 
_pcbnew INSTANCE_TO_INSTANCE = _pcbnew.BOARD_ITEM_INSTANCE_TO_INSTANCE
 

Detailed Description

Proxy of C++ PAD class.

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

Here is the caller graph for this function:

Member Function Documentation

◆ __eq__()

def pcbnew.PAD.__eq__ (   self,
args 
)
    __eq__(PAD self, PAD aOther) -> bool
    __eq__(PAD self, BOARD_ITEM aBoardItem) -> bool

Reimplemented from pcbnew.BOARD_ITEM.

Definition at line 14600 of file pcbnew.py.

Here is the caller graph for this function:

◆ AddPrimitive()

def pcbnew.PAD.AddPrimitive (   self,
args 
)

Definition at line 14740 of file pcbnew.py.

◆ AddPrimitivePoly()

def pcbnew.PAD.AddPrimitivePoly (   self,
args 
)
    AddPrimitivePoly(PAD self, PCB_LAYER_ID aLayer, SHAPE_POLY_SET aPoly, int aThickness, bool aFilled)
    AddPrimitivePoly(PAD self, PCB_LAYER_ID aLayer, VECTOR_VECTOR2I aPoly, int aThickness, bool aFilled)

Definition at line 14224 of file pcbnew.py.

Here is the caller graph for this function:

◆ AddPrimitiveShape()

def pcbnew.PAD.AddPrimitiveShape (   self,
  aLayer,
  aPrimitive 
)
AddPrimitiveShape(PAD self, PCB_LAYER_ID aLayer, PCB_SHAPE aPrimitive)

Definition at line 14255 of file pcbnew.py.

Here is the caller graph for this function:

◆ ApertureMask()

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

Definition at line 14080 of file pcbnew.py.

◆ AppendPrimitives()

def pcbnew.PAD.AppendPrimitives (   self,
  aLayer,
  aPrimitivesList 
)
AppendPrimitives(PAD self, PCB_LAYER_ID aLayer, std::vector< std::shared_ptr< PCB_SHAPE >,std::allocator< std::shared_ptr< PCB_SHAPE > > > const & aPrimitivesList)

Definition at line 14251 of file pcbnew.py.

◆ BuildEffectivePolygon()

def pcbnew.PAD.BuildEffectivePolygon (   self,
  aErrorLoc = ERROR_INSIDE 
)
BuildEffectivePolygon(PAD self, ERROR_LOC aErrorLoc=ERROR_INSIDE)

Definition at line 14576 of file pcbnew.py.

◆ BuildEffectiveShapes()

def pcbnew.PAD.BuildEffectiveShapes (   self)
BuildEffectiveShapes(PAD self)

Definition at line 14572 of file pcbnew.py.

◆ CanFlashLayer()

def pcbnew.PAD.CanFlashLayer (   self,
  aLayer 
)
CanFlashLayer(PAD self, int aLayer) -> bool

Definition at line 14517 of file pcbnew.py.

◆ CanHaveNumber()

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

Definition at line 14105 of file pcbnew.py.

◆ CheckPad()

def pcbnew.PAD.CheckPad (   self,
  aUnitsProvider,
  aForPadProperties,
  aErrorHandler 
)
CheckPad(PAD self, UNITS_PROVIDER aUnitsProvider, bool aForPadProperties, std::function< void (int,wxString const &) > const & aErrorHandler)

Definition at line 14596 of file pcbnew.py.

◆ ClassOf()

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

Reimplemented from pcbnew.BOARD_CONNECTED_ITEM.

Definition at line 14085 of file pcbnew.py.

◆ ClearZoneLayerOverrides()

def pcbnew.PAD.ClearZoneLayerOverrides (   self)
ClearZoneLayerOverrides(PAD self)

Definition at line 14584 of file pcbnew.py.

◆ ClonePad()

def pcbnew.PAD.ClonePad (   self)
ClonePad(PAD self) -> PAD

Definition at line 14568 of file pcbnew.py.

◆ Compare()

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

Definition at line 14556 of file pcbnew.py.

◆ ConditionallyFlashed()

def pcbnew.PAD.ConditionallyFlashed (   self,
  aLayer 
)
ConditionallyFlashed(PAD self, PCB_LAYER_ID aLayer) -> bool

Definition at line 14513 of file pcbnew.py.

◆ ConnSMDMask()

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

Definition at line 14070 of file pcbnew.py.

◆ DeletePrimitivesList()

def pcbnew.PAD.DeletePrimitivesList (   self,
  aLayer = UNDEFINED_LAYER 
)
DeletePrimitivesList(PAD self, PCB_LAYER_ID aLayer=UNDEFINED_LAYER)

Definition at line 14235 of file pcbnew.py.

◆ Deserialize()

def pcbnew.PAD.Deserialize (   self,
  aContainer 
)
Deserialize(PAD self, google::protobuf::Any const & aContainer) -> bool

Definition at line 14055 of file pcbnew.py.

◆ FlashLayer()

def pcbnew.PAD.FlashLayer (   self,
args 
)
    FlashLayer(PAD self, int aLayer, bool aOnlyCheckIfPermitted=False) -> bool
    FlashLayer(PAD self, LSET aLayers) -> bool

Definition at line 14525 of file pcbnew.py.

Here is the caller graph for this function:

◆ FlipPrimitives()

def pcbnew.PAD.FlipPrimitives (   self,
  aFlipDirection 
)
FlipPrimitives(PAD self, FLIP_DIRECTION aFlipDirection)

Definition at line 14243 of file pcbnew.py.

◆ GetAnchorPadShape()

def pcbnew.PAD.GetAnchorPadShape (   self,
  aLayer 
)
GetAnchorPadShape(PAD self, PCB_LAYER_ID aLayer) -> PAD_SHAPE

Definition at line 14149 of file pcbnew.py.

◆ GetAttribute()

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

Definition at line 14303 of file pcbnew.py.

◆ GetBoundingBox()

def pcbnew.PAD.GetBoundingBox (   self,
args 
)
    GetBoundingBox(PAD self) -> BOX2I
    GetBoundingBox(PAD self, PCB_LAYER_ID aLayer) -> BOX2I

Reimplemented from pcbnew.EDA_ITEM.

Definition at line 14548 of file pcbnew.py.

Here is the caller graph for this function:

◆ GetBoundingRadius()

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

Definition at line 14391 of file pcbnew.py.

◆ GetChamferPositions()

def pcbnew.PAD.GetChamferPositions (   self,
args 
)
    GetChamferPositions(PAD self, PCB_LAYER_ID aLayer) -> int
    GetChamferPositions(PAD self) -> int

Definition at line 14705 of file pcbnew.py.

Here is the caller graph for this function:

◆ GetChamferRectRatio()

def pcbnew.PAD.GetChamferRectRatio (   self,
args 
)
    GetChamferRectRatio(PAD self, PCB_LAYER_ID aLayer) -> double
    GetChamferRectRatio(PAD self) -> double

Definition at line 14691 of file pcbnew.py.

Here is the caller graph for this function:

◆ GetClass()

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

Reimplemented from pcbnew.EDA_ITEM.

Definition at line 14544 of file pcbnew.py.

Here is the caller graph for this function:

◆ GetCustomShapeAsPolygon()

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

Definition at line 14773 of file pcbnew.py.

◆ GetCustomShapeInZoneOpt()

def pcbnew.PAD.GetCustomShapeInZoneOpt (   self)
GetCustomShapeInZoneOpt(PAD self) -> PADSTACK::CUSTOM_SHAPE_ZONE_MODE

Definition at line 14153 of file pcbnew.py.

◆ GetDelta()

def pcbnew.PAD.GetDelta (   self,
args 
)
    GetDelta(PAD self, PCB_LAYER_ID aLayer) -> VECTOR2I
    GetDelta(PAD self) -> VECTOR2I

Definition at line 14635 of file pcbnew.py.

Here is the caller graph for this function:

◆ GetDrillShape()

def pcbnew.PAD.GetDrillShape (   self)
GetDrillShape(PAD self) -> PAD_DRILL_SHAPE

Definition at line 14287 of file pcbnew.py.

◆ GetDrillSize()

def pcbnew.PAD.GetDrillSize (   self)
GetDrillSize(PAD self) -> VECTOR2I

Definition at line 14193 of file pcbnew.py.

◆ GetDrillSizeX()

def pcbnew.PAD.GetDrillSizeX (   self)
GetDrillSizeX(PAD self) -> int

Definition at line 14201 of file pcbnew.py.

◆ GetDrillSizeY()

def pcbnew.PAD.GetDrillSizeY (   self)
GetDrillSizeY(PAD self) -> int

Definition at line 14209 of file pcbnew.py.

◆ GetEffectivePolygon()

def pcbnew.PAD.GetEffectivePolygon (   self,
  aLayer,
  aErrorLoc = ERROR_INSIDE 
)
GetEffectivePolygon(PAD self, PCB_LAYER_ID aLayer, ERROR_LOC aErrorLoc=ERROR_INSIDE) -> std::shared_ptr< SHAPE_POLY_SET > const

Definition at line 14387 of file pcbnew.py.

◆ GetEffectiveShape()

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

Reimplemented from pcbnew.BOARD_ITEM.

Definition at line 14383 of file pcbnew.py.

◆ GetFPRelativeOrientation()

def pcbnew.PAD.GetFPRelativeOrientation (   self)
GetFPRelativeOrientation(PAD self) -> EDA_ANGLE

Definition at line 14271 of file pcbnew.py.

◆ GetFrontRoundRectRadiusRatio()

def pcbnew.PAD.GetFrontRoundRectRadiusRatio (   self)
GetFrontRoundRectRadiusRatio(PAD self) -> double

Definition at line 14469 of file pcbnew.py.

◆ GetFrontRoundRectRadiusSize()

def pcbnew.PAD.GetFrontRoundRectRadiusSize (   self)
GetFrontRoundRectRadiusSize(PAD self) -> int

Definition at line 14477 of file pcbnew.py.

◆ GetFrontShape()

def pcbnew.PAD.GetFrontShape (   self)
GetFrontShape(PAD self) -> PAD_SHAPE

Definition at line 14145 of file pcbnew.py.

◆ GetKeepTopBottom()

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

Definition at line 14501 of file pcbnew.py.

◆ GetLocalClearance()

def pcbnew.PAD.GetLocalClearance (   self,
args 
)
    GetLocalClearance(PAD self) -> std::optional< int >
    GetLocalClearance(PAD self, wxString aSource) -> std::optional< int >

Reimplemented from pcbnew.BOARD_CONNECTED_ITEM.

Definition at line 14395 of file pcbnew.py.

Here is the caller graph for this function:

◆ GetLocalSolderMaskMargin()

def pcbnew.PAD.GetLocalSolderMaskMargin (   self)
GetLocalSolderMaskMargin(PAD self) -> std::optional< int >

Definition at line 14339 of file pcbnew.py.

◆ GetLocalSolderPasteMargin()

def pcbnew.PAD.GetLocalSolderPasteMargin (   self)
GetLocalSolderPasteMargin(PAD self) -> std::optional< int >

Definition at line 14347 of file pcbnew.py.

◆ GetLocalSolderPasteMarginRatio()

def pcbnew.PAD.GetLocalSolderPasteMarginRatio (   self)
GetLocalSolderPasteMarginRatio(PAD self) -> std::optional< double >

Definition at line 14355 of file pcbnew.py.

◆ GetLocalSpokeWidthOverride()

def pcbnew.PAD.GetLocalSpokeWidthOverride (   self,
  aSource = None 
)
GetLocalSpokeWidthOverride(PAD self, wxString aSource=None) -> int

Definition at line 14422 of file pcbnew.py.

◆ GetLocalThermalGapOverride()

def pcbnew.PAD.GetLocalThermalGapOverride (   self,
args 
)
    GetLocalThermalGapOverride(PAD self, wxString aSource) -> int
    GetLocalThermalGapOverride(PAD self) -> std::optional< int >

Definition at line 14450 of file pcbnew.py.

Here is the caller graph for this function:

◆ GetLocalThermalSpokeWidthOverride()

def pcbnew.PAD.GetLocalThermalSpokeWidthOverride (   self)
GetLocalThermalSpokeWidthOverride(PAD self) -> std::optional< int >

Definition at line 14418 of file pcbnew.py.

◆ GetLocalZoneConnection()

def pcbnew.PAD.GetLocalZoneConnection (   self)
GetLocalZoneConnection(PAD self) -> ZONE_CONNECTION

Definition at line 14367 of file pcbnew.py.

◆ GetName()

def pcbnew.PAD.GetName (   self)

Definition at line 14733 of file pcbnew.py.

Here is the caller graph for this function:

◆ GetNumber()

def pcbnew.PAD.GetNumber (   self)
GetNumber(PAD self) -> wxString

Definition at line 14101 of file pcbnew.py.

Here is the caller graph for this function:

◆ GetOffset()

def pcbnew.PAD.GetOffset (   self,
args 
)
    GetOffset(PAD self, PCB_LAYER_ID aLayer) -> VECTOR2I
    GetOffset(PAD self) -> VECTOR2I

Definition at line 14649 of file pcbnew.py.

Here is the caller graph for this function:

◆ GetOrientation()

def pcbnew.PAD.GetOrientation (   self)
GetOrientation(PAD self) -> EDA_ANGLE

Definition at line 14267 of file pcbnew.py.

◆ GetOrientationDegrees()

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

Definition at line 14279 of file pcbnew.py.

◆ GetOwnClearance()

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

Reimplemented from pcbnew.BOARD_CONNECTED_ITEM.

Definition at line 14371 of file pcbnew.py.

◆ GetPadName()

def pcbnew.PAD.GetPadName (   self)

Definition at line 14730 of file pcbnew.py.

◆ GetPadToDieDelay()

def pcbnew.PAD.GetPadToDieDelay (   self)
GetPadToDieDelay(PAD self) -> int

Definition at line 14331 of file pcbnew.py.

◆ GetPadToDieLength()

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

Definition at line 14323 of file pcbnew.py.

◆ GetPinFunction()

def pcbnew.PAD.GetPinFunction (   self)
GetPinFunction(PAD self) -> wxString

Definition at line 14113 of file pcbnew.py.

◆ GetPinType()

def pcbnew.PAD.GetPinType (   self)
GetPinType(PAD self) -> wxString

Definition at line 14121 of file pcbnew.py.

◆ GetPrimitives()

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

Definition at line 14239 of file pcbnew.py.

◆ GetPrincipalLayer()

def pcbnew.PAD.GetPrincipalLayer (   self)
GetPrincipalLayer(PAD self) -> PCB_LAYER_ID

Definition at line 14521 of file pcbnew.py.

◆ GetProperty()

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

Definition at line 14311 of file pcbnew.py.

◆ GetRemoveUnconnected()

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

Definition at line 14493 of file pcbnew.py.

◆ GetRoundRectCornerRadius()

def pcbnew.PAD.GetRoundRectCornerRadius (   self,
args 
)
    GetRoundRectCornerRadius(PAD self, PCB_LAYER_ID aLayer) -> int
    GetRoundRectCornerRadius(PAD self) -> double

Definition at line 14663 of file pcbnew.py.

Here is the caller graph for this function:

◆ GetRoundRectRadiusRatio()

def pcbnew.PAD.GetRoundRectRadiusRatio (   self,
args 
)
    GetRoundRectRadiusRatio(PAD self, PCB_LAYER_ID aLayer) -> double
    GetRoundRectRadiusRatio(PAD self) -> double

Definition at line 14677 of file pcbnew.py.

Here is the caller graph for this function:

◆ GetShape()

def pcbnew.PAD.GetShape (   self,
args 
)
    GetShape(PAD self, PCB_LAYER_ID aLayer) -> PAD_SHAPE
    GetShape(PAD self) -> PAD_SHAPE

Definition at line 14607 of file pcbnew.py.

Here is the caller graph for this function:

◆ GetSize()

def pcbnew.PAD.GetSize (   self,
args 
)
    GetSize(PAD self, PCB_LAYER_ID aLayer) -> VECTOR2I
    GetSize(PAD self) -> VECTOR2I

Definition at line 14621 of file pcbnew.py.

Here is the caller graph for this function:

◆ GetSizeX()

def pcbnew.PAD.GetSizeX (   self)
GetSizeX(PAD self) -> int

Definition at line 14177 of file pcbnew.py.

◆ GetSizeY()

def pcbnew.PAD.GetSizeY (   self)
GetSizeY(PAD self) -> int

Definition at line 14185 of file pcbnew.py.

◆ GetSolderMaskExpansion()

def pcbnew.PAD.GetSolderMaskExpansion (   self,
  aLayer 
)
GetSolderMaskExpansion(PAD self, PCB_LAYER_ID aLayer) -> int

Definition at line 14402 of file pcbnew.py.

◆ GetSolderPasteMargin()

def pcbnew.PAD.GetSolderPasteMargin (   self,
  aLayer 
)
GetSolderPasteMargin(PAD self, PCB_LAYER_ID aLayer) -> VECTOR2I

Definition at line 14406 of file pcbnew.py.

◆ GetSubRatsnest()

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

Definition at line 14481 of file pcbnew.py.

◆ GetThermalGap()

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

Definition at line 14446 of file pcbnew.py.

◆ GetThermalSpokeAngle()

def pcbnew.PAD.GetThermalSpokeAngle (   self)
GetThermalSpokeAngle(PAD self) -> EDA_ANGLE

Definition at line 14430 of file pcbnew.py.

◆ GetThermalSpokeAngleDegrees()

def pcbnew.PAD.GetThermalSpokeAngleDegrees (   self)
GetThermalSpokeAngleDegrees(PAD self) -> double

Definition at line 14438 of file pcbnew.py.

◆ GetUnconnectedLayerMode()

def pcbnew.PAD.GetUnconnectedLayerMode (   self)
GetUnconnectedLayerMode(PAD self) -> PADSTACK::UNCONNECTED_LAYER_MODE

Definition at line 14509 of file pcbnew.py.

◆ GetZoneConnectionOverrides()

def pcbnew.PAD.GetZoneConnectionOverrides (   self,
  aSource = None 
)
GetZoneConnectionOverrides(PAD self, wxString aSource=None) -> ZONE_CONNECTION

Definition at line 14410 of file pcbnew.py.

◆ GetZoneLayerOverride()

def pcbnew.PAD.GetZoneLayerOverride (   self,
  aLayer 
)
GetZoneLayerOverride(PAD self, PCB_LAYER_ID aLayer) -> ZONE_LAYER_OVERRIDE const &

Definition at line 14588 of file pcbnew.py.

◆ HitTest()

def pcbnew.PAD.HitTest (   self,
args 
)
    HitTest(PAD self, VECTOR2I aPosition, int aAccuracy=0) -> bool
    HitTest(PAD self, BOX2I aRect, bool aContained, int aAccuracy=0) -> bool
    HitTest(PAD self, SHAPE_LINE_CHAIN aPoly, bool aContained) -> bool

Reimplemented from pcbnew.EDA_ITEM.

Definition at line 14532 of file pcbnew.py.

Here is the caller graph for this function:

◆ ImportSettingsFrom()

def pcbnew.PAD.ImportSettingsFrom (   self,
  aMasterPad 
)
ImportSettingsFrom(PAD self, PAD aMasterPad)

Definition at line 14089 of file pcbnew.py.

◆ IsAperturePad()

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

Definition at line 14315 of file pcbnew.py.

◆ IsDirty()

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

Definition at line 14291 of file pcbnew.py.

◆ IsFlipped()

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

Definition at line 14093 of file pcbnew.py.

◆ IsFreePad()

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

Definition at line 14137 of file pcbnew.py.

◆ IsNoConnectPad()

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

Definition at line 14133 of file pcbnew.py.

◆ MergePrimitivesAsPolygon()

def pcbnew.PAD.MergePrimitivesAsPolygon (   self,
  aLayer,
  aMergedPolygon,
  aErrorLoc = ERROR_INSIDE 
)
MergePrimitivesAsPolygon(PAD self, PCB_LAYER_ID aLayer, SHAPE_POLY_SET aMergedPolygon, ERROR_LOC aErrorLoc=ERROR_INSIDE)

Definition at line 14231 of file pcbnew.py.

Here is the caller graph for this function:

◆ Padstack()

def pcbnew.PAD.Padstack (   self,
args 
)
    Padstack(PAD self) -> PADSTACK
    Padstack(PAD self) -> PADSTACK

Definition at line 14213 of file pcbnew.py.

Here is the caller graph for this function:

◆ PTHMask()

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

Definition at line 14060 of file pcbnew.py.

◆ Recombine()

def pcbnew.PAD.Recombine (   self,
  aIsDryRun,
  aMaxError 
)
Recombine(PAD self, bool aIsDryRun, int aMaxError) -> std::vector< PCB_SHAPE *,std::allocator< PCB_SHAPE * > >

Definition at line 14540 of file pcbnew.py.

◆ ReplacePrimitives()

def pcbnew.PAD.ReplacePrimitives (   self,
  aLayer,
  aPrimitivesList 
)
ReplacePrimitives(PAD self, PCB_LAYER_ID aLayer, std::vector< std::shared_ptr< PCB_SHAPE >,std::allocator< std::shared_ptr< PCB_SHAPE > > > const & aPrimitivesList)

Definition at line 14247 of file pcbnew.py.

◆ SameLogicalPadAs()

def pcbnew.PAD.SameLogicalPadAs (   self,
  aOther 
)
SameLogicalPadAs(PAD self, PAD aOther) -> bool

Definition at line 14125 of file pcbnew.py.

◆ Serialize()

def pcbnew.PAD.Serialize (   self,
  aContainer 
)
Serialize(PAD self, google::protobuf::Any & aContainer)

Definition at line 14051 of file pcbnew.py.

◆ SetAnchorPadShape()

def pcbnew.PAD.SetAnchorPadShape (   self,
  aLayer,
  aShape 
)
SetAnchorPadShape(PAD self, PCB_LAYER_ID aLayer, PAD_SHAPE aShape)

Definition at line 14161 of file pcbnew.py.

◆ SetAttribute()

def pcbnew.PAD.SetAttribute (   self,
  aAttribute 
)
SetAttribute(PAD self, PAD_ATTRIB aAttribute)

Definition at line 14299 of file pcbnew.py.

◆ SetChamferPositions()

def pcbnew.PAD.SetChamferPositions (   self,
args 
)
    SetChamferPositions(PAD self, PCB_LAYER_ID aLayer, int aPositions)
    SetChamferPositions(PAD self, int aPositions)

Definition at line 14712 of file pcbnew.py.

Here is the caller graph for this function:

◆ SetChamferRectRatio()

def pcbnew.PAD.SetChamferRectRatio (   self,
args 
)
    SetChamferRectRatio(PAD self, PCB_LAYER_ID aLayer, double aChamferScale)
    SetChamferRectRatio(PAD self, double aRatio)

Definition at line 14698 of file pcbnew.py.

Here is the caller graph for this function:

◆ SetCustomShapeInZoneOpt()

def pcbnew.PAD.SetCustomShapeInZoneOpt (   self,
  aOption 
)
SetCustomShapeInZoneOpt(PAD self, PADSTACK::CUSTOM_SHAPE_ZONE_MODE aOption)

Definition at line 14157 of file pcbnew.py.

◆ SetDelta()

def pcbnew.PAD.SetDelta (   self,
args 
)
    SetDelta(PAD self, PCB_LAYER_ID aLayer, VECTOR2I aSize)
    SetDelta(PAD self, VECTOR2I aSize)

Definition at line 14642 of file pcbnew.py.

Here is the caller graph for this function:

◆ SetDirty()

def pcbnew.PAD.SetDirty (   self)
SetDirty(PAD self)

Definition at line 14295 of file pcbnew.py.

◆ SetDrillShape()

def pcbnew.PAD.SetDrillShape (   self,
  aShape 
)
SetDrillShape(PAD self, PAD_DRILL_SHAPE aShape)

Definition at line 14283 of file pcbnew.py.

◆ SetDrillSize()

def pcbnew.PAD.SetDrillSize (   self,
  aSize 
)
SetDrillSize(PAD self, VECTOR2I aSize)

Definition at line 14189 of file pcbnew.py.

◆ SetDrillSizeX()

def pcbnew.PAD.SetDrillSizeX (   self,
  aX 
)
SetDrillSizeX(PAD self, int const aX)

Definition at line 14197 of file pcbnew.py.

◆ SetDrillSizeY()

def pcbnew.PAD.SetDrillSizeY (   self,
  aY 
)
SetDrillSizeY(PAD self, int const aY)

Definition at line 14205 of file pcbnew.py.

◆ SetFPRelativeOrientation()

def pcbnew.PAD.SetFPRelativeOrientation (   self,
  aAngle 
)
SetFPRelativeOrientation(PAD self, EDA_ANGLE aAngle)

Definition at line 14263 of file pcbnew.py.

◆ SetFrontRoundRectRadiusRatio()

def pcbnew.PAD.SetFrontRoundRectRadiusRatio (   self,
  aRadiusScale 
)
SetFrontRoundRectRadiusRatio(PAD self, double aRadiusScale)

Definition at line 14465 of file pcbnew.py.

◆ SetFrontRoundRectRadiusSize()

def pcbnew.PAD.SetFrontRoundRectRadiusSize (   self,
  aRadius 
)
SetFrontRoundRectRadiusSize(PAD self, int aRadius)

Definition at line 14473 of file pcbnew.py.

◆ SetFrontShape()

def pcbnew.PAD.SetFrontShape (   self,
  aShape 
)
SetFrontShape(PAD self, PAD_SHAPE aShape)

Definition at line 14141 of file pcbnew.py.

◆ SetKeepTopBottom()

def pcbnew.PAD.SetKeepTopBottom (   self,
  aSet 
)
SetKeepTopBottom(PAD self, bool aSet)

Definition at line 14497 of file pcbnew.py.

◆ SetLocalClearance()

def pcbnew.PAD.SetLocalClearance (   self,
  aClearance 
)
SetLocalClearance(PAD self, std::optional< int > aClearance)

Definition at line 14335 of file pcbnew.py.

◆ SetLocalSolderMaskMargin()

def pcbnew.PAD.SetLocalSolderMaskMargin (   self,
  aMargin 
)
SetLocalSolderMaskMargin(PAD self, std::optional< int > aMargin)

Definition at line 14343 of file pcbnew.py.

◆ SetLocalSolderPasteMargin()

def pcbnew.PAD.SetLocalSolderPasteMargin (   self,
  aMargin 
)
SetLocalSolderPasteMargin(PAD self, std::optional< int > aMargin)

Definition at line 14351 of file pcbnew.py.

◆ SetLocalSolderPasteMarginRatio()

def pcbnew.PAD.SetLocalSolderPasteMarginRatio (   self,
  aRatio 
)
SetLocalSolderPasteMarginRatio(PAD self, std::optional< double > aRatio)

Definition at line 14359 of file pcbnew.py.

◆ SetLocalThermalGapOverride()

def pcbnew.PAD.SetLocalThermalGapOverride (   self,
  aOverride 
)
SetLocalThermalGapOverride(PAD self, std::optional< int > const & aOverride)

Definition at line 14457 of file pcbnew.py.

◆ SetLocalThermalSpokeWidthOverride()

def pcbnew.PAD.SetLocalThermalSpokeWidthOverride (   self,
  aWidth 
)
SetLocalThermalSpokeWidthOverride(PAD self, std::optional< int > aWidth)

Definition at line 14414 of file pcbnew.py.

◆ SetLocalZoneConnection()

def pcbnew.PAD.SetLocalZoneConnection (   self,
  aType 
)
SetLocalZoneConnection(PAD self, ZONE_CONNECTION aType)

Definition at line 14363 of file pcbnew.py.

◆ SetName()

def pcbnew.PAD.SetName (   self,
  aName 
)

Definition at line 14725 of file pcbnew.py.

◆ SetNumber()

def pcbnew.PAD.SetNumber (   self,
  aNumber 
)
SetNumber(PAD self, wxString aNumber)

Definition at line 14097 of file pcbnew.py.

Here is the caller graph for this function:

◆ SetOffset()

def pcbnew.PAD.SetOffset (   self,
args 
)
    SetOffset(PAD self, PCB_LAYER_ID aLayer, VECTOR2I aOffset)
    SetOffset(PAD self, VECTOR2I aOffset)

Definition at line 14656 of file pcbnew.py.

Here is the caller graph for this function:

◆ SetOrientation()

def pcbnew.PAD.SetOrientation (   self,
  aAngle 
)
SetOrientation(PAD self, EDA_ANGLE aAngle)

Definition at line 14259 of file pcbnew.py.

◆ SetOrientationDegrees()

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

Definition at line 14275 of file pcbnew.py.

◆ SetPadName()

def pcbnew.PAD.SetPadName (   self,
  aName 
)

Definition at line 14722 of file pcbnew.py.

◆ SetPadstack()

def pcbnew.PAD.SetPadstack (   self,
  aPadstack 
)
SetPadstack(PAD self, PADSTACK aPadstack)

Definition at line 14220 of file pcbnew.py.

◆ SetPadToDieDelay()

def pcbnew.PAD.SetPadToDieDelay (   self,
  aDelay 
)
SetPadToDieDelay(PAD self, int aDelay)

Definition at line 14327 of file pcbnew.py.

◆ SetPadToDieLength()

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

Definition at line 14319 of file pcbnew.py.

◆ SetPinFunction()

def pcbnew.PAD.SetPinFunction (   self,
  aName 
)
SetPinFunction(PAD self, wxString aName)

Definition at line 14109 of file pcbnew.py.

◆ SetPinType()

def pcbnew.PAD.SetPinType (   self,
  aType 
)
SetPinType(PAD self, wxString aType)

Definition at line 14117 of file pcbnew.py.

◆ SetProperty()

def pcbnew.PAD.SetProperty (   self,
  aProperty 
)
SetProperty(PAD self, PAD_PROP aProperty)

Definition at line 14307 of file pcbnew.py.

◆ SetRemoveUnconnected()

def pcbnew.PAD.SetRemoveUnconnected (   self,
  aSet 
)
SetRemoveUnconnected(PAD self, bool aSet)

Definition at line 14489 of file pcbnew.py.

◆ SetRoundRectCornerRadius()

def pcbnew.PAD.SetRoundRectCornerRadius (   self,
args 
)
    SetRoundRectCornerRadius(PAD self, PCB_LAYER_ID aLayer, double aRadius)
    SetRoundRectCornerRadius(PAD self, double aRadius)

Definition at line 14670 of file pcbnew.py.

Here is the caller graph for this function:

◆ SetRoundRectRadiusRatio()

def pcbnew.PAD.SetRoundRectRadiusRatio (   self,
args 
)
    SetRoundRectRadiusRatio(PAD self, PCB_LAYER_ID aLayer, double aRadiusScale)
    SetRoundRectRadiusRatio(PAD self, double aRatio)

Definition at line 14684 of file pcbnew.py.

Here is the caller graph for this function:

◆ SetShape()

def pcbnew.PAD.SetShape (   self,
args 
)
    SetShape(PAD self, PCB_LAYER_ID aLayer, PAD_SHAPE aShape)
    SetShape(PAD self, PAD_SHAPE aShape)

Definition at line 14614 of file pcbnew.py.

Here is the caller graph for this function:

◆ SetSize()

def pcbnew.PAD.SetSize (   self,
args 
)
    SetSize(PAD self, PCB_LAYER_ID aLayer, VECTOR2I aSize)
    SetSize(PAD self, VECTOR2I aSize)

Definition at line 14628 of file pcbnew.py.

Here is the caller graph for this function:

◆ SetSizeX()

def pcbnew.PAD.SetSizeX (   self,
  aX 
)
SetSizeX(PAD self, int const aX)

Definition at line 14173 of file pcbnew.py.

◆ SetSizeY()

def pcbnew.PAD.SetSizeY (   self,
  aY 
)
SetSizeY(PAD self, int const aY)

Definition at line 14181 of file pcbnew.py.

◆ SetSubRatsnest()

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

Definition at line 14485 of file pcbnew.py.

◆ SetThermalGap()

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

Definition at line 14442 of file pcbnew.py.

◆ SetThermalSpokeAngle()

def pcbnew.PAD.SetThermalSpokeAngle (   self,
  aAngle 
)
SetThermalSpokeAngle(PAD self, EDA_ANGLE aAngle)

Definition at line 14426 of file pcbnew.py.

◆ SetThermalSpokeAngleDegrees()

def pcbnew.PAD.SetThermalSpokeAngleDegrees (   self,
  aAngle 
)
SetThermalSpokeAngleDegrees(PAD self, double aAngle)

Definition at line 14434 of file pcbnew.py.

◆ SetUnconnectedLayerMode()

def pcbnew.PAD.SetUnconnectedLayerMode (   self,
  aMode 
)
SetUnconnectedLayerMode(PAD self, PADSTACK::UNCONNECTED_LAYER_MODE aMode)

Definition at line 14505 of file pcbnew.py.

◆ SetX()

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

Reimplemented from pcbnew.BOARD_ITEM.

Definition at line 14169 of file pcbnew.py.

Here is the caller graph for this function:

◆ SetY()

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

Reimplemented from pcbnew.BOARD_ITEM.

Definition at line 14165 of file pcbnew.py.

Here is the caller graph for this function:

◆ SetZoneLayerOverride()

def pcbnew.PAD.SetZoneLayerOverride (   self,
  aLayer,
  aOverride 
)
SetZoneLayerOverride(PAD self, PCB_LAYER_ID aLayer, ZONE_LAYER_OVERRIDE aOverride)

Definition at line 14592 of file pcbnew.py.

◆ ShapePos()

def pcbnew.PAD.ShapePos (   self,
  aLayer 
)
ShapePos(PAD self, PCB_LAYER_ID aLayer) -> VECTOR2I

Definition at line 14461 of file pcbnew.py.

◆ SharesNetTieGroup()

def pcbnew.PAD.SharesNetTieGroup (   self,
  aOther 
)
SharesNetTieGroup(PAD self, PAD aOther) -> bool

Definition at line 14129 of file pcbnew.py.

◆ ShowPadAttr()

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

Definition at line 14564 of file pcbnew.py.

◆ ShowPadShape()

def pcbnew.PAD.ShowPadShape (   self,
  aLayer 
)
ShowPadShape(PAD self, PCB_LAYER_ID aLayer) -> wxString

Definition at line 14560 of file pcbnew.py.

◆ SMDMask()

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

Definition at line 14065 of file pcbnew.py.

◆ TransformHoleToPolygon()

def pcbnew.PAD.TransformHoleToPolygon (   self,
  aBuffer,
  aClearance,
  aError,
  aErrorLoc = ERROR_INSIDE 
)
TransformHoleToPolygon(PAD self, SHAPE_POLY_SET aBuffer, int aClearance, int aError, ERROR_LOC aErrorLoc=ERROR_INSIDE) -> bool

Definition at line 14379 of file pcbnew.py.

◆ TransformShapeToPolygon()

def pcbnew.PAD.TransformShapeToPolygon (   self,
  aBuffer,
  aLayer,
  aClearance,
  aMaxError,
  aErrorLoc = ERROR_INSIDE,
  ignoreLineWidth = False 
)
TransformShapeToPolygon(PAD self, SHAPE_POLY_SET aBuffer, PCB_LAYER_ID aLayer, int aClearance, int aMaxError, ERROR_LOC aErrorLoc=ERROR_INSIDE, bool ignoreLineWidth=False)

Reimplemented from pcbnew.BOARD_ITEM.

Definition at line 14375 of file pcbnew.py.

◆ UnplatedHoleMask()

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

Definition at line 14075 of file pcbnew.py.

◆ ViewGetLOD()

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

Definition at line 14580 of file pcbnew.py.

Property Documentation

◆ thisown

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

Definition at line 14041 of file pcbnew.py.


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