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

Public Member Functions

def __init__ (self, *args, **kwargs)
 
def GetStart (self)
 
def SetStart (self, aPoint)
 
def GetEnd (self)
 
def SetEnd (self, aPoint)
 
def GetOverrideTextEnabled (self)
 
def SetOverrideTextEnabled (self, aOverride)
 
def GetOverrideText (self)
 
def SetOverrideText (self, aValue)
 
def ChangeOverrideText (self, aValue)
 
def GetMeasuredValue (self)
 
def SetMeasuredValue (self, aValue)
 
def GetValueText (self)
 
def Update (self)
 
def UpdateUnits (self)
 
def GetPrefix (self)
 
def SetPrefix (self, aPrefix)
 
def ChangePrefix (self, aPrefix)
 
def GetSuffix (self)
 
def SetSuffix (self, aSuffix)
 
def ChangeSuffix (self, aSuffix)
 
def GetUnits (self)
 
def SetUnits (self, aUnits)
 
def GetUnitsMode (self)
 
def SetUnitsMode (self, aMode)
 
def ChangeUnitsMode (self, aMode)
 
def SetAutoUnits (self, aAuto=True)
 
def GetUnitsFormat (self)
 
def SetUnitsFormat (self, aFormat)
 
def ChangeUnitsFormat (self, aFormat)
 
def GetPrecision (self)
 
def SetPrecision (self, aPrecision)
 
def ChangePrecision (self, aPrecision)
 
def GetSuppressZeroes (self)
 
def SetSuppressZeroes (self, aSuppress)
 
def ChangeSuppressZeroes (self, aSuppress)
 
def GetKeepTextAligned (self)
 
def SetKeepTextAligned (self, aKeepAligned)
 
def SetTextPositionMode (self, aMode)
 
def GetTextPositionMode (self)
 
def GetArrowLength (self)
 
def SetArrowLength (self, aLength)
 
def SetExtensionOffset (self, aOffset)
 
def GetExtensionOffset (self)
 
def GetLineThickness (self)
 
def SetLineThickness (self, aWidth)
 
def GetShapes (self)
 
def Mirror (self, axis_pos, aMirrorLeftRight=False)
 
def HitTest (self, *args)
 
def GetEffectiveShape (self, *args)
 
def TransformShapeToPolygon (self, aBuffer, aLayer, aClearance, aError, aErrorLoc, aIgnoreLineWidth=False)
 
- Public Member Functions inherited from pcbnew.PCB_TEXT
def __init__ (self, parent, idtype=PCB_TEXT_T)
 
def GetShownText (self, aAllowExtraText, aDepth=0)
 
def Mirror (self, aCentre, aMirrorAroundXAxis)
 
def TextHitTest (self, *args)
 
def HitTest (self, *args)
 
def TransformTextToPolySet (self, aBuffer, aClearance, aError, aErrorLoc)
 
def TransformShapeToPolygon (self, aBuffer, aLayer, aClearance, aError, aErrorLoc, aIgnoreLineWidth=False)
 
def GetEffectiveShape (self, *args)
 
def ViewGetLOD (self, aLayer, aView)
 
def GetShownText (self)
 
- 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)
 
- Public Member Functions inherited from pcbnew.EDA_TEXT
def __init__ (self, *args)
 
def GetText (self)
 
def GetShownText (self, aAllowExtraText, aDepth=0)
 
def HasTextVars (self)
 
def SetText (self, aText)
 
def SetTextThickness (self, aWidth)
 
def GetTextThickness (self)
 
def GetEffectiveTextPenWidth (self, aDefaultPenWidth=0)
 
def SetTextAngle (self, aAngle)
 
def GetTextAngle (self)
 
def SetTextAngleDegrees (self, aOrientation)
 
def GetTextAngleDegrees (self)
 
def SetItalic (self, aItalic)
 
def IsItalic (self)
 
def SetBold (self, aBold)
 
def IsBold (self)
 
def SetVisible (self, aVisible)
 
def IsVisible (self)
 
def SetMirrored (self, isMirrored)
 
def IsMirrored (self)
 
def SetMultilineAllowed (self, aAllow)
 
def IsMultilineAllowed (self)
 
def SetHorizJustify (self, aType)
 
def GetHorizJustify (self)
 
def SetVertJustify (self, aType)
 
def GetVertJustify (self)
 
def SetKeepUpright (self, aKeepUpright)
 
def IsKeepUpright (self)
 
def SwapAttributes (self, aTradingPartner)
 
def SwapText (self, aTradingPartner)
 
def CopyText (self, aSrc)
 
def SetAttributes (self, *args)
 
def GetAttributes (self)
 
def Replace (self, aSearchData)
 
def IsDefaultFormatting (self)
 
def SetFont (self, aFont)
 
def GetFont (self)
 
def GetFontName (self)
 
def SetLineSpacing (self, aLineSpacing)
 
def GetLineSpacing (self)
 
def SetTextSize (self, aNewSize)
 
def GetTextSize (self)
 
def SetTextWidth (self, aWidth)
 
def GetTextWidth (self)
 
def SetTextHeight (self, aHeight)
 
def GetTextHeight (self)
 
def SetTextColor (self, aColor)
 
def GetTextColor (self)
 
def SetTextPos (self, aPoint)
 
def GetTextPos (self)
 
def SetTextX (self, aX)
 
def SetTextY (self, aY)
 
def Offset (self, aOffset)
 
def Empty (self)
 
def Print (self, aSettings, aOffset, aColor, aDisplay_mode=FILLED)
 
def GetEffectiveTextShapeNative (self, *args)
 
def TextHitTest (self, *args)
 
def GetTextBox (self, aLine=-1, aInvertY=False)
 
def GetInterline (self)
 
def GetTextStyleName (self)
 
def GetLinePositions (self, aPositions, aLineCount)
 
def Format (self, aFormatter, aNestLevel, aControlBits)
 
def GetDrawRotation (self)
 
def GetDrawPos (self)
 
def ClearRenderCache (self)
 
def ClearBoundingBoxCache (self)
 
def GetRenderCache (self, *args)
 
def SetupRenderCache (self, aResolvedText, aAngle)
 
def AddRenderCacheGlyph (self, aPoly)
 
def Compare (self, aOther)
 
def HasHyperlink (self)
 
def GetHyperlink (self)
 
def SetHyperlink (self, aLink)
 
def RemoveHyperlink (self)
 
def GetEffectiveTextShape (self, aTriangulate=True, aUseTextRotation=True)
 
def GetShownText (self)
 

Properties

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

Additional Inherited Members

- Static Public Member Functions inherited from pcbnew.PCB_TEXT
def ClassOf (aItem)
 
- Static Public Member Functions inherited from pcbnew.EDA_ITEM
def Sort (aLeft, aRight)
 
- Static Public Member Functions inherited from pcbnew.EDA_TEXT
def MapHorizJustify (aHorizJustify)
 
def MapVertJustify (aVertJustify)
 
def ValidateHyperlink (aURL)
 
def IsGotoPageHref (aHref, aDestination=None)
 
def GotoPageHref (aDestination)
 

Detailed Description

Proxy of C++ PCB_DIMENSION_BASE class.

Definition at line 15121 of file pcbnew.py.

Constructor & Destructor Documentation

◆ __init__()

def pcbnew.PCB_DIMENSION_BASE.__init__ (   self,
parent,
**  idtype 
)
__init__(PCB_TEXT self, BOARD_ITEM parent, KICAD_T idtype=PCB_TEXT_T) -> PCB_TEXT

Reimplemented from pcbnew.PCB_TEXT.

Reimplemented in pcbnew.PCB_DIM_ORTHOGONAL, pcbnew.PCB_DIM_RADIAL, pcbnew.PCB_DIM_LEADER, pcbnew.PCB_DIM_CENTER, and pcbnew.PCB_DIM_ALIGNED.

Definition at line 15126 of file pcbnew.py.

Member Function Documentation

◆ ChangeOverrideText()

def pcbnew.PCB_DIMENSION_BASE.ChangeOverrideText (   self,
  aValue 
)
ChangeOverrideText(PCB_DIMENSION_BASE self, wxString aValue)

Definition at line 15162 of file pcbnew.py.

◆ ChangePrecision()

def pcbnew.PCB_DIMENSION_BASE.ChangePrecision (   self,
  aPrecision 
)
ChangePrecision(PCB_DIMENSION_BASE self, DIM_PRECISION aPrecision)

Definition at line 15254 of file pcbnew.py.

◆ ChangePrefix()

def pcbnew.PCB_DIMENSION_BASE.ChangePrefix (   self,
  aPrefix 
)
ChangePrefix(PCB_DIMENSION_BASE self, wxString aPrefix)

Definition at line 15194 of file pcbnew.py.

◆ ChangeSuffix()

def pcbnew.PCB_DIMENSION_BASE.ChangeSuffix (   self,
  aSuffix 
)
ChangeSuffix(PCB_DIMENSION_BASE self, wxString aSuffix)

Definition at line 15206 of file pcbnew.py.

◆ ChangeSuppressZeroes()

def pcbnew.PCB_DIMENSION_BASE.ChangeSuppressZeroes (   self,
  aSuppress 
)
ChangeSuppressZeroes(PCB_DIMENSION_BASE self, bool aSuppress)

Definition at line 15266 of file pcbnew.py.

◆ ChangeUnitsFormat()

def pcbnew.PCB_DIMENSION_BASE.ChangeUnitsFormat (   self,
  aFormat 
)
ChangeUnitsFormat(PCB_DIMENSION_BASE self, DIM_UNITS_FORMAT const aFormat)

Definition at line 15242 of file pcbnew.py.

◆ ChangeUnitsMode()

def pcbnew.PCB_DIMENSION_BASE.ChangeUnitsMode (   self,
  aMode 
)
ChangeUnitsMode(PCB_DIMENSION_BASE self, DIM_UNITS_MODE aMode)

Definition at line 15226 of file pcbnew.py.

◆ GetArrowLength()

def pcbnew.PCB_DIMENSION_BASE.GetArrowLength (   self)
GetArrowLength(PCB_DIMENSION_BASE self) -> int

Definition at line 15286 of file pcbnew.py.

◆ GetEffectiveShape()

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

Reimplemented from pcbnew.PCB_TEXT.

Definition at line 15325 of file pcbnew.py.

◆ GetEnd()

def pcbnew.PCB_DIMENSION_BASE.GetEnd (   self)
GetEnd(PCB_DIMENSION_BASE self) -> VECTOR2I

Definition at line 15138 of file pcbnew.py.

◆ GetExtensionOffset()

def pcbnew.PCB_DIMENSION_BASE.GetExtensionOffset (   self)
GetExtensionOffset(PCB_DIMENSION_BASE self) -> int

Definition at line 15298 of file pcbnew.py.

◆ GetKeepTextAligned()

def pcbnew.PCB_DIMENSION_BASE.GetKeepTextAligned (   self)
GetKeepTextAligned(PCB_DIMENSION_BASE self) -> bool

Definition at line 15270 of file pcbnew.py.

◆ GetLineThickness()

def pcbnew.PCB_DIMENSION_BASE.GetLineThickness (   self)
GetLineThickness(PCB_DIMENSION_BASE self) -> int

Definition at line 15302 of file pcbnew.py.

Here is the caller graph for this function:

◆ GetMeasuredValue()

def pcbnew.PCB_DIMENSION_BASE.GetMeasuredValue (   self)
GetMeasuredValue(PCB_DIMENSION_BASE self) -> int

Definition at line 15166 of file pcbnew.py.

◆ GetOverrideText()

def pcbnew.PCB_DIMENSION_BASE.GetOverrideText (   self)
GetOverrideText(PCB_DIMENSION_BASE self) -> wxString

Definition at line 15154 of file pcbnew.py.

◆ GetOverrideTextEnabled()

def pcbnew.PCB_DIMENSION_BASE.GetOverrideTextEnabled (   self)
GetOverrideTextEnabled(PCB_DIMENSION_BASE self) -> bool

Definition at line 15146 of file pcbnew.py.

◆ GetPrecision()

def pcbnew.PCB_DIMENSION_BASE.GetPrecision (   self)
GetPrecision(PCB_DIMENSION_BASE self) -> DIM_PRECISION

Definition at line 15246 of file pcbnew.py.

◆ GetPrefix()

def pcbnew.PCB_DIMENSION_BASE.GetPrefix (   self)
GetPrefix(PCB_DIMENSION_BASE self) -> wxString

Definition at line 15186 of file pcbnew.py.

◆ GetShapes()

def pcbnew.PCB_DIMENSION_BASE.GetShapes (   self)
GetShapes(PCB_DIMENSION_BASE self) -> VECTOR_SHAPEPTR

Definition at line 15310 of file pcbnew.py.

◆ GetStart()

def pcbnew.PCB_DIMENSION_BASE.GetStart (   self)
GetStart(PCB_DIMENSION_BASE self) -> VECTOR2I

Definition at line 15130 of file pcbnew.py.

◆ GetSuffix()

def pcbnew.PCB_DIMENSION_BASE.GetSuffix (   self)
GetSuffix(PCB_DIMENSION_BASE self) -> wxString

Definition at line 15198 of file pcbnew.py.

◆ GetSuppressZeroes()

def pcbnew.PCB_DIMENSION_BASE.GetSuppressZeroes (   self)
GetSuppressZeroes(PCB_DIMENSION_BASE self) -> bool

Definition at line 15258 of file pcbnew.py.

◆ GetTextPositionMode()

def pcbnew.PCB_DIMENSION_BASE.GetTextPositionMode (   self)
GetTextPositionMode(PCB_DIMENSION_BASE self) -> DIM_TEXT_POSITION

Definition at line 15282 of file pcbnew.py.

◆ GetUnits()

def pcbnew.PCB_DIMENSION_BASE.GetUnits (   self)
GetUnits(PCB_DIMENSION_BASE self) -> EDA_UNITS

Definition at line 15210 of file pcbnew.py.

◆ GetUnitsFormat()

def pcbnew.PCB_DIMENSION_BASE.GetUnitsFormat (   self)
GetUnitsFormat(PCB_DIMENSION_BASE self) -> DIM_UNITS_FORMAT

Definition at line 15234 of file pcbnew.py.

◆ GetUnitsMode()

def pcbnew.PCB_DIMENSION_BASE.GetUnitsMode (   self)
GetUnitsMode(PCB_DIMENSION_BASE self) -> DIM_UNITS_MODE

Definition at line 15218 of file pcbnew.py.

◆ GetValueText()

def pcbnew.PCB_DIMENSION_BASE.GetValueText (   self)
GetValueText(PCB_DIMENSION_BASE self) -> wxString

Definition at line 15174 of file pcbnew.py.

◆ HitTest()

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

Reimplemented from pcbnew.PCB_TEXT.

Definition at line 15318 of file pcbnew.py.

Here is the caller graph for this function:

◆ Mirror()

def pcbnew.PCB_DIMENSION_BASE.Mirror (   self,
  axis_pos,
  aMirrorLeftRight = False 
)
Mirror(PCB_DIMENSION_BASE self, VECTOR2I axis_pos, bool aMirrorLeftRight=False)

Reimplemented from pcbnew.PCB_TEXT.

Reimplemented in pcbnew.PCB_DIM_ALIGNED.

Definition at line 15314 of file pcbnew.py.

◆ SetArrowLength()

def pcbnew.PCB_DIMENSION_BASE.SetArrowLength (   self,
  aLength 
)
SetArrowLength(PCB_DIMENSION_BASE self, int aLength)

Definition at line 15290 of file pcbnew.py.

◆ SetAutoUnits()

def pcbnew.PCB_DIMENSION_BASE.SetAutoUnits (   self,
  aAuto = True 
)
SetAutoUnits(PCB_DIMENSION_BASE self, bool aAuto=True)

Definition at line 15230 of file pcbnew.py.

◆ SetEnd()

def pcbnew.PCB_DIMENSION_BASE.SetEnd (   self,
  aPoint 
)
SetEnd(PCB_DIMENSION_BASE self, VECTOR2I aPoint)

Definition at line 15142 of file pcbnew.py.

Here is the caller graph for this function:

◆ SetExtensionOffset()

def pcbnew.PCB_DIMENSION_BASE.SetExtensionOffset (   self,
  aOffset 
)
SetExtensionOffset(PCB_DIMENSION_BASE self, int aOffset)

Definition at line 15294 of file pcbnew.py.

◆ SetKeepTextAligned()

def pcbnew.PCB_DIMENSION_BASE.SetKeepTextAligned (   self,
  aKeepAligned 
)
SetKeepTextAligned(PCB_DIMENSION_BASE self, bool aKeepAligned)

Definition at line 15274 of file pcbnew.py.

◆ SetLineThickness()

def pcbnew.PCB_DIMENSION_BASE.SetLineThickness (   self,
  aWidth 
)
SetLineThickness(PCB_DIMENSION_BASE self, int aWidth)

Definition at line 15306 of file pcbnew.py.

Here is the caller graph for this function:

◆ SetMeasuredValue()

def pcbnew.PCB_DIMENSION_BASE.SetMeasuredValue (   self,
  aValue 
)
SetMeasuredValue(PCB_DIMENSION_BASE self, int aValue)

Definition at line 15170 of file pcbnew.py.

◆ SetOverrideText()

def pcbnew.PCB_DIMENSION_BASE.SetOverrideText (   self,
  aValue 
)
SetOverrideText(PCB_DIMENSION_BASE self, wxString aValue)

Definition at line 15158 of file pcbnew.py.

◆ SetOverrideTextEnabled()

def pcbnew.PCB_DIMENSION_BASE.SetOverrideTextEnabled (   self,
  aOverride 
)
SetOverrideTextEnabled(PCB_DIMENSION_BASE self, bool aOverride)

Definition at line 15150 of file pcbnew.py.

◆ SetPrecision()

def pcbnew.PCB_DIMENSION_BASE.SetPrecision (   self,
  aPrecision 
)
SetPrecision(PCB_DIMENSION_BASE self, DIM_PRECISION aPrecision)

Definition at line 15250 of file pcbnew.py.

◆ SetPrefix()

def pcbnew.PCB_DIMENSION_BASE.SetPrefix (   self,
  aPrefix 
)
SetPrefix(PCB_DIMENSION_BASE self, wxString aPrefix)

Definition at line 15190 of file pcbnew.py.

◆ SetStart()

def pcbnew.PCB_DIMENSION_BASE.SetStart (   self,
  aPoint 
)
SetStart(PCB_DIMENSION_BASE self, VECTOR2I aPoint)

Definition at line 15134 of file pcbnew.py.

Here is the caller graph for this function:

◆ SetSuffix()

def pcbnew.PCB_DIMENSION_BASE.SetSuffix (   self,
  aSuffix 
)
SetSuffix(PCB_DIMENSION_BASE self, wxString aSuffix)

Definition at line 15202 of file pcbnew.py.

◆ SetSuppressZeroes()

def pcbnew.PCB_DIMENSION_BASE.SetSuppressZeroes (   self,
  aSuppress 
)
SetSuppressZeroes(PCB_DIMENSION_BASE self, bool aSuppress)

Definition at line 15262 of file pcbnew.py.

◆ SetTextPositionMode()

def pcbnew.PCB_DIMENSION_BASE.SetTextPositionMode (   self,
  aMode 
)
SetTextPositionMode(PCB_DIMENSION_BASE self, DIM_TEXT_POSITION aMode)

Definition at line 15278 of file pcbnew.py.

◆ SetUnits()

def pcbnew.PCB_DIMENSION_BASE.SetUnits (   self,
  aUnits 
)
SetUnits(PCB_DIMENSION_BASE self, EDA_UNITS aUnits)

Definition at line 15214 of file pcbnew.py.

◆ SetUnitsFormat()

def pcbnew.PCB_DIMENSION_BASE.SetUnitsFormat (   self,
  aFormat 
)
SetUnitsFormat(PCB_DIMENSION_BASE self, DIM_UNITS_FORMAT const aFormat)

Definition at line 15238 of file pcbnew.py.

◆ SetUnitsMode()

def pcbnew.PCB_DIMENSION_BASE.SetUnitsMode (   self,
  aMode 
)
SetUnitsMode(PCB_DIMENSION_BASE self, DIM_UNITS_MODE aMode)

Definition at line 15222 of file pcbnew.py.

◆ TransformShapeToPolygon()

def pcbnew.PCB_DIMENSION_BASE.TransformShapeToPolygon (   self,
  aBuffer,
  aLayer,
  aClearance,
  aError,
  aErrorLoc,
  aIgnoreLineWidth = False 
)
TransformShapeToPolygon(PCB_DIMENSION_BASE self, SHAPE_POLY_SET aBuffer, PCB_LAYER_ID aLayer, int aClearance, int aError, ERROR_LOC aErrorLoc, bool aIgnoreLineWidth=False)

Reimplemented from pcbnew.PCB_TEXT.

Definition at line 15329 of file pcbnew.py.

◆ Update()

def pcbnew.PCB_DIMENSION_BASE.Update (   self)
Update(PCB_DIMENSION_BASE self)

Definition at line 15178 of file pcbnew.py.

◆ UpdateUnits()

def pcbnew.PCB_DIMENSION_BASE.UpdateUnits (   self)
UpdateUnits(PCB_DIMENSION_BASE self)

Definition at line 15182 of file pcbnew.py.

Property Documentation

◆ thisown

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

Definition at line 15124 of file pcbnew.py.


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