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

Public Member Functions

def __init__ (self, aParent)
 
def ClassOf (aItem)
 
def SetValue (self, aValue)
 
def GetValue (self)
 
def GetPosition (self)
 
def SetPosition (self, aPos)
 
def SetTextSize (self, aTextSize)
 
def SetLayer (self, aLayer)
 
def SetShape (self, aShape)
 
def GetShape (self)
 
def GetWidth (self)
 
def SetWidth (self, aWidth)
 
def SetOrigin (self, aOrigin)
 
def GetOrigin (self)
 
def SetEnd (self, aEnd)
 
def GetEnd (self)
 
def SetHeight (self, aHeight)
 
def GetHeight (self)
 
def UpdateHeight (self)
 
def GetAngle (self)
 
def AdjustDimensionDetails (self)
 
def GetUnits (self, aUnits, aUseMils)
 
def SetUnits (self, aUnits, aUseMils)
 
def SetText (self, NewText)
 
def GetText (self)
 
def Text (self, args)
 
def Draw (self, args)
 
def Move (self, offset)
 
def Rotate (self, aRotCentre, aAngle)
 
def Flip (self, aCentre)
 
def Mirror (self, axis_pos)
 
def GetMsgPanelInfo (self, aUnits, aList)
 
def HitTest (self, args)
 
def GetClass (self)
 
def GetBoundingBox (self)
 
def GetSelectMenuText (self, aUnits)
 
def GetMenuImage (self)
 
def Clone (self)
 
def ViewBBox (self)
 
def SwapData (self, aImage)
 
- Public Member Functions inherited from pcbnew.BOARD_ITEM
def __init__ (self, args, kwargs)
 
def GetPosition (self)
 
def GetCenter (self)
 
def SetPosition (self, aPos)
 
def IsConnected (self)
 
def Next (self)
 
def Back (self)
 
def GetParent (self)
 
def GetLayer (self)
 
def GetLayerSet (self)
 
def SetLayer (self, aLayer)
 
def Draw (self, args)
 
def SwapData (self, aImage)
 
def IsOnLayer (self, aLayer)
 
def IsTrack (self)
 
def IsLocked (self)
 
def SetLocked (self, aLocked)
 
def UnLink (self)
 
def DeleteStructure (self)
 
def ShowShape (aShape)
 
def Move (self, args)
 
def Rotate (self, args)
 
def Flip (self, args)
 
def GetBoard (self)
 
def GetLayerName (self)
 
def HitTest (self, args)
 
def FormatAngle (aAngle)
 
def FormatInternalUnits (args)
 
def ViewGetLayers (self, aLayers, aCount)
 
def TransformShapeWithClearanceToPolygon (self, aCornerBuffer, aClearanceValue, aCircleToSegmentsCount, aCorrectionFactor, 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 SetTimeStamp (self, aNewTimeStamp)
 
def GetTimeStamp (self)
 
def Next (self)
 
def Back (self)
 
def GetParent (self)
 
def GetList (self)
 
def SetParent (self, aParent)
 
def SetList (self, aList)
 
def IsNew (self)
 
def IsModified (self)
 
def IsMoving (self)
 
def IsDragging (self)
 
def IsWireImage (self)
 
def IsSelected (self)
 
def IsResized (self)
 
def IsHighlighted (self)
 
def IsBrightened (self)
 
def SetWireImage (self)
 
def SetSelected (self)
 
def SetHighlighted (self)
 
def SetBrightened (self)
 
def ClearSelected (self)
 
def ClearHighlighted (self)
 
def ClearBrightened (self)
 
def SetModified (self)
 
def GetState (self, type)
 
def SetState (self, type, state)
 
def GetStatus (self)
 
def SetStatus (self, aStatus)
 
def SetFlags (self, aMask)
 
def ClearFlags (self, aMask=-1)
 
def GetFlags (self)
 
def IsType (self, aScanTypes)
 
def SetForceVisible (self, aEnable)
 
def GetMsgPanelInfo (self, aUnits, aList)
 
def HitTest (self, aPosition)
 
def GetBoundingBox (self)
 
def Clone (self)
 
def IterateForward (listStart, inspector, testData, scanTypes)
 
def Visit (self, inspector, testData, scanTypes)
 
def GetClass (self)
 
def GetSelectMenuText (self, aUnits)
 
def GetMenuImage (self)
 
def Matches (self, aSearchData, aAuxData, aFindLocation)
 
def Replace (self, args)
 
def IsReplaceable (self)
 
def __lt__ (self, aItem)
 
def Sort (aLeft, aRight)
 
def ViewBBox (self)
 
def ViewGetLayers (self, aLayers, aCount)
 

Public Attributes

 this
 

Static Public Attributes

 m_crossBarO = _swig_property(_pcbnew.DIMENSION_m_crossBarO_get, _pcbnew.DIMENSION_m_crossBarO_set)
 
 m_crossBarF = _swig_property(_pcbnew.DIMENSION_m_crossBarF_get, _pcbnew.DIMENSION_m_crossBarF_set)
 
 m_featureLineGO = _swig_property(_pcbnew.DIMENSION_m_featureLineGO_get, _pcbnew.DIMENSION_m_featureLineGO_set)
 
 m_featureLineGF = _swig_property(_pcbnew.DIMENSION_m_featureLineGF_get, _pcbnew.DIMENSION_m_featureLineGF_set)
 
 m_featureLineDO = _swig_property(_pcbnew.DIMENSION_m_featureLineDO_get, _pcbnew.DIMENSION_m_featureLineDO_set)
 
 m_featureLineDF = _swig_property(_pcbnew.DIMENSION_m_featureLineDF_get, _pcbnew.DIMENSION_m_featureLineDF_set)
 
 m_arrowD1F = _swig_property(_pcbnew.DIMENSION_m_arrowD1F_get, _pcbnew.DIMENSION_m_arrowD1F_set)
 
 m_arrowD2F = _swig_property(_pcbnew.DIMENSION_m_arrowD2F_get, _pcbnew.DIMENSION_m_arrowD2F_set)
 
 m_arrowG1F = _swig_property(_pcbnew.DIMENSION_m_arrowG1F_get, _pcbnew.DIMENSION_m_arrowG1F_set)
 
 m_arrowG2F = _swig_property(_pcbnew.DIMENSION_m_arrowG2F_get, _pcbnew.DIMENSION_m_arrowG2F_set)
 
 ClassOf = staticmethod(ClassOf)
 
- Static Public Attributes inherited from pcbnew.BOARD_ITEM
 ShowShape = staticmethod(ShowShape)
 
 FormatAngle = staticmethod(FormatAngle)
 
 FormatInternalUnits = staticmethod(FormatInternalUnits)
 
- Static Public Attributes inherited from pcbnew.EDA_ITEM
 IterateForward = staticmethod(IterateForward)
 
 Sort = staticmethod(Sort)
 

Detailed Description

Proxy of C++ DIMENSION class.

Definition at line 15212 of file pcbnew.py.

Constructor & Destructor Documentation

def pcbnew.DIMENSION.__init__ (   self,
  aParent 
)
__init__(DIMENSION self, BOARD_ITEM aParent) -> DIMENSION

Definition at line 15265 of file pcbnew.py.

Member Function Documentation

def pcbnew.DIMENSION.AdjustDimensionDetails (   self)
AdjustDimensionDetails(DIMENSION self)

Definition at line 15373 of file pcbnew.py.

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

Definition at line 15275 of file pcbnew.py.

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

Definition at line 15469 of file pcbnew.py.

def pcbnew.DIMENSION.Draw (   self,
  args 
)
Draw(DIMENSION self, EDA_DRAW_PANEL * panel, wxDC * DC, GR_DRAWMODE aColorMode, wxPoint offset)
Draw(DIMENSION self, EDA_DRAW_PANEL * panel, wxDC * DC, GR_DRAWMODE aColorMode)

Definition at line 15406 of file pcbnew.py.

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

Definition at line 15424 of file pcbnew.py.

def pcbnew.DIMENSION.GetAngle (   self)
GetAngle(DIMENSION self) -> double

Definition at line 15368 of file pcbnew.py.

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

Definition at line 15454 of file pcbnew.py.

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

Definition at line 15449 of file pcbnew.py.

def pcbnew.DIMENSION.GetEnd (   self)
GetEnd(DIMENSION self) -> wxPoint

Definition at line 15348 of file pcbnew.py.

def pcbnew.DIMENSION.GetHeight (   self)
GetHeight(DIMENSION self) -> int

Definition at line 15358 of file pcbnew.py.

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

Definition at line 15464 of file pcbnew.py.

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

Definition at line 15434 of file pcbnew.py.

def pcbnew.DIMENSION.GetOrigin (   self)
GetOrigin(DIMENSION self) -> wxPoint

Definition at line 15338 of file pcbnew.py.

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

Definition at line 15293 of file pcbnew.py.

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

Definition at line 15459 of file pcbnew.py.

def pcbnew.DIMENSION.GetShape (   self)
GetShape(DIMENSION self) -> int

Definition at line 15318 of file pcbnew.py.

Here is the caller graph for this function:

def pcbnew.DIMENSION.GetText (   self)
GetText(DIMENSION self) -> wxString

Definition at line 15393 of file pcbnew.py.

def pcbnew.DIMENSION.GetUnits (   self,
  aUnits,
  aUseMils 
)
GetUnits(DIMENSION self, EDA_UNITS_T & aUnits, bool & aUseMils)

Definition at line 15378 of file pcbnew.py.

def pcbnew.DIMENSION.GetValue (   self)
GetValue(DIMENSION self) -> int

Definition at line 15288 of file pcbnew.py.

def pcbnew.DIMENSION.GetWidth (   self)
GetWidth(DIMENSION self) -> int

Definition at line 15323 of file pcbnew.py.

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

Definition at line 15439 of file pcbnew.py.

def pcbnew.DIMENSION.Mirror (   self,
  axis_pos 
)
Mirror(DIMENSION self, wxPoint axis_pos)

Definition at line 15429 of file pcbnew.py.

def pcbnew.DIMENSION.Move (   self,
  offset 
)
Move(DIMENSION self, wxPoint offset)

Definition at line 15414 of file pcbnew.py.

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

Definition at line 15419 of file pcbnew.py.

def pcbnew.DIMENSION.SetEnd (   self,
  aEnd 
)
SetEnd(DIMENSION self, wxPoint aEnd)

Definition at line 15343 of file pcbnew.py.

Here is the caller graph for this function:

def pcbnew.DIMENSION.SetHeight (   self,
  aHeight 
)
SetHeight(DIMENSION self, int aHeight)

Definition at line 15353 of file pcbnew.py.

def pcbnew.DIMENSION.SetLayer (   self,
  aLayer 
)
SetLayer(DIMENSION self, PCB_LAYER_ID aLayer)

Definition at line 15308 of file pcbnew.py.

def pcbnew.DIMENSION.SetOrigin (   self,
  aOrigin 
)
SetOrigin(DIMENSION self, wxPoint aOrigin)

Definition at line 15333 of file pcbnew.py.

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

Definition at line 15298 of file pcbnew.py.

def pcbnew.DIMENSION.SetShape (   self,
  aShape 
)
SetShape(DIMENSION self, int aShape)

Definition at line 15313 of file pcbnew.py.

def pcbnew.DIMENSION.SetText (   self,
  NewText 
)
SetText(DIMENSION self, wxString NewText)

Definition at line 15388 of file pcbnew.py.

def pcbnew.DIMENSION.SetTextSize (   self,
  aTextSize 
)
SetTextSize(DIMENSION self, wxSize aTextSize)

Definition at line 15303 of file pcbnew.py.

def pcbnew.DIMENSION.SetUnits (   self,
  aUnits,
  aUseMils 
)
SetUnits(DIMENSION self, EDA_UNITS_T aUnits, bool aUseMils)

Definition at line 15383 of file pcbnew.py.

def pcbnew.DIMENSION.SetValue (   self,
  aValue 
)
SetValue(DIMENSION self, int aValue)

Definition at line 15283 of file pcbnew.py.

def pcbnew.DIMENSION.SetWidth (   self,
  aWidth 
)
SetWidth(DIMENSION self, int aWidth)

Definition at line 15328 of file pcbnew.py.

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

Definition at line 15479 of file pcbnew.py.

def pcbnew.DIMENSION.Text (   self,
  args 
)
Text(DIMENSION self) -> TEXTE_PCB
Text(DIMENSION self) -> TEXTE_PCB

Definition at line 15398 of file pcbnew.py.

def pcbnew.DIMENSION.UpdateHeight (   self)
UpdateHeight(DIMENSION self)

Definition at line 15363 of file pcbnew.py.

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

Definition at line 15474 of file pcbnew.py.

Member Data Documentation

pcbnew.DIMENSION.ClassOf = staticmethod(ClassOf)
static

Definition at line 15280 of file pcbnew.py.

pcbnew.DIMENSION.m_arrowD1F = _swig_property(_pcbnew.DIMENSION_m_arrowD1F_get, _pcbnew.DIMENSION_m_arrowD1F_set)
static

Definition at line 15251 of file pcbnew.py.

pcbnew.DIMENSION.m_arrowD2F = _swig_property(_pcbnew.DIMENSION_m_arrowD2F_get, _pcbnew.DIMENSION_m_arrowD2F_set)
static

Definition at line 15255 of file pcbnew.py.

pcbnew.DIMENSION.m_arrowG1F = _swig_property(_pcbnew.DIMENSION_m_arrowG1F_get, _pcbnew.DIMENSION_m_arrowG1F_set)
static

Definition at line 15259 of file pcbnew.py.

pcbnew.DIMENSION.m_arrowG2F = _swig_property(_pcbnew.DIMENSION_m_arrowG2F_get, _pcbnew.DIMENSION_m_arrowG2F_set)
static

Definition at line 15263 of file pcbnew.py.

pcbnew.DIMENSION.m_crossBarF = _swig_property(_pcbnew.DIMENSION_m_crossBarF_get, _pcbnew.DIMENSION_m_crossBarF_set)
static

Definition at line 15231 of file pcbnew.py.

pcbnew.DIMENSION.m_crossBarO = _swig_property(_pcbnew.DIMENSION_m_crossBarO_get, _pcbnew.DIMENSION_m_crossBarO_set)
static

Definition at line 15227 of file pcbnew.py.

pcbnew.DIMENSION.m_featureLineDF = _swig_property(_pcbnew.DIMENSION_m_featureLineDF_get, _pcbnew.DIMENSION_m_featureLineDF_set)
static

Definition at line 15247 of file pcbnew.py.

pcbnew.DIMENSION.m_featureLineDO = _swig_property(_pcbnew.DIMENSION_m_featureLineDO_get, _pcbnew.DIMENSION_m_featureLineDO_set)
static

Definition at line 15243 of file pcbnew.py.

pcbnew.DIMENSION.m_featureLineGF = _swig_property(_pcbnew.DIMENSION_m_featureLineGF_get, _pcbnew.DIMENSION_m_featureLineGF_set)
static

Definition at line 15239 of file pcbnew.py.

pcbnew.DIMENSION.m_featureLineGO = _swig_property(_pcbnew.DIMENSION_m_featureLineGO_get, _pcbnew.DIMENSION_m_featureLineGO_set)
static

Definition at line 15235 of file pcbnew.py.

pcbnew.DIMENSION.this

Definition at line 15271 of file pcbnew.py.


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