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

Public Member Functions

def __init__ (self, *args)
 
def GetPrivateLayers (self)
 
def SetPrivateLayers (self, aLayers)
 
def AddNative (self, *args)
 
def RemoveNative (self, *args)
 
def ClearAllNets (self)
 
def FixUuids (self)
 
def GetFpPadsLocalBbox (self)
 
def GetBoundingHull (self)
 
def GetBoundingBox (self, *args)
 
def GetLayerBoundingBox (self, aLayers)
 
def Pads (self, *args)
 
def GraphicalItems (self, *args)
 
def Zones (self, *args)
 
def Groups (self, *args)
 
def HasThroughHolePads (self)
 
def Models (self, *args)
 
def SetOrientation (self, aNewAngle)
 
def GetOrientation (self)
 
def SetLayerAndFlip (self, aLayer)
 
def SetOrientationDegrees (self, aOrientation)
 
def GetOrientationDegrees (self)
 
def GetFPID (self)
 
def SetFPID (self, aFPID)
 
def GetFPIDAsString (self)
 
def SetFPIDAsString (self, aFPID)
 
def GetDescription (self)
 
def SetDescription (self, aDoc)
 
def GetKeywords (self)
 
def SetKeywords (self, aKeywords)
 
def GetPath (self)
 
def SetPath (self, aPath)
 
def GetLocalSolderMaskMargin (self)
 
def SetLocalSolderMaskMargin (self, aMargin)
 
def SetLocalClearance (self, aClearance)
 
def GetLocalClearance (self, *args)
 
def GetLocalSolderPasteMargin (self)
 
def SetLocalSolderPasteMargin (self, aMargin)
 
def GetLocalSolderPasteMarginRatio (self)
 
def SetLocalSolderPasteMarginRatio (self, aRatio)
 
def SetZoneConnection (self, aType)
 
def GetZoneConnection (self)
 
def GetAttributes (self)
 
def SetAttributes (self, aAttributes)
 
def SetFlag (self, aFlag)
 
def IncrementFlag (self)
 
def GetFlag (self)
 
def IsNetTie (self)
 
def GetNetTiePadGroups (self)
 
def ClearNetTiePadGroups (self)
 
def AddNetTiePadGroup (self, aGroup)
 
def MapPadNumbersToNetTieGroups (self)
 
def GetNetTiePads (self, aPad)
 
def GetLikelyAttribute (self)
 
def MoveAnchorPosition (self, aMoveVector)
 
def IsFlipped (self)
 
def IsConflicting (self)
 
def IsPlaced (self)
 
def SetIsPlaced (self, isPlaced)
 
def NeedsPlaced (self)
 
def SetNeedsPlaced (self, needsPlaced)
 
def LegacyPadsLocked (self)
 
def CheckFootprintAttributes (self, aErrorHandler)
 
def CheckPads (self, aErrorHandler)
 
def CheckShortingPads (self, aErrorHandler)
 
def CheckNetTies (self, aErrorHandler)
 
def CheckNetTiePadGroups (self, aErrorHandler)
 
def TransformPadsToPolySet (self, aBuffer, aLayer, aClearance, aMaxError, aErrorLoc, aSkipNPTHPadsWihNoCopper=False, aSkipPlatedPads=False, aSkipNonPlatedPads=False)
 
def TransformFPShapesToPolySet (self, aBuffer, aLayer, aClearance, aError, aErrorLoc, aIncludeText=True, aIncludeShapes=True, aIncludePrivateItems=False)
 
def TransformFPTextToPolySet (self, aBuffer, aLayer, aClearance, aError, aErrorLoc)
 
def GetContextualTextVars (self, aVars)
 
def ResolveTextVar (self, token, aDepth=0)
 
def HitTestAccurate (self, aPosition, aAccuracy=0)
 
def HitTest (self, *args)
 
def HitTestOnLayer (self, *args)
 
def GetReference (self)
 
def SetReference (self, aReference)
 
def GetReferenceAsString (self)
 
def IncrementReference (self, aDelta)
 
def GetValue (self)
 
def SetValue (self, aValue)
 
def GetValueAsString (self)
 
def Value (self, *args)
 
def Reference (self, *args)
 
def GetPropertiesNative (self)
 
def SetPropertiesNative (self, aProps)
 
def GetPropertyNative (self, aKey)
 
def HasProperty (self, aKey)
 
def SetProperty (self, aKey, aVal)
 
def IsBoardOnly (self)
 
def SetBoardOnly (self, aIsBoardOnly=True)
 
def IsExcludedFromPosFiles (self)
 
def SetExcludedFromPosFiles (self, aExclude=True)
 
def IsExcludedFromBOM (self)
 
def SetExcludedFromBOM (self, aExclude=True)
 
def AllowMissingCourtyard (self)
 
def SetAllowMissingCourtyard (self, aAllow=True)
 
def SetFileFormatVersionAtLoad (self, aVersion)
 
def GetFileFormatVersionAtLoad (self)
 
def FindPadByNumber (self, aPadNumber, aSearchAfterMe=None)
 
def GetPad (self, *args)
 
def GetPadCount (self, *args)
 
def GetUniquePadCount (self, *args)
 
def GetNextPadNumber (self, aLastPadName)
 
def GetTypeName (self)
 
def GetArea (self, aPadding=0)
 
def GetLink (self)
 
def SetLink (self, aLink)
 
def DuplicateItem (self, aItem, aAddToFootprint=False)
 
def Add3DModel (self, a3DModel)
 
def RunOnChildren (self, aFunction)
 
def ViewGetLOD (self, aLayer, aView)
 
def FootprintNeedsUpdate (self, aLibFootprint)
 
def SetInitialComments (self, aInitialComments)
 
def CoverageRatio (self, aCollector)
 
def GetInitialComments (self)
 
def GetCourtyard (self, aLayer)
 
def BuildCourtyardCaches (self, aErrorHandler=None)
 
def GetEffectiveShape (self, *args)
 
def GetProperties (self)
 
def GetProperty (self, key)
 
def SetProperties (self, properties)
 
- Public Member Functions inherited from pcbnew.BOARD_ITEM_CONTAINER
def __init__ (self, *args, **kwargs)
 
def AddNative (self, *args)
 
def RemoveNative (self, *args)
 
def DeleteNative (self, aItem)
 
def GetZoneSettings (self)
 
def SetZoneSettings (self, aSettings)
 
def Add (self, item)
 
def Remove (self, item)
 
def Delete (self, item)
 
- Public Member Functions inherited from pcbnew.BOARD_ITEM
def __init__ (self, *args, **kwargs)
 
def SetParentGroup (self, aGroup)
 
def GetParentGroup (self)
 
def GetX (self)
 
def GetY (self)
 
def GetCenter (self)
 
def SetX (self, aX)
 
def SetY (self, aY)
 
def IsConnected (self)
 
def IsOnCopperLayer (self)
 
def HasHole (self)
 
def IsTented (self)
 
def GetEffectiveShape (self, *args)
 
def GetEffectiveHoleShape (self)
 
def GetParent (self)
 
def GetParentFootprint (self)
 
def HasLineStroke (self)
 
def GetStroke (self)
 
def SetStroke (self, aStroke)
 
def GetLayer (self)
 
def GetLayerSet (self)
 
def SetLayerSet (self, aLayers)
 
def SetLayer (self, aLayer)
 
def Duplicate (self)
 
def SwapItemData (self, aImage)
 
def IsOnLayer (self, aLayer)
 
def IsKnockout (self)
 
def SetIsKnockout (self, aKnockout)
 
def IsLocked (self)
 
def SetLocked (self, aLocked)
 
def DeleteStructure (self)
 
def Move (self, aMoveVector)
 
def Rotate (self, aRotCentre, aAngle)
 
def Flip (self, aCentre, aFlipLeftRight)
 
def GetBoard (self, *args)
 
def GetLayerName (self)
 
def TransformShapeToPolygon (self, aBuffer, aLayer, aClearance, aError, aErrorLoc, 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)
 
def Type (self)
 
def GetParent (self)
 
def SetParent (self, aParent)
 
def IsModified (self)
 
def IsNew (self)
 
def IsMoving (self)
 
def IsSelected (self)
 
def IsEntered (self)
 
def IsBrightened (self)
 
def IsRollover (self)
 
def SetSelected (self)
 
def SetBrightened (self)
 
def ClearSelected (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 XorFlags (self, aMask)
 
def ClearFlags (self, *args)
 
def GetFlags (self)
 
def HasFlag (self, aFlag)
 
def GetEditFlags (self)
 
def ClearTempFlags (self)
 
def ClearEditFlags (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 GetClass (self)
 
def GetTypeDesc (self)
 
def GetItemDescription (self, aUnitsProvider)
 
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, aLayers, aCount)
 

Static Public Member Functions

def ClassOf (aItem)
 
def IsLibNameValid (aName)
 
def StringLibNameInvalidChars (aUserReadable)
 
def GetCoverageArea (aItem, aCollector)
 
- Static Public Member Functions inherited from pcbnew.EDA_ITEM
def Sort (aLeft, 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_ITEM_CONTAINER
 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++ FOOTPRINT class.

Definition at line 18391 of file pcbnew.py.

Constructor & Destructor Documentation

◆ __init__()

def pcbnew.FOOTPRINT.__init__ (   self,
args 
)
    __init__(FOOTPRINT self, BOARD parent) -> FOOTPRINT
    __init__(FOOTPRINT self, FOOTPRINT aFootprint) -> FOOTPRINT
    __init__(FOOTPRINT self, FOOTPRINT aFootprint) -> FOOTPRINT

Reimplemented from pcbnew.BOARD_ITEM_CONTAINER.

Definition at line 18397 of file pcbnew.py.

Here is the caller graph for this function:

Member Function Documentation

◆ Add3DModel()

def pcbnew.FOOTPRINT.Add3DModel (   self,
  a3DModel 
)
Add3DModel(FOOTPRINT self, FP_3DMODEL a3DModel)

Definition at line 18876 of file pcbnew.py.

◆ AddNative()

def pcbnew.FOOTPRINT.AddNative (   self,
args 
)
AddNative(FOOTPRINT self, BOARD_ITEM aItem, ADD_MODE aMode=INSERT, bool aSkipConnectivity=False)

Reimplemented from pcbnew.BOARD_ITEM_CONTAINER.

Definition at line 18419 of file pcbnew.py.

Here is the caller graph for this function:

◆ AddNetTiePadGroup()

def pcbnew.FOOTPRINT.AddNetTiePadGroup (   self,
  aGroup 
)
AddNetTiePadGroup(FOOTPRINT self, wxString aGroup)

Definition at line 18628 of file pcbnew.py.

◆ AllowMissingCourtyard()

def pcbnew.FOOTPRINT.AllowMissingCourtyard (   self)
AllowMissingCourtyard(FOOTPRINT self) -> bool

Definition at line 18820 of file pcbnew.py.

◆ BuildCourtyardCaches()

def pcbnew.FOOTPRINT.BuildCourtyardCaches (   self,
  aErrorHandler = None 
)
BuildCourtyardCaches(FOOTPRINT self, OUTLINE_ERROR_HANDLER * aErrorHandler=None)

Definition at line 18923 of file pcbnew.py.

◆ CheckFootprintAttributes()

def pcbnew.FOOTPRINT.CheckFootprintAttributes (   self,
  aErrorHandler 
)
CheckFootprintAttributes(FOOTPRINT self, std::function< void (wxString const &) > const & aErrorHandler)

Definition at line 18676 of file pcbnew.py.

◆ CheckNetTiePadGroups()

def pcbnew.FOOTPRINT.CheckNetTiePadGroups (   self,
  aErrorHandler 
)
CheckNetTiePadGroups(FOOTPRINT self, std::function< void (wxString const &) > const & aErrorHandler)

Definition at line 18692 of file pcbnew.py.

◆ CheckNetTies()

def pcbnew.FOOTPRINT.CheckNetTies (   self,
  aErrorHandler 
)
CheckNetTies(FOOTPRINT self, std::function< void (BOARD_ITEM const *,BOARD_ITEM const *,BOARD_ITEM const *,VECTOR2I const &) > const & aErrorHandler)

Definition at line 18688 of file pcbnew.py.

◆ CheckPads()

def pcbnew.FOOTPRINT.CheckPads (   self,
  aErrorHandler 
)
CheckPads(FOOTPRINT self, std::function< void (PAD const *,int,wxString const &) > const & aErrorHandler)

Definition at line 18680 of file pcbnew.py.

◆ CheckShortingPads()

def pcbnew.FOOTPRINT.CheckShortingPads (   self,
  aErrorHandler 
)
CheckShortingPads(FOOTPRINT self, std::function< void (PAD const *,PAD const *,VECTOR2I const &) > const & aErrorHandler)

Definition at line 18684 of file pcbnew.py.

◆ ClassOf()

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

Definition at line 18407 of file pcbnew.py.

◆ ClearAllNets()

def pcbnew.FOOTPRINT.ClearAllNets (   self)
ClearAllNets(FOOTPRINT self)

Definition at line 18427 of file pcbnew.py.

◆ ClearNetTiePadGroups()

def pcbnew.FOOTPRINT.ClearNetTiePadGroups (   self)
ClearNetTiePadGroups(FOOTPRINT self)

Definition at line 18624 of file pcbnew.py.

◆ CoverageRatio()

def pcbnew.FOOTPRINT.CoverageRatio (   self,
  aCollector 
)
CoverageRatio(FOOTPRINT self, GENERAL_COLLECTOR const & aCollector) -> double

Definition at line 18906 of file pcbnew.py.

◆ DuplicateItem()

def pcbnew.FOOTPRINT.DuplicateItem (   self,
  aItem,
  aAddToFootprint = False 
)
DuplicateItem(FOOTPRINT self, BOARD_ITEM aItem, bool aAddToFootprint=False) -> BOARD_ITEM

Definition at line 18872 of file pcbnew.py.

◆ FindPadByNumber()

def pcbnew.FOOTPRINT.FindPadByNumber (   self,
  aPadNumber,
  aSearchAfterMe = None 
)
FindPadByNumber(FOOTPRINT self, wxString aPadNumber, PAD aSearchAfterMe=None) -> PAD

Definition at line 18836 of file pcbnew.py.

◆ FixUuids()

def pcbnew.FOOTPRINT.FixUuids (   self)
FixUuids(FOOTPRINT self) -> bool

Definition at line 18431 of file pcbnew.py.

◆ FootprintNeedsUpdate()

def pcbnew.FOOTPRINT.FootprintNeedsUpdate (   self,
  aLibFootprint 
)
FootprintNeedsUpdate(FOOTPRINT self, FOOTPRINT aLibFootprint) -> bool

Definition at line 18898 of file pcbnew.py.

◆ GetArea()

def pcbnew.FOOTPRINT.GetArea (   self,
  aPadding = 0 
)
GetArea(FOOTPRINT self, int aPadding=0) -> double

Definition at line 18860 of file pcbnew.py.

◆ GetAttributes()

def pcbnew.FOOTPRINT.GetAttributes (   self)
GetAttributes(FOOTPRINT self) -> int

Definition at line 18596 of file pcbnew.py.

◆ GetBoundingBox()

def pcbnew.FOOTPRINT.GetBoundingBox (   self,
args 
)
    GetBoundingBox(FOOTPRINT self) -> BOX2I
    GetBoundingBox(FOOTPRINT self, bool aIncludeText, bool aIncludeInvisibleText) -> BOX2I

Reimplemented from pcbnew.EDA_ITEM.

Definition at line 18443 of file pcbnew.py.

Here is the caller graph for this function:

◆ GetBoundingHull()

def pcbnew.FOOTPRINT.GetBoundingHull (   self)
GetBoundingHull(FOOTPRINT self) -> SHAPE_POLY_SET

Definition at line 18439 of file pcbnew.py.

◆ GetContextualTextVars()

def pcbnew.FOOTPRINT.GetContextualTextVars (   self,
  aVars 
)
GetContextualTextVars(FOOTPRINT self, wxArrayString * aVars)

Definition at line 18708 of file pcbnew.py.

◆ GetCourtyard()

def pcbnew.FOOTPRINT.GetCourtyard (   self,
  aLayer 
)
GetCourtyard(FOOTPRINT self, PCB_LAYER_ID aLayer) -> SHAPE_POLY_SET

Definition at line 18919 of file pcbnew.py.

◆ GetCoverageArea()

def pcbnew.FOOTPRINT.GetCoverageArea (   aItem,
  aCollector 
)
static
GetCoverageArea(BOARD_ITEM aItem, GENERAL_COLLECTOR const & aCollector) -> double

Definition at line 18911 of file pcbnew.py.

◆ GetDescription()

def pcbnew.FOOTPRINT.GetDescription (   self)
GetDescription(FOOTPRINT self) -> wxString

Definition at line 18529 of file pcbnew.py.

Here is the caller graph for this function:

◆ GetEffectiveShape()

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

Reimplemented from pcbnew.BOARD_ITEM.

Definition at line 18927 of file pcbnew.py.

◆ GetFileFormatVersionAtLoad()

def pcbnew.FOOTPRINT.GetFileFormatVersionAtLoad (   self)
GetFileFormatVersionAtLoad(FOOTPRINT self) -> int

Definition at line 18832 of file pcbnew.py.

◆ GetFlag()

def pcbnew.FOOTPRINT.GetFlag (   self)
GetFlag(FOOTPRINT self) -> int

Definition at line 18612 of file pcbnew.py.

◆ GetFPID()

def pcbnew.FOOTPRINT.GetFPID (   self)
GetFPID(FOOTPRINT self) -> LIB_ID

Definition at line 18513 of file pcbnew.py.

◆ GetFPIDAsString()

def pcbnew.FOOTPRINT.GetFPIDAsString (   self)
GetFPIDAsString(FOOTPRINT self) -> wxString

Definition at line 18521 of file pcbnew.py.

◆ GetFpPadsLocalBbox()

def pcbnew.FOOTPRINT.GetFpPadsLocalBbox (   self)
GetFpPadsLocalBbox(FOOTPRINT self) -> BOX2I

Definition at line 18435 of file pcbnew.py.

◆ GetInitialComments()

def pcbnew.FOOTPRINT.GetInitialComments (   self)
GetInitialComments(FOOTPRINT self) -> wxArrayString const *

Definition at line 18915 of file pcbnew.py.

◆ GetKeywords()

def pcbnew.FOOTPRINT.GetKeywords (   self)
GetKeywords(FOOTPRINT self) -> wxString

Definition at line 18537 of file pcbnew.py.

◆ GetLayerBoundingBox()

def pcbnew.FOOTPRINT.GetLayerBoundingBox (   self,
  aLayers 
)
GetLayerBoundingBox(FOOTPRINT self, LSET aLayers) -> BOX2I

Definition at line 18450 of file pcbnew.py.

◆ GetLikelyAttribute()

def pcbnew.FOOTPRINT.GetLikelyAttribute (   self)
GetLikelyAttribute(FOOTPRINT self) -> int

Definition at line 18640 of file pcbnew.py.

◆ GetLink()

def pcbnew.FOOTPRINT.GetLink (   self)
GetLink(FOOTPRINT self) -> KIID

Definition at line 18864 of file pcbnew.py.

◆ GetLocalClearance()

def pcbnew.FOOTPRINT.GetLocalClearance (   self,
args 
)
    GetLocalClearance(FOOTPRINT self) -> int
    GetLocalClearance(FOOTPRINT self, wxString aSource) -> int

Definition at line 18565 of file pcbnew.py.

Here is the caller graph for this function:

◆ GetLocalSolderMaskMargin()

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

Definition at line 18553 of file pcbnew.py.

◆ GetLocalSolderPasteMargin()

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

Definition at line 18572 of file pcbnew.py.

◆ GetLocalSolderPasteMarginRatio()

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

Definition at line 18580 of file pcbnew.py.

◆ GetNetTiePadGroups()

def pcbnew.FOOTPRINT.GetNetTiePadGroups (   self)
GetNetTiePadGroups(FOOTPRINT self) -> std::vector< wxString,std::allocator< wxString > > const &

Definition at line 18620 of file pcbnew.py.

◆ GetNetTiePads()

def pcbnew.FOOTPRINT.GetNetTiePads (   self,
  aPad 
)
GetNetTiePads(FOOTPRINT self, PAD aPad) -> PADS_VEC

Definition at line 18636 of file pcbnew.py.

◆ GetNextPadNumber()

def pcbnew.FOOTPRINT.GetNextPadNumber (   self,
  aLastPadName 
)
GetNextPadNumber(FOOTPRINT self, wxString aLastPadName) -> wxString

Definition at line 18852 of file pcbnew.py.

◆ GetOrientation()

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

Definition at line 18497 of file pcbnew.py.

◆ GetOrientationDegrees()

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

Definition at line 18509 of file pcbnew.py.

◆ GetPad()

def pcbnew.FOOTPRINT.GetPad (   self,
args 
)
GetPad(FOOTPRINT self, VECTOR2I aPosition, LSET aLayerMask=LSET::AllLayersMask()) -> PAD

Definition at line 18840 of file pcbnew.py.

Here is the caller graph for this function:

◆ GetPadCount()

def pcbnew.FOOTPRINT.GetPadCount (   self,
args 
)
GetPadCount(FOOTPRINT self, INCLUDE_NPTH_T aIncludeNPTH=INCLUDE_NPTH_T(INCLUDE_NPTH)) -> unsigned int

Definition at line 18844 of file pcbnew.py.

◆ GetPath()

def pcbnew.FOOTPRINT.GetPath (   self)
GetPath(FOOTPRINT self) -> KIID_PATH

Definition at line 18545 of file pcbnew.py.

◆ GetPrivateLayers()

def pcbnew.FOOTPRINT.GetPrivateLayers (   self)
GetPrivateLayers(FOOTPRINT self) -> LSET

Definition at line 18411 of file pcbnew.py.

◆ GetProperties()

def pcbnew.FOOTPRINT.GetProperties (   self)
 Returns footprint properties map. 

Definition at line 18940 of file pcbnew.py.

◆ GetPropertiesNative()

def pcbnew.FOOTPRINT.GetPropertiesNative (   self)
GetPropertiesNative(FOOTPRINT self) -> MAP_STRING_STRING

Definition at line 18776 of file pcbnew.py.

Here is the caller graph for this function:

◆ GetProperty()

def pcbnew.FOOTPRINT.GetProperty (   self,
  key 
)
 Returns property with a given key if it exists, throws KeyError otherwise. 

Definition at line 18945 of file pcbnew.py.

◆ GetPropertyNative()

def pcbnew.FOOTPRINT.GetPropertyNative (   self,
  aKey 
)
GetPropertyNative(FOOTPRINT self, wxString aKey) -> wxString

Definition at line 18784 of file pcbnew.py.

Here is the caller graph for this function:

◆ GetReference()

def pcbnew.FOOTPRINT.GetReference (   self)
GetReference(FOOTPRINT self) -> wxString

Definition at line 18734 of file pcbnew.py.

◆ GetReferenceAsString()

def pcbnew.FOOTPRINT.GetReferenceAsString (   self)
GetReferenceAsString(FOOTPRINT self) -> wxString

Definition at line 18742 of file pcbnew.py.

◆ GetTypeName()

def pcbnew.FOOTPRINT.GetTypeName (   self)
GetTypeName(FOOTPRINT self) -> wxString

Definition at line 18856 of file pcbnew.py.

◆ GetUniquePadCount()

def pcbnew.FOOTPRINT.GetUniquePadCount (   self,
args 
)
GetUniquePadCount(FOOTPRINT self, INCLUDE_NPTH_T aIncludeNPTH=INCLUDE_NPTH_T(INCLUDE_NPTH)) -> unsigned int

Definition at line 18848 of file pcbnew.py.

◆ GetValue()

def pcbnew.FOOTPRINT.GetValue (   self)
GetValue(FOOTPRINT self) -> wxString

Definition at line 18750 of file pcbnew.py.

◆ GetValueAsString()

def pcbnew.FOOTPRINT.GetValueAsString (   self)
GetValueAsString(FOOTPRINT self) -> wxString

Definition at line 18758 of file pcbnew.py.

◆ GetZoneConnection()

def pcbnew.FOOTPRINT.GetZoneConnection (   self)
GetZoneConnection(FOOTPRINT self) -> ZONE_CONNECTION

Definition at line 18592 of file pcbnew.py.

◆ GraphicalItems()

def pcbnew.FOOTPRINT.GraphicalItems (   self,
args 
)
    GraphicalItems(FOOTPRINT self) -> DRAWINGS
    GraphicalItems(FOOTPRINT self) -> DRAWINGS

Definition at line 18461 of file pcbnew.py.

Here is the caller graph for this function:

◆ Groups()

def pcbnew.FOOTPRINT.Groups (   self,
args 
)
    Groups(FOOTPRINT self) -> FP_GROUPS
    Groups(FOOTPRINT self) -> FP_GROUPS

Definition at line 18475 of file pcbnew.py.

Here is the caller graph for this function:

◆ HasProperty()

def pcbnew.FOOTPRINT.HasProperty (   self,
  aKey 
)
HasProperty(FOOTPRINT self, wxString aKey) -> bool

Definition at line 18788 of file pcbnew.py.

Here is the caller graph for this function:

◆ HasThroughHolePads()

def pcbnew.FOOTPRINT.HasThroughHolePads (   self)
HasThroughHolePads(FOOTPRINT self) -> bool

Definition at line 18482 of file pcbnew.py.

◆ HitTest()

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

Reimplemented from pcbnew.EDA_ITEM.

Definition at line 18720 of file pcbnew.py.

Here is the caller graph for this function:

◆ HitTestAccurate()

def pcbnew.FOOTPRINT.HitTestAccurate (   self,
  aPosition,
  aAccuracy = 0 
)
HitTestAccurate(FOOTPRINT self, VECTOR2I aPosition, int aAccuracy=0) -> bool

Definition at line 18716 of file pcbnew.py.

◆ HitTestOnLayer()

def pcbnew.FOOTPRINT.HitTestOnLayer (   self,
args 
)
    HitTestOnLayer(FOOTPRINT self, VECTOR2I aPosition, PCB_LAYER_ID aLayer, int aAccuracy=0) -> bool
    HitTestOnLayer(FOOTPRINT self, BOX2I aRect, bool aContained, PCB_LAYER_ID aLayer, int aAccuracy=0) -> bool

Definition at line 18727 of file pcbnew.py.

Here is the caller graph for this function:

◆ IncrementFlag()

def pcbnew.FOOTPRINT.IncrementFlag (   self)
IncrementFlag(FOOTPRINT self)

Definition at line 18608 of file pcbnew.py.

◆ IncrementReference()

def pcbnew.FOOTPRINT.IncrementReference (   self,
  aDelta 
)
IncrementReference(FOOTPRINT self, int aDelta)

Definition at line 18746 of file pcbnew.py.

◆ IsBoardOnly()

def pcbnew.FOOTPRINT.IsBoardOnly (   self)
IsBoardOnly(FOOTPRINT self) -> bool

Definition at line 18796 of file pcbnew.py.

◆ IsConflicting()

def pcbnew.FOOTPRINT.IsConflicting (   self)
IsConflicting(FOOTPRINT self) -> bool

Definition at line 18652 of file pcbnew.py.

◆ IsExcludedFromBOM()

def pcbnew.FOOTPRINT.IsExcludedFromBOM (   self)
IsExcludedFromBOM(FOOTPRINT self) -> bool

Definition at line 18812 of file pcbnew.py.

◆ IsExcludedFromPosFiles()

def pcbnew.FOOTPRINT.IsExcludedFromPosFiles (   self)
IsExcludedFromPosFiles(FOOTPRINT self) -> bool

Definition at line 18804 of file pcbnew.py.

◆ IsFlipped()

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

Definition at line 18648 of file pcbnew.py.

◆ IsLibNameValid()

def pcbnew.FOOTPRINT.IsLibNameValid (   aName)
static
IsLibNameValid(wxString aName) -> bool

Definition at line 18889 of file pcbnew.py.

◆ IsNetTie()

def pcbnew.FOOTPRINT.IsNetTie (   self)
IsNetTie(FOOTPRINT self) -> bool

Definition at line 18616 of file pcbnew.py.

◆ IsPlaced()

def pcbnew.FOOTPRINT.IsPlaced (   self)
IsPlaced(FOOTPRINT self) -> bool

Definition at line 18656 of file pcbnew.py.

◆ LegacyPadsLocked()

def pcbnew.FOOTPRINT.LegacyPadsLocked (   self)
LegacyPadsLocked(FOOTPRINT self) -> bool

Definition at line 18672 of file pcbnew.py.

◆ MapPadNumbersToNetTieGroups()

def pcbnew.FOOTPRINT.MapPadNumbersToNetTieGroups (   self)
MapPadNumbersToNetTieGroups(FOOTPRINT self) -> std::map< wxString,int,std::less< wxString >,std::allocator< std::pair< wxString const,int > > >

Definition at line 18632 of file pcbnew.py.

◆ Models()

def pcbnew.FOOTPRINT.Models (   self,
args 
)
    Models(FOOTPRINT self) -> VECTOR_FP_3DMODEL
    Models(FOOTPRINT self) -> VECTOR_FP_3DMODEL

Definition at line 18486 of file pcbnew.py.

Here is the caller graph for this function:

◆ MoveAnchorPosition()

def pcbnew.FOOTPRINT.MoveAnchorPosition (   self,
  aMoveVector 
)
MoveAnchorPosition(FOOTPRINT self, VECTOR2I aMoveVector)

Definition at line 18644 of file pcbnew.py.

◆ NeedsPlaced()

def pcbnew.FOOTPRINT.NeedsPlaced (   self)
NeedsPlaced(FOOTPRINT self) -> bool

Definition at line 18664 of file pcbnew.py.

◆ Pads()

def pcbnew.FOOTPRINT.Pads (   self,
args 
)
    Pads(FOOTPRINT self) -> PADS
    Pads(FOOTPRINT self) -> PADS

Definition at line 18454 of file pcbnew.py.

Here is the caller graph for this function:

◆ Reference()

def pcbnew.FOOTPRINT.Reference (   self,
args 
)
    Reference(FOOTPRINT self) -> FP_TEXT
    Reference(FOOTPRINT self) -> FP_TEXT

Definition at line 18769 of file pcbnew.py.

Here is the caller graph for this function:

◆ RemoveNative()

def pcbnew.FOOTPRINT.RemoveNative (   self,
args 
)
RemoveNative(FOOTPRINT self, BOARD_ITEM aItem, REMOVE_MODE aMode=NORMAL)

Reimplemented from pcbnew.BOARD_ITEM_CONTAINER.

Definition at line 18423 of file pcbnew.py.

Here is the caller graph for this function:

◆ ResolveTextVar()

def pcbnew.FOOTPRINT.ResolveTextVar (   self,
  token,
  aDepth = 0 
)
ResolveTextVar(FOOTPRINT self, wxString token, int aDepth=0) -> bool

Definition at line 18712 of file pcbnew.py.

◆ RunOnChildren()

def pcbnew.FOOTPRINT.RunOnChildren (   self,
  aFunction 
)
RunOnChildren(FOOTPRINT self, std::function< void (BOARD_ITEM *) > const & aFunction)

Definition at line 18880 of file pcbnew.py.

◆ SetAllowMissingCourtyard()

def pcbnew.FOOTPRINT.SetAllowMissingCourtyard (   self,
  aAllow = True 
)
SetAllowMissingCourtyard(FOOTPRINT self, bool aAllow=True)

Definition at line 18824 of file pcbnew.py.

◆ SetAttributes()

def pcbnew.FOOTPRINT.SetAttributes (   self,
  aAttributes 
)
SetAttributes(FOOTPRINT self, int aAttributes)

Definition at line 18600 of file pcbnew.py.

◆ SetBoardOnly()

def pcbnew.FOOTPRINT.SetBoardOnly (   self,
  aIsBoardOnly = True 
)
SetBoardOnly(FOOTPRINT self, bool aIsBoardOnly=True)

Definition at line 18800 of file pcbnew.py.

◆ SetDescription()

def pcbnew.FOOTPRINT.SetDescription (   self,
  aDoc 
)
SetDescription(FOOTPRINT self, wxString aDoc)

Definition at line 18533 of file pcbnew.py.

◆ SetExcludedFromBOM()

def pcbnew.FOOTPRINT.SetExcludedFromBOM (   self,
  aExclude = True 
)
SetExcludedFromBOM(FOOTPRINT self, bool aExclude=True)

Definition at line 18816 of file pcbnew.py.

◆ SetExcludedFromPosFiles()

def pcbnew.FOOTPRINT.SetExcludedFromPosFiles (   self,
  aExclude = True 
)
SetExcludedFromPosFiles(FOOTPRINT self, bool aExclude=True)

Definition at line 18808 of file pcbnew.py.

◆ SetFileFormatVersionAtLoad()

def pcbnew.FOOTPRINT.SetFileFormatVersionAtLoad (   self,
  aVersion 
)
SetFileFormatVersionAtLoad(FOOTPRINT self, int aVersion)

Definition at line 18828 of file pcbnew.py.

◆ SetFlag()

def pcbnew.FOOTPRINT.SetFlag (   self,
  aFlag 
)
SetFlag(FOOTPRINT self, int aFlag)

Definition at line 18604 of file pcbnew.py.

◆ SetFPID()

def pcbnew.FOOTPRINT.SetFPID (   self,
  aFPID 
)
SetFPID(FOOTPRINT self, LIB_ID aFPID)

Definition at line 18517 of file pcbnew.py.

◆ SetFPIDAsString()

def pcbnew.FOOTPRINT.SetFPIDAsString (   self,
  aFPID 
)
SetFPIDAsString(FOOTPRINT self, wxString aFPID)

Definition at line 18525 of file pcbnew.py.

◆ SetInitialComments()

def pcbnew.FOOTPRINT.SetInitialComments (   self,
  aInitialComments 
)
SetInitialComments(FOOTPRINT self, wxArrayString * aInitialComments)

Definition at line 18902 of file pcbnew.py.

◆ SetIsPlaced()

def pcbnew.FOOTPRINT.SetIsPlaced (   self,
  isPlaced 
)
SetIsPlaced(FOOTPRINT self, bool isPlaced)

Definition at line 18660 of file pcbnew.py.

◆ SetKeywords()

def pcbnew.FOOTPRINT.SetKeywords (   self,
  aKeywords 
)
SetKeywords(FOOTPRINT self, wxString aKeywords)

Definition at line 18541 of file pcbnew.py.

◆ SetLayerAndFlip()

def pcbnew.FOOTPRINT.SetLayerAndFlip (   self,
  aLayer 
)
SetLayerAndFlip(FOOTPRINT self, PCB_LAYER_ID aLayer)

Definition at line 18501 of file pcbnew.py.

◆ SetLink()

def pcbnew.FOOTPRINT.SetLink (   self,
  aLink 
)
SetLink(FOOTPRINT self, KIID aLink)

Definition at line 18868 of file pcbnew.py.

◆ SetLocalClearance()

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

Definition at line 18561 of file pcbnew.py.

◆ SetLocalSolderMaskMargin()

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

Definition at line 18557 of file pcbnew.py.

◆ SetLocalSolderPasteMargin()

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

Definition at line 18576 of file pcbnew.py.

◆ SetLocalSolderPasteMarginRatio()

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

Definition at line 18584 of file pcbnew.py.

◆ SetNeedsPlaced()

def pcbnew.FOOTPRINT.SetNeedsPlaced (   self,
  needsPlaced 
)
SetNeedsPlaced(FOOTPRINT self, bool needsPlaced)

Definition at line 18668 of file pcbnew.py.

◆ SetOrientation()

def pcbnew.FOOTPRINT.SetOrientation (   self,
  aNewAngle 
)
SetOrientation(FOOTPRINT self, EDA_ANGLE aNewAngle)

Definition at line 18493 of file pcbnew.py.

◆ SetOrientationDegrees()

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

Definition at line 18505 of file pcbnew.py.

◆ SetPath()

def pcbnew.FOOTPRINT.SetPath (   self,
  aPath 
)
SetPath(FOOTPRINT self, KIID_PATH aPath)

Definition at line 18549 of file pcbnew.py.

◆ SetPrivateLayers()

def pcbnew.FOOTPRINT.SetPrivateLayers (   self,
  aLayers 
)
SetPrivateLayers(FOOTPRINT self, LSET aLayers)

Definition at line 18415 of file pcbnew.py.

◆ SetProperties()

def pcbnew.FOOTPRINT.SetProperties (   self,
  properties 
)
 Sets footprint properties map. 

Definition at line 18952 of file pcbnew.py.

◆ SetPropertiesNative()

def pcbnew.FOOTPRINT.SetPropertiesNative (   self,
  aProps 
)
SetPropertiesNative(FOOTPRINT self, MAP_STRING_STRING aProps)

Definition at line 18780 of file pcbnew.py.

Here is the caller graph for this function:

◆ SetProperty()

def pcbnew.FOOTPRINT.SetProperty (   self,
  aKey,
  aVal 
)
SetProperty(FOOTPRINT self, wxString aKey, wxString aVal)

Definition at line 18792 of file pcbnew.py.

◆ SetReference()

def pcbnew.FOOTPRINT.SetReference (   self,
  aReference 
)
SetReference(FOOTPRINT self, wxString aReference)

Definition at line 18738 of file pcbnew.py.

◆ SetValue()

def pcbnew.FOOTPRINT.SetValue (   self,
  aValue 
)
SetValue(FOOTPRINT self, wxString aValue)

Definition at line 18754 of file pcbnew.py.

◆ SetZoneConnection()

def pcbnew.FOOTPRINT.SetZoneConnection (   self,
  aType 
)
SetZoneConnection(FOOTPRINT self, ZONE_CONNECTION aType)

Definition at line 18588 of file pcbnew.py.

◆ StringLibNameInvalidChars()

def pcbnew.FOOTPRINT.StringLibNameInvalidChars (   aUserReadable)
static
StringLibNameInvalidChars(bool aUserReadable) -> wxChar const *

Definition at line 18894 of file pcbnew.py.

◆ TransformFPShapesToPolySet()

def pcbnew.FOOTPRINT.TransformFPShapesToPolySet (   self,
  aBuffer,
  aLayer,
  aClearance,
  aError,
  aErrorLoc,
  aIncludeText = True,
  aIncludeShapes = True,
  aIncludePrivateItems = False 
)
TransformFPShapesToPolySet(FOOTPRINT self, SHAPE_POLY_SET aBuffer, PCB_LAYER_ID aLayer, int aClearance, int aError, ERROR_LOC aErrorLoc, bool aIncludeText=True, bool aIncludeShapes=True, bool aIncludePrivateItems=False)

Definition at line 18700 of file pcbnew.py.

◆ TransformFPTextToPolySet()

def pcbnew.FOOTPRINT.TransformFPTextToPolySet (   self,
  aBuffer,
  aLayer,
  aClearance,
  aError,
  aErrorLoc 
)
TransformFPTextToPolySet(FOOTPRINT self, SHAPE_POLY_SET aBuffer, PCB_LAYER_ID aLayer, int aClearance, int aError, ERROR_LOC aErrorLoc)

Definition at line 18704 of file pcbnew.py.

◆ TransformPadsToPolySet()

def pcbnew.FOOTPRINT.TransformPadsToPolySet (   self,
  aBuffer,
  aLayer,
  aClearance,
  aMaxError,
  aErrorLoc,
  aSkipNPTHPadsWihNoCopper = False,
  aSkipPlatedPads = False,
  aSkipNonPlatedPads = False 
)
TransformPadsToPolySet(FOOTPRINT self, SHAPE_POLY_SET aBuffer, PCB_LAYER_ID aLayer, int aClearance, int aMaxError, ERROR_LOC aErrorLoc, bool aSkipNPTHPadsWihNoCopper=False, bool aSkipPlatedPads=False, bool aSkipNonPlatedPads=False)

Definition at line 18696 of file pcbnew.py.

◆ Value()

def pcbnew.FOOTPRINT.Value (   self,
args 
)
    Value(FOOTPRINT self) -> FP_TEXT
    Value(FOOTPRINT self) -> FP_TEXT

Definition at line 18762 of file pcbnew.py.

Here is the caller graph for this function:

◆ ViewGetLOD()

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

Definition at line 18884 of file pcbnew.py.

◆ Zones()

def pcbnew.FOOTPRINT.Zones (   self,
args 
)
    Zones(FOOTPRINT self) -> FP_ZONES
    Zones(FOOTPRINT self) -> FP_ZONES

Definition at line 18468 of file pcbnew.py.

Here is the caller graph for this function:

Property Documentation

◆ thisown

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

Definition at line 18394 of file pcbnew.py.


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