KiCad Pcbnew Python Scripting
|
Public Member Functions | |
def | __init__ (self, *args) |
"bool" | IsConnected (self) |
"NETCLASS *" | GetNetClass (self) |
"wxString" | GetNetClassName (self) |
"void" | InitDataFromSrcInCopyCtor (self, "ZONE" aZone) |
"wxPoint" | GetPosition (self) |
"void" | SetPosition (self, "wxPoint" aPos) |
"void" | SetPriority (self, "unsigned int" aPriority) |
"unsigned int" | GetPriority (self) |
"bool" | HigherPriority (self, "ZONE" aOther) |
"bool" | SameNet (self, "ZONE" aOther) |
"void" | GetMsgPanelInfo (self, "EDA_DRAW_FRAME *" aFrame, "std::vector< MSG_PANEL_ITEM,std::allocator< MSG_PANEL_ITEM > > &" aList) |
"void" | SetLayerSet (self, "LSET" aLayerSet) |
"LSET" | GetLayerSet (self) |
"wxString" | GetZoneName (self) |
"void" | SetZoneName (self, "wxString" aName) |
"bool" | Matches (self, "wxFindReplaceData const &" aSearchData, "void *" aAuxData) |
"EDA_RECT const" | GetBoundingBox (self) |
"EDA_RECT const" | GetCachedBoundingBox (self) |
"void" | CacheBoundingBox (self) |
"int" | GetLocalClearance (self, *args) |
"void" | SetLocalClearance (self, "int" aClearance) |
"bool" | IsOnCopperLayer (self) |
"bool" | CommonLayerExists (self, "LSET" aLayerSet) |
"void" | SetLayer (self, "PCB_LAYER_ID" aLayer) |
"PCB_LAYER_ID" | GetLayer (self) |
"bool" | IsOnLayer (self, "PCB_LAYER_ID" arg2) |
"void" | ViewGetLayers (self, "int []" aLayers, "int &" aCount) |
"double" | ViewGetLOD (self, "int" aLayer, "KIGFX::VIEW *" aView) |
"void" | SetFillMode (self, "ZONE_FILL_MODE" aFillMode) |
"ZONE_FILL_MODE" | GetFillMode (self) |
"void" | SetThermalReliefGap (self, "int" aThermalReliefGap) |
"int" | GetThermalReliefGap (self, *args) |
"void" | SetThermalReliefSpokeWidth (self, "int" aThermalReliefSpokeWidth) |
"int" | GetThermalReliefSpokeWidth (self, *args) |
"double" | CalculateFilledArea (self) |
"double" | GetFilledArea (self) |
"std::mutex &" | GetLock (self) |
"int" | GetFillFlag (self, "PCB_LAYER_ID" aLayer) |
"void" | SetFillFlag (self, "PCB_LAYER_ID" aLayer, "bool" aFlag) |
"bool" | IsFilled (self) |
"void" | SetIsFilled (self, "bool" isFilled) |
"bool" | NeedRefill (self) |
"void" | SetNeedRefill (self, "bool" aNeedRefill) |
"ZONE_CONNECTION" | GetPadConnection (self, *args) |
"void" | SetPadConnection (self, "ZONE_CONNECTION" aPadConnection) |
"int" | GetMinThickness (self) |
"void" | SetMinThickness (self, "int" aMinThickness) |
"int" | GetHatchThickness (self) |
"void" | SetHatchThickness (self, "int" aThickness) |
"int" | GetHatchGap (self) |
"void" | SetHatchGap (self, "int" aStep) |
"double" | GetHatchOrientation (self) |
"void" | SetHatchOrientation (self, "double" aStep) |
"int" | GetHatchSmoothingLevel (self) |
"void" | SetHatchSmoothingLevel (self, "int" aLevel) |
"double" | GetHatchSmoothingValue (self) |
"void" | SetHatchSmoothingValue (self, "double" aValue) |
"double" | GetHatchHoleMinArea (self) |
"void" | SetHatchHoleMinArea (self, "double" aPct) |
"int" | GetHatchBorderAlgorithm (self) |
"void" | SetHatchBorderAlgorithm (self, "int" aAlgo) |
"int" | GetSelectedCorner (self) |
"void" | SetSelectedCorner (self, *args) |
"int" | GetLocalFlags (self) |
"void" | SetLocalFlags (self, "int" aFlags) |
"std::vector< SEG,std::allocator< SEG > > const &" | FillSegments (self, *args) |
"SHAPE_POLY_SET const *" | Outline (self, *args) |
"void" | SetOutline (self, "SHAPE_POLY_SET" aOutline) |
"std::shared_ptr< SHAPE >" | GetEffectiveShape (self, *args) |
"bool" | HitTestFilledArea (self, "PCB_LAYER_ID" aLayer, "wxPoint" aRefPos, "int" aAccuracy=0) |
"bool" | HitTestCutout (self, *args) |
"void" | GetInteractingZones (self, "PCB_LAYER_ID" aLayer, "ZONES" aSameNetCollidingZones, "ZONES" aOtherNetIntersectingZones) |
"void" | TransformSolidAreasShapesToPolygon (self, *args) |
"void" | TransformSmoothedOutlineToPolygon (self, "SHAPE_POLY_SET" aCornerBuffer, "int" aClearance, "int" aError, "ERROR_LOC" aErrorLoc, "SHAPE_POLY_SET" aBoardOutline) |
"void" | TransformShapeWithClearanceToPolygon (self, "SHAPE_POLY_SET" aCornerBuffer, "PCB_LAYER_ID" aLayer, "int" aClearanceValue, "int" aError, "ERROR_LOC" aErrorLoc, "bool" ignoreLineWidth=False) |
"bool" | HitTestForCorner (self, *args) |
"bool" | HitTestForEdge (self, *args) |
"bool" | HitTest (self, *args) |
"bool" | UnFill (self) |
"void" | Move (self, "wxPoint" offset) |
"void" | MoveEdge (self, "wxPoint" offset, "int" aEdge) |
"void" | Rotate (self, "wxPoint" aCentre, "double" aAngle) |
"void" | Flip (self, "wxPoint" aCentre, "bool" aFlipLeftRight) |
"void" | Mirror (self, "wxPoint" aMirrorRef, "bool" aMirrorLeftRight) |
"wxString" | GetClass (self) |
"int" | GetNumCorners (self) |
"SHAPE_POLY_SET::ITERATOR" | Iterate (self) |
"SHAPE_POLY_SET::ITERATOR" | IterateWithHoles (self) |
"SHAPE_POLY_SET::CONST_ITERATOR" | CIterateWithHoles (self) |
"void" | RemoveAllContours (self) |
"VECTOR2I const &" | GetCornerPosition (self, "int" aCornerIndex) |
"void" | SetCornerPosition (self, "int" aCornerIndex, "wxPoint" new_pos) |
"void" | NewHole (self) |
"bool" | AppendCorner (self, "wxPoint" aPosition, "int" aHoleIdx, "bool" aAllowDuplication=False) |
"ZONE_BORDER_DISPLAY_STYLE" | GetHatchStyle (self) |
"void" | SetHatchStyle (self, "ZONE_BORDER_DISPLAY_STYLE" aStyle) |
"bool" | IsSame (self, "ZONE" aZoneToCompare) |
"bool" | HasFilledPolysForLayer (self, "PCB_LAYER_ID" aLayer) |
"SHAPE_POLY_SET const &" | GetFilledPolysList (self, "PCB_LAYER_ID" aLayer) |
"void" | CacheTriangulation (self, "PCB_LAYER_ID" aLayer=UNDEFINED_LAYER) |
"void" | SetFilledPolysList (self, "PCB_LAYER_ID" aLayer, "SHAPE_POLY_SET" aPolysList) |
"void" | SetRawPolysList (self, "PCB_LAYER_ID" aLayer, "SHAPE_POLY_SET" aPolysList) |
"bool" | IsIsland (self, "PCB_LAYER_ID" aLayer, "int" aPolyIdx) |
"void" | SetIsIsland (self, "PCB_LAYER_ID" aLayer, "int" aPolyIdx) |
"bool" | BuildSmoothedPoly (self, "SHAPE_POLY_SET" aSmoothedPoly, "PCB_LAYER_ID" aLayer, "SHAPE_POLY_SET" aBoardOutline, "SHAPE_POLY_SET" aSmoothedPolyWithApron=None) |
"void" | SetCornerSmoothingType (self, "int" aType) |
"int" | GetCornerSmoothingType (self) |
"void" | SetCornerRadius (self, "unsigned int" aRadius) |
"unsigned int" | GetCornerRadius (self) |
"bool" | GetFilledPolysUseThickness (self, *args) |
"int" | GetFillVersion (self) |
"void" | SetFillVersion (self, "int" aVersion) |
"void" | RemoveCutout (self, "int" aOutlineIdx, "int" aHoleIdx) |
"void" | AddPolygon (self, *args) |
"void" | SetFillSegments (self, "PCB_LAYER_ID" aLayer, "std::vector< SEG,std::allocator< SEG > > const &" aSegments) |
"SHAPE_POLY_SET &" | RawPolysList (self, "PCB_LAYER_ID" aLayer) |
"wxString" | GetSelectMenuText (self, "EDA_UNITS" aUnits) |
"BITMAPS" | GetMenuImage (self) |
"EDA_ITEM *" | Clone (self) |
"bool" | GetIsRuleArea (self) |
"bool" | GetDoNotAllowCopperPour (self) |
"bool" | GetDoNotAllowVias (self) |
"bool" | GetDoNotAllowTracks (self) |
"bool" | GetDoNotAllowPads (self) |
"bool" | GetDoNotAllowFootprints (self) |
"bool" | IsKeepout (self) |
"bool" | KeepoutAll (self) |
"void" | SetIsRuleArea (self, "bool" aEnable) |
"void" | SetDoNotAllowCopperPour (self, "bool" aEnable) |
"void" | SetDoNotAllowVias (self, "bool" aEnable) |
"void" | SetDoNotAllowTracks (self, "bool" aEnable) |
"void" | SetDoNotAllowPads (self, "bool" aEnable) |
"void" | SetDoNotAllowFootprints (self, "bool" aEnable) |
"ISLAND_REMOVAL_MODE const" | GetIslandRemovalMode (self) |
"void" | SetIslandRemovalMode (self, "ISLAND_REMOVAL_MODE" aRemove) |
"long long" | GetMinIslandArea (self) |
"void" | SetMinIslandArea (self, "long long" aArea) |
"int" | GetBorderHatchPitch (self) |
"void" | SetBorderDisplayStyle (self, "ZONE_BORDER_DISPLAY_STYLE" aHatchStyle, "int" aHatchPitch, "bool" aRebuildHatch) |
"void" | SetHatchPitch (self, "int" aPitch) |
"void" | UnHatchBorder (self) |
"void" | HatchBorder (self) |
"std::vector< SEG,std::allocator< SEG > > const &" | GetHatchLines (self) |
"bool" | GetHV45 (self) |
"void" | SetHV45 (self, "bool" aConstrain) |
"void" | BuildHashValue (self, "PCB_LAYER_ID" aLayer) |
"MD5_HASH" | GetHashValue (self, "PCB_LAYER_ID" aLayer) |
"void" | SwapData (self, "BOARD_ITEM" aImage) |
Public Member Functions inherited from pcbnew.BOARD_CONNECTED_ITEM | |
def | __init__ (self, *args, **kwargs) |
"bool" | IsConnected (self) |
"NETINFO_ITEM *" | GetNet (self) |
"void" | SetNet (self, "NETINFO_ITEM" aNetInfo) |
"int" | GetNetCode (self) |
"void" | SetNetCode (self, *args) |
"wxString" | GetNetname (self) |
"wxString" | GetNetnameMsg (self) |
"wxString" | GetShortNetname (self) |
"int" | GetOwnClearance (self, "PCB_LAYER_ID" aLayer, "wxString" aSource=None) |
"int" | GetLocalClearanceOverrides (self, "wxString" aSource) |
"int" | GetLocalClearance (self, "wxString" aSource) |
"NETCLASS *" | GetNetClass (self) |
"NETCLASS *" | GetEffectiveNetclass (self) |
"wxString" | GetNetClassName (self) |
"void" | SetLocalRatsnestVisible (self, "bool" aVisible) |
"bool" | GetLocalRatsnestVisible (self) |
Public Member Functions inherited from pcbnew.BOARD_ITEM | |
def | __init__ (self, *args, **kwargs) |
"void" | SetParentGroup (self, "PCB_GROUP" aGroup) |
"PCB_GROUP *" | GetParentGroup (self) |
"int" | GetX (self) |
"int" | GetY (self) |
"wxPoint" | GetCenter (self) |
"void" | SetX (self, "int" aX) |
"void" | SetY (self, "int" aY) |
"bool" | IsConnected (self) |
"bool" | IsOnCopperLayer (self) |
"std::shared_ptr< SHAPE >" | GetEffectiveShape (self, *args) |
"BOARD_ITEM_CONTAINER *" | GetParent (self) |
"BOARD_ITEM_CONTAINER *" | GetParentFootprint (self) |
"PCB_LAYER_ID" | GetLayer (self) |
"LSET" | GetLayerSet (self) |
"void" | SetLayerSet (self, "LSET" aLayers) |
"void" | SetLayer (self, "PCB_LAYER_ID" aLayer) |
"BOARD_ITEM *" | Duplicate (self) |
"void" | SwapData (self, "BOARD_ITEM" aImage) |
"bool" | IsOnLayer (self, "PCB_LAYER_ID" aLayer) |
"bool" | IsTrack (self) |
"bool" | IsLocked (self) |
"void" | SetLocked (self, "bool" aLocked) |
"void" | DeleteStructure (self) |
"void" | Move (self, *args) |
"void" | Rotate (self, *args) |
"void" | Flip (self, *args) |
"BOARD *" | GetBoard (self, *args) |
"wxString" | GetLayerName (self) |
"void" | ViewGetLayers (self, "int []" aLayers, "int &" aCount) |
"void" | TransformShapeWithClearanceToPolygon (self, "SHAPE_POLY_SET" aCornerBuffer, "PCB_LAYER_ID" aLayer, "int" aClearanceValue, "int" aError, "ERROR_LOC" aErrorLoc, "bool" ignoreLineWidth=False) |
def | Cast (self) |
def | Duplicate (self) |
def | SetPos (self, p) |
def | SetStartEnd (self, start, end) |
Public Member Functions inherited from pcbnew.EDA_ITEM | |
def | __init__ (self, *args, **kwargs) |
"KICAD_T" | Type (self) |
"EDA_ITEM *" | GetParent (self) |
"void" | SetParent (self, "EDA_ITEM" aParent) |
"bool" | IsModified (self) |
"bool" | IsNew (self) |
"bool" | IsMoving (self) |
"bool" | IsDragging (self) |
"bool" | IsWireImage (self) |
"bool" | IsSelected (self) |
"bool" | IsEntered (self) |
"bool" | IsResized (self) |
"bool" | IsBrightened (self) |
"void" | SetWireImage (self) |
"void" | SetSelected (self) |
"void" | SetBrightened (self) |
"void" | ClearSelected (self) |
"void" | ClearBrightened (self) |
"void" | SetModified (self) |
"int" | GetState (self, "EDA_ITEM_FLAGS" type) |
"void" | SetState (self, "EDA_ITEM_FLAGS" type, "bool" state) |
"EDA_ITEM_FLAGS" | GetStatus (self) |
"void" | SetStatus (self, "EDA_ITEM_FLAGS" aStatus) |
"void" | SetFlags (self, "EDA_ITEM_FLAGS" aMask) |
"void" | ClearFlags (self, *args) |
"EDA_ITEM_FLAGS" | GetFlags (self) |
"bool" | HasFlag (self, "EDA_ITEM_FLAGS" aFlag) |
"EDA_ITEM_FLAGS" | GetEditFlags (self) |
"void" | ClearTempFlags (self) |
"void" | ClearEditFlags (self) |
"bool" | IsType (self, "KICAD_T const []" aScanTypes) |
"void" | SetForceVisible (self, "bool" aEnable) |
"bool" | IsForceVisible (self) |
"void" | GetMsgPanelInfo (self, "EDA_DRAW_FRAME *" aFrame, "std::vector< MSG_PANEL_ITEM,std::allocator< MSG_PANEL_ITEM > > &" aList) |
"bool" | HitTest (self, *args) |
"EDA_RECT const" | GetBoundingBox (self) |
"wxPoint" | GetPosition (self) |
"void" | SetPosition (self, "wxPoint" aPos) |
"wxPoint const" | GetFocusPosition (self) |
"EDA_ITEM *" | Clone (self) |
"SEARCH_RESULT" | Visit (self, "INSPECTOR" inspector, "void *" testData, "KICAD_T const []" scanTypes) |
"wxString" | GetClass (self) |
"wxString" | GetSelectMenuText (self, "EDA_UNITS" aUnits) |
"BITMAPS" | GetMenuImage (self) |
"bool" | Matches (self, "wxFindReplaceData const &" aSearchData, "void *" aAuxData) |
"bool" | Replace (self, *args) |
"bool" | IsReplaceable (self) |
"bool" | __lt__ (self, "EDA_ITEM" aItem) |
"BOX2I const" | ViewBBox (self) |
"void" | ViewGetLayers (self, "int []" aLayers, "int &" aCount) |
Static Public Member Functions | |
"bool" | ClassOf ("EDA_ITEM" aItem) |
"int" | GetDefaultHatchPitch () |
"bool" | ClassOf ("EDA_ITEM" aItem) |
Static Public Member Functions inherited from pcbnew.EDA_ITEM | |
"bool" | Sort ("EDA_ITEM" aLeft, "EDA_ITEM" aRight) |
Properties | |
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag") | |
Properties inherited from pcbnew.BOARD_CONNECTED_ITEM | |
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag") | |
Properties inherited from pcbnew.BOARD_ITEM | |
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag") | |
Properties inherited from pcbnew.EDA_ITEM | |
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag") | |
m_Uuid = property(_pcbnew.EDA_ITEM_m_Uuid_get, doc=) | |
def pcbnew.ZONE.__init__ | ( | self, | |
* | args | ||
) |
__init__(ZONE self, BOARD_ITEM_CONTAINER parent, bool aInFP=False) -> ZONE __init__(ZONE self, ZONE aZone) -> ZONE
Reimplemented from pcbnew.BOARD_CONNECTED_ITEM.
Reimplemented in pcbnew.FP_ZONE.
Definition at line 12215 of file pcbnew.py.
"void" pcbnew.ZONE.AddPolygon | ( | self, | |
* | args | ||
) |
"bool" pcbnew.ZONE.AppendCorner | ( | self, | |
"wxPoint" | aPosition, | ||
"int" | aHoleIdx, | ||
"bool" | aAllowDuplication = False |
||
) |
"void" pcbnew.ZONE.BuildHashValue | ( | self, | |
"PCB_LAYER_ID" | aLayer | ||
) |
"bool" pcbnew.ZONE.BuildSmoothedPoly | ( | self, | |
"SHAPE_POLY_SET" | aSmoothedPoly, | ||
"PCB_LAYER_ID" | aLayer, | ||
"SHAPE_POLY_SET" | aBoardOutline, | ||
"SHAPE_POLY_SET" | aSmoothedPolyWithApron = None |
||
) |
"void" pcbnew.ZONE.CacheBoundingBox | ( | self | ) |
"void" pcbnew.ZONE.CacheTriangulation | ( | self, | |
"PCB_LAYER_ID" | aLayer = UNDEFINED_LAYER |
||
) |
"double" pcbnew.ZONE.CalculateFilledArea | ( | self | ) |
"SHAPE_POLY_SET.CONST_ITERATOR" pcbnew.ZONE.CIterateWithHoles | ( | self | ) |
|
static |
ClassOf(EDA_ITEM aItem) -> bool
Reimplemented from pcbnew.BOARD_CONNECTED_ITEM.
"EDA_ITEM *" pcbnew.ZONE.Clone | ( | self | ) |
Clone(ZONE self) -> EDA_ITEM
Reimplemented from pcbnew.EDA_ITEM.
Reimplemented in pcbnew.FP_ZONE.
Definition at line 12739 of file pcbnew.py.
"bool" pcbnew.ZONE.CommonLayerExists | ( | self, | |
"LSET" | aLayerSet | ||
) |
"std.vector< SEG,std.allocator< SEG > > const &" pcbnew.ZONE.FillSegments | ( | self, | |
* | args | ||
) |
"void" pcbnew.ZONE.Flip | ( | self, | |
"wxPoint" | aCentre, | ||
"bool" | aFlipLeftRight | ||
) |
Flip(ZONE self, wxPoint aCentre, bool aFlipLeftRight)
Reimplemented from pcbnew.BOARD_ITEM.
"int" pcbnew.ZONE.GetBorderHatchPitch | ( | self | ) |
"EDA_RECT const" pcbnew.ZONE.GetBoundingBox | ( | self | ) |
GetBoundingBox(ZONE self) -> EDA_RECT
Reimplemented from pcbnew.EDA_ITEM.
"EDA_RECT const" pcbnew.ZONE.GetCachedBoundingBox | ( | self | ) |
"wxString" pcbnew.ZONE.GetClass | ( | self | ) |
GetClass(ZONE self) -> wxString
Reimplemented from pcbnew.EDA_ITEM.
Definition at line 12597 of file pcbnew.py.
"VECTOR2I const &" pcbnew.ZONE.GetCornerPosition | ( | self, | |
"int" | aCornerIndex | ||
) |
"unsigned int" pcbnew.ZONE.GetCornerRadius | ( | self | ) |
"int" pcbnew.ZONE.GetCornerSmoothingType | ( | self | ) |
|
static |
"bool" pcbnew.ZONE.GetDoNotAllowCopperPour | ( | self | ) |
"bool" pcbnew.ZONE.GetDoNotAllowFootprints | ( | self | ) |
"bool" pcbnew.ZONE.GetDoNotAllowPads | ( | self | ) |
"bool" pcbnew.ZONE.GetDoNotAllowTracks | ( | self | ) |
"bool" pcbnew.ZONE.GetDoNotAllowVias | ( | self | ) |
"std.shared_ptr< SHAPE >" pcbnew.ZONE.GetEffectiveShape | ( | self, | |
* | args | ||
) |
GetEffectiveShape(ZONE self, PCB_LAYER_ID aLayer=UNDEFINED_LAYER, FLASHING aFlash=DEFAULT) -> std::shared_ptr< SHAPE >
Reimplemented from pcbnew.BOARD_ITEM.
"double" pcbnew.ZONE.GetFilledArea | ( | self | ) |
"SHAPE_POLY_SET const &" pcbnew.ZONE.GetFilledPolysList | ( | self, | |
"PCB_LAYER_ID" | aLayer | ||
) |
"bool" pcbnew.ZONE.GetFilledPolysUseThickness | ( | self, | |
* | args | ||
) |
"int" pcbnew.ZONE.GetFillFlag | ( | self, | |
"PCB_LAYER_ID" | aLayer | ||
) |
"ZONE_FILL_MODE" pcbnew.ZONE.GetFillMode | ( | self | ) |
"int" pcbnew.ZONE.GetFillVersion | ( | self | ) |
"MD5_HASH" pcbnew.ZONE.GetHashValue | ( | self, | |
"PCB_LAYER_ID" | aLayer | ||
) |
"int" pcbnew.ZONE.GetHatchBorderAlgorithm | ( | self | ) |
"int" pcbnew.ZONE.GetHatchGap | ( | self | ) |
"double" pcbnew.ZONE.GetHatchHoleMinArea | ( | self | ) |
"std.vector< SEG,std.allocator< SEG > > const &" pcbnew.ZONE.GetHatchLines | ( | self | ) |
"double" pcbnew.ZONE.GetHatchOrientation | ( | self | ) |
"int" pcbnew.ZONE.GetHatchSmoothingLevel | ( | self | ) |
"double" pcbnew.ZONE.GetHatchSmoothingValue | ( | self | ) |
"ZONE_BORDER_DISPLAY_STYLE" pcbnew.ZONE.GetHatchStyle | ( | self | ) |
"int" pcbnew.ZONE.GetHatchThickness | ( | self | ) |
"bool" pcbnew.ZONE.GetHV45 | ( | self | ) |
"void" pcbnew.ZONE.GetInteractingZones | ( | self, | |
"PCB_LAYER_ID" | aLayer, | ||
"ZONES" | aSameNetCollidingZones, | ||
"ZONES" | aOtherNetIntersectingZones | ||
) |
"ISLAND_REMOVAL_MODE const" pcbnew.ZONE.GetIslandRemovalMode | ( | self | ) |
"bool" pcbnew.ZONE.GetIsRuleArea | ( | self | ) |
"PCB_LAYER_ID" pcbnew.ZONE.GetLayer | ( | self | ) |
GetLayer(ZONE self) -> PCB_LAYER_ID
Reimplemented from pcbnew.BOARD_ITEM.
Definition at line 12327 of file pcbnew.py.
"LSET" pcbnew.ZONE.GetLayerSet | ( | self | ) |
GetLayerSet(ZONE self) -> LSET
Reimplemented from pcbnew.BOARD_ITEM.
"int" pcbnew.ZONE.GetLocalClearance | ( | self, | |
* | args | ||
) |
GetLocalClearance(ZONE self, wxString aSource) -> int GetLocalClearance(ZONE self) -> int
Reimplemented from pcbnew.BOARD_CONNECTED_ITEM.
Definition at line 12304 of file pcbnew.py.
"int" pcbnew.ZONE.GetLocalFlags | ( | self | ) |
"std.mutex &" pcbnew.ZONE.GetLock | ( | self | ) |
"BITMAPS" pcbnew.ZONE.GetMenuImage | ( | self | ) |
GetMenuImage(ZONE self) -> BITMAPS
Reimplemented from pcbnew.EDA_ITEM.
"long long" pcbnew.ZONE.GetMinIslandArea | ( | self | ) |
"int" pcbnew.ZONE.GetMinThickness | ( | self | ) |
"void" pcbnew.ZONE.GetMsgPanelInfo | ( | self, | |
"EDA_DRAW_FRAME *" | aFrame, | ||
"std::vector< MSG_PANEL_ITEM,std::allocator< MSG_PANEL_ITEM > > &" | aList | ||
) |
GetMsgPanelInfo(ZONE self, EDA_DRAW_FRAME * aFrame, std::vector< MSG_PANEL_ITEM,std::allocator< MSG_PANEL_ITEM > > & aList)
Reimplemented from pcbnew.EDA_ITEM.
"NETCLASS *" pcbnew.ZONE.GetNetClass | ( | self | ) |
GetNetClass(ZONE self) -> NETCLASS *
Reimplemented from pcbnew.BOARD_CONNECTED_ITEM.
"wxString" pcbnew.ZONE.GetNetClassName | ( | self | ) |
GetNetClassName(ZONE self) -> wxString
Reimplemented from pcbnew.BOARD_CONNECTED_ITEM.
"int" pcbnew.ZONE.GetNumCorners | ( | self | ) |
"ZONE_CONNECTION" pcbnew.ZONE.GetPadConnection | ( | self, | |
* | args | ||
) |
"wxPoint" pcbnew.ZONE.GetPosition | ( | self | ) |
GetPosition(ZONE self) -> wxPoint
Reimplemented from pcbnew.EDA_ITEM.
"unsigned int" pcbnew.ZONE.GetPriority | ( | self | ) |
"int" pcbnew.ZONE.GetSelectedCorner | ( | self | ) |
"wxString" pcbnew.ZONE.GetSelectMenuText | ( | self, | |
"EDA_UNITS" | aUnits | ||
) |
GetSelectMenuText(ZONE self, EDA_UNITS aUnits) -> wxString
Reimplemented from pcbnew.EDA_ITEM.
"int" pcbnew.ZONE.GetThermalReliefGap | ( | self, | |
* | args | ||
) |
"int" pcbnew.ZONE.GetThermalReliefSpokeWidth | ( | self, | |
* | args | ||
) |
"wxString" pcbnew.ZONE.GetZoneName | ( | self | ) |
"bool" pcbnew.ZONE.HasFilledPolysForLayer | ( | self, | |
"PCB_LAYER_ID" | aLayer | ||
) |
"void" pcbnew.ZONE.HatchBorder | ( | self | ) |
"bool" pcbnew.ZONE.HigherPriority | ( | self, | |
"ZONE" | aOther | ||
) |
"bool" pcbnew.ZONE.HitTest | ( | self, | |
* | args | ||
) |
HitTest(ZONE self, wxPoint aPosition, int aAccuracy=0) -> bool HitTest(ZONE self, EDA_RECT aRect, bool aContained=True, int aAccuracy=0) -> bool
Reimplemented from pcbnew.EDA_ITEM.
Definition at line 12566 of file pcbnew.py.
"bool" pcbnew.ZONE.HitTestCutout | ( | self, | |
* | args | ||
) |
"bool" pcbnew.ZONE.HitTestFilledArea | ( | self, | |
"PCB_LAYER_ID" | aLayer, | ||
"wxPoint" | aRefPos, | ||
"int" | aAccuracy = 0 |
||
) |
"bool" pcbnew.ZONE.HitTestForCorner | ( | self, | |
* | args | ||
) |
"bool" pcbnew.ZONE.HitTestForEdge | ( | self, | |
* | args | ||
) |
"void" pcbnew.ZONE.InitDataFromSrcInCopyCtor | ( | self, | |
"ZONE" | aZone | ||
) |
"bool" pcbnew.ZONE.IsConnected | ( | self | ) |
IsConnected(ZONE self) -> bool
Reimplemented from pcbnew.BOARD_CONNECTED_ITEM.
"bool" pcbnew.ZONE.IsFilled | ( | self | ) |
"bool" pcbnew.ZONE.IsIsland | ( | self, | |
"PCB_LAYER_ID" | aLayer, | ||
"int" | aPolyIdx | ||
) |
"bool" pcbnew.ZONE.IsKeepout | ( | self | ) |
"bool" pcbnew.ZONE.IsOnCopperLayer | ( | self | ) |
IsOnCopperLayer(ZONE self) -> bool
Reimplemented from pcbnew.BOARD_ITEM.
"bool" pcbnew.ZONE.IsOnLayer | ( | self, | |
"PCB_LAYER_ID" | arg2 | ||
) |
IsOnLayer(ZONE self, PCB_LAYER_ID arg2) -> bool
Reimplemented from pcbnew.BOARD_ITEM.
"bool" pcbnew.ZONE.IsSame | ( | self, | |
"ZONE" | aZoneToCompare | ||
) |
"SHAPE_POLY_SET.ITERATOR" pcbnew.ZONE.Iterate | ( | self | ) |
"SHAPE_POLY_SET.ITERATOR" pcbnew.ZONE.IterateWithHoles | ( | self | ) |
"bool" pcbnew.ZONE.KeepoutAll | ( | self | ) |
"bool" pcbnew.ZONE.Matches | ( | self, | |
"wxFindReplaceData const &" | aSearchData, | ||
"void *" | aAuxData | ||
) |
Matches(ZONE self, wxFindReplaceData const & aSearchData, void * aAuxData) -> bool
Reimplemented from pcbnew.EDA_ITEM.
"void" pcbnew.ZONE.Mirror | ( | self, | |
"wxPoint" | aMirrorRef, | ||
"bool" | aMirrorLeftRight | ||
) |
"void" pcbnew.ZONE.Move | ( | self, | |
"wxPoint" | offset | ||
) |
Move(ZONE self, wxPoint offset)
Reimplemented from pcbnew.BOARD_ITEM.
"void" pcbnew.ZONE.MoveEdge | ( | self, | |
"wxPoint" | offset, | ||
"int" | aEdge | ||
) |
"bool" pcbnew.ZONE.NeedRefill | ( | self | ) |
"SHAPE_POLY_SET const *" pcbnew.ZONE.Outline | ( | self, | |
* | args | ||
) |
"SHAPE_POLY_SET &" pcbnew.ZONE.RawPolysList | ( | self, | |
"PCB_LAYER_ID" | aLayer | ||
) |
"void" pcbnew.ZONE.RemoveAllContours | ( | self | ) |
"void" pcbnew.ZONE.RemoveCutout | ( | self, | |
"int" | aOutlineIdx, | ||
"int" | aHoleIdx | ||
) |
"void" pcbnew.ZONE.Rotate | ( | self, | |
"wxPoint" | aCentre, | ||
"double" | aAngle | ||
) |
Rotate(ZONE self, wxPoint aCentre, double aAngle)
Reimplemented from pcbnew.BOARD_ITEM.
"bool" pcbnew.ZONE.SameNet | ( | self, | |
"ZONE" | aOther | ||
) |
"void" pcbnew.ZONE.SetBorderDisplayStyle | ( | self, | |
"ZONE_BORDER_DISPLAY_STYLE" | aHatchStyle, | ||
"int" | aHatchPitch, | ||
"bool" | aRebuildHatch | ||
) |
"void" pcbnew.ZONE.SetCornerPosition | ( | self, | |
"int" | aCornerIndex, | ||
"wxPoint" | new_pos | ||
) |
"void" pcbnew.ZONE.SetCornerRadius | ( | self, | |
"unsigned int" | aRadius | ||
) |
"void" pcbnew.ZONE.SetCornerSmoothingType | ( | self, | |
"int" | aType | ||
) |
"void" pcbnew.ZONE.SetDoNotAllowCopperPour | ( | self, | |
"bool" | aEnable | ||
) |
"void" pcbnew.ZONE.SetDoNotAllowFootprints | ( | self, | |
"bool" | aEnable | ||
) |
"void" pcbnew.ZONE.SetDoNotAllowPads | ( | self, | |
"bool" | aEnable | ||
) |
"void" pcbnew.ZONE.SetDoNotAllowTracks | ( | self, | |
"bool" | aEnable | ||
) |
"void" pcbnew.ZONE.SetDoNotAllowVias | ( | self, | |
"bool" | aEnable | ||
) |
"void" pcbnew.ZONE.SetFilledPolysList | ( | self, | |
"PCB_LAYER_ID" | aLayer, | ||
"SHAPE_POLY_SET" | aPolysList | ||
) |
"void" pcbnew.ZONE.SetFillFlag | ( | self, | |
"PCB_LAYER_ID" | aLayer, | ||
"bool" | aFlag | ||
) |
"void" pcbnew.ZONE.SetFillMode | ( | self, | |
"ZONE_FILL_MODE" | aFillMode | ||
) |
"void" pcbnew.ZONE.SetFillSegments | ( | self, | |
"PCB_LAYER_ID" | aLayer, | ||
"std::vector< SEG,std::allocator< SEG > > const &" | aSegments | ||
) |
"void" pcbnew.ZONE.SetFillVersion | ( | self, | |
"int" | aVersion | ||
) |
"void" pcbnew.ZONE.SetHatchBorderAlgorithm | ( | self, | |
"int" | aAlgo | ||
) |
"void" pcbnew.ZONE.SetHatchGap | ( | self, | |
"int" | aStep | ||
) |
"void" pcbnew.ZONE.SetHatchHoleMinArea | ( | self, | |
"double" | aPct | ||
) |
"void" pcbnew.ZONE.SetHatchOrientation | ( | self, | |
"double" | aStep | ||
) |
"void" pcbnew.ZONE.SetHatchPitch | ( | self, | |
"int" | aPitch | ||
) |
"void" pcbnew.ZONE.SetHatchSmoothingLevel | ( | self, | |
"int" | aLevel | ||
) |
"void" pcbnew.ZONE.SetHatchSmoothingValue | ( | self, | |
"double" | aValue | ||
) |
"void" pcbnew.ZONE.SetHatchStyle | ( | self, | |
"ZONE_BORDER_DISPLAY_STYLE" | aStyle | ||
) |
"void" pcbnew.ZONE.SetHatchThickness | ( | self, | |
"int" | aThickness | ||
) |
"void" pcbnew.ZONE.SetHV45 | ( | self, | |
"bool" | aConstrain | ||
) |
"void" pcbnew.ZONE.SetIsFilled | ( | self, | |
"bool" | isFilled | ||
) |
"void" pcbnew.ZONE.SetIsIsland | ( | self, | |
"PCB_LAYER_ID" | aLayer, | ||
"int" | aPolyIdx | ||
) |
"void" pcbnew.ZONE.SetIslandRemovalMode | ( | self, | |
"ISLAND_REMOVAL_MODE" | aRemove | ||
) |
"void" pcbnew.ZONE.SetIsRuleArea | ( | self, | |
"bool" | aEnable | ||
) |
"void" pcbnew.ZONE.SetLayer | ( | self, | |
"PCB_LAYER_ID" | aLayer | ||
) |
SetLayer(ZONE self, PCB_LAYER_ID aLayer)
Reimplemented from pcbnew.BOARD_ITEM.
"void" pcbnew.ZONE.SetLayerSet | ( | self, | |
"LSET" | aLayerSet | ||
) |
SetLayerSet(ZONE self, LSET aLayerSet)
Reimplemented from pcbnew.BOARD_ITEM.
"void" pcbnew.ZONE.SetLocalClearance | ( | self, | |
"int" | aClearance | ||
) |
"void" pcbnew.ZONE.SetLocalFlags | ( | self, | |
"int" | aFlags | ||
) |
"void" pcbnew.ZONE.SetMinIslandArea | ( | self, | |
"long long" | aArea | ||
) |
"void" pcbnew.ZONE.SetMinThickness | ( | self, | |
"int" | aMinThickness | ||
) |
"void" pcbnew.ZONE.SetNeedRefill | ( | self, | |
"bool" | aNeedRefill | ||
) |
"void" pcbnew.ZONE.SetOutline | ( | self, | |
"SHAPE_POLY_SET" | aOutline | ||
) |
"void" pcbnew.ZONE.SetPadConnection | ( | self, | |
"ZONE_CONNECTION" | aPadConnection | ||
) |
"void" pcbnew.ZONE.SetPosition | ( | self, | |
"wxPoint" | aPos | ||
) |
SetPosition(ZONE self, wxPoint aPos)
Reimplemented from pcbnew.EDA_ITEM.
Definition at line 12248 of file pcbnew.py.
"void" pcbnew.ZONE.SetPriority | ( | self, | |
"unsigned int" | aPriority | ||
) |
"void" pcbnew.ZONE.SetRawPolysList | ( | self, | |
"PCB_LAYER_ID" | aLayer, | ||
"SHAPE_POLY_SET" | aPolysList | ||
) |
"void" pcbnew.ZONE.SetSelectedCorner | ( | self, | |
* | args | ||
) |
"void" pcbnew.ZONE.SetThermalReliefGap | ( | self, | |
"int" | aThermalReliefGap | ||
) |
"void" pcbnew.ZONE.SetThermalReliefSpokeWidth | ( | self, | |
"int" | aThermalReliefSpokeWidth | ||
) |
"void" pcbnew.ZONE.SetZoneName | ( | self, | |
"wxString" | aName | ||
) |
"void" pcbnew.ZONE.SwapData | ( | self, | |
"BOARD_ITEM" | aImage | ||
) |
SwapData(ZONE self, BOARD_ITEM aImage)
Reimplemented from pcbnew.BOARD_ITEM.
"void" pcbnew.ZONE.TransformShapeWithClearanceToPolygon | ( | self, | |
"SHAPE_POLY_SET" | aCornerBuffer, | ||
"PCB_LAYER_ID" | aLayer, | ||
"int" | aClearanceValue, | ||
"int" | aError, | ||
"ERROR_LOC" | aErrorLoc, | ||
"bool" | ignoreLineWidth = False |
||
) |
TransformShapeWithClearanceToPolygon(ZONE self, SHAPE_POLY_SET aCornerBuffer, PCB_LAYER_ID aLayer, int aClearanceValue, int aError, ERROR_LOC aErrorLoc, bool ignoreLineWidth=False)
Reimplemented from pcbnew.BOARD_ITEM.
"void" pcbnew.ZONE.TransformSmoothedOutlineToPolygon | ( | self, | |
"SHAPE_POLY_SET" | aCornerBuffer, | ||
"int" | aClearance, | ||
"int" | aError, | ||
"ERROR_LOC" | aErrorLoc, | ||
"SHAPE_POLY_SET" | aBoardOutline | ||
) |
"void" pcbnew.ZONE.TransformSolidAreasShapesToPolygon | ( | self, | |
* | args | ||
) |
"bool" pcbnew.ZONE.UnFill | ( | self | ) |
"void" pcbnew.ZONE.UnHatchBorder | ( | self | ) |
"void" pcbnew.ZONE.ViewGetLayers | ( | self, | |
"int []" | aLayers, | ||
"int &" | aCount | ||
) |
ViewGetLayers(ZONE self, int [] aLayers, int & aCount)
Reimplemented from pcbnew.BOARD_ITEM.
"double" pcbnew.ZONE.ViewGetLOD | ( | self, | |
"int" | aLayer, | ||
"KIGFX::VIEW *" | aView | ||
) |
ViewGetLOD(ZONE self, int aLayer, KIGFX::VIEW * aView) -> double
Reimplemented in pcbnew.FP_ZONE.
|
static |