| 
    KiCad Pcbnew Python Scripting
    
   | 
 

Public Member Functions | |
| __init__ (self, *args, **kwargs) | |
| GetPlotterType (self) | |
| StartPlot (self, aPageNumber) | |
| EndPlot (self) | |
| SetNegative (self, aNegative) | |
| SetColorMode (self, aColorMode) | |
| GetColorMode (self) | |
| SetRenderSettings (self, aSettings) | |
| RenderSettings (self) | |
| SetPageSettings (self, aPageSettings) | |
| PageSettings (self) | |
| SetPlotMirrored (self, aMirror) | |
| GetPlotMirrored (self) | |
| SetCurrentLineWidth (self, width, aData=None) | |
| GetCurrentLineWidth (self) | |
| SetColor (self, color) | |
| SetDash (self, aLineWidth, aLineStyle) | |
| SetCreator (self, aCreator) | |
| SetTitle (self, aTitle) | |
| SetAuthor (self, aAuthor) | |
| SetSubject (self, aSubject) | |
| AddLineToHeader (self, aExtraString) | |
| ClearHeaderLinesList (self) | |
| SetViewport (self, aOffset, aIusPerDecimil, aScale, aMirror) | |
| OpenFile (self, aFullFilename) | |
| GetIUsPerDecimil (self) | |
| GetPlotterArcLowDef (self) | |
| GetPlotterArcHighDef (self) | |
| Rect (self, p1, p2, fill, width, aCornerRadius=0) | |
| Circle (self, pos, diametre, fill, width) | |
| Arc (self, *args) | |
| BezierCurve (self, aStart, aControl1, aControl2, aEnd, aTolerance, aLineThickness) | |
| PenTo (self, pos, plume) | |
| MoveTo (self, pos) | |
| LineTo (self, pos) | |
| FinishTo (self, pos) | |
| PenFinish (self) | |
| PlotPoly (self, *args) | |
| PlotImage (self, aImage, aPos, aScaleFactor) | |
| ThickSegment (self, start, end, width, aData) | |
| ThickArc (self, *args) | |
| ThickRect (self, p1, p2, width, aData) | |
| ThickCircle (self, pos, diametre, width, aData) | |
| FilledCircle (self, pos, diametre, aData) | |
| ThickOval (self, aPos, aSize, aOrient, aWidth, aData) | |
| ThickPoly (self, aPoly, aWidth, aData) | |
| FlashPadCircle (self, aPadPos, aDiameter, aData) | |
| FlashPadOval (self, aPadPos, aSize, aPadOrient, aData) | |
| FlashPadRect (self, aPadPos, aSize, aPadOrient, aData) | |
| FlashPadRoundRect (self, aPadPos, aSize, aCornerRadius, aOrient, aData) | |
| FlashPadCustom (self, aPadPos, aSize, aPadOrient, aPolygons, aData) | |
| FlashPadTrapez (self, aPadPos, aCorners, aPadOrient, aData) | |
| FlashRegularPolygon (self, aShapePos, aDiameter, aCornerCount, aOrient, aData) | |
| Text (self, aPos, aColor, aText, aOrient, aSize, aH_justify, aV_justify, aPenWidth, aItalic, aBold, aMultilineAllowed, aFont, aFontMetrics, aData=None) | |
| PlotText (self, *args) | |
| HyperlinkBox (self, aBox, aDestinationURL) | |
| HyperlinkMenu (self, aBox, aDestURLs) | |
| Bookmark (self, *args) | |
| Marker (self, position, diametre, aShapeId) | |
| SetLayerPolarity (self, aPositive) | |
| SetTextMode (self, mode) | |
| SetGerberCoordinatesFormat (self, aResolution, aUseInches=False) | |
| SetSvgCoordinatesFormat (self, aPrecision) | |
| StartBlock (self, aData) | |
| EndBlock (self, aData) | |
| GetPlotOffsetUserUnits (self) | |
Static Public Attributes | |
| DO_NOT_SET_LINE_WIDTH = _pcbnew.PLOTTER_DO_NOT_SET_LINE_WIDTH | |
| USE_DEFAULT_LINE_WIDTH = _pcbnew.PLOTTER_USE_DEFAULT_LINE_WIDTH | |
| MARKER_COUNT = _pcbnew.PLOTTER_MARKER_COUNT | |
Properties | |
| thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag") | |
| pcbnew.PLOTTER.AddLineToHeader | ( | self, | |
| aExtraString ) | 
| pcbnew.PLOTTER.Arc | ( | self, | |
| * | args ) | 
    Arc(PLOTTER self, VECTOR2D const & aStart, VECTOR2D const & aMid, VECTOR2D const & aEnd, FILL_T aFill, int aWidth)
    Arc(PLOTTER self, VECTOR2D const & aCenter, EDA_ANGLE aStartAngle, EDA_ANGLE aAngle, double aRadius, FILL_T aFill, int aWidth)
 
Definition at line 8987 of file pcbnew.py.

| pcbnew.PLOTTER.BezierCurve | ( | self, | |
| aStart, | |||
| aControl1, | |||
| aControl2, | |||
| aEnd, | |||
| aTolerance, | |||
| aLineThickness ) | 
| pcbnew.PLOTTER.Bookmark | ( | self, | |
| * | args ) | 
| pcbnew.PLOTTER.Circle | ( | self, | |
| pos, | |||
| diametre, | |||
| fill, | |||
| width ) | 
| pcbnew.PLOTTER.ClearHeaderLinesList | ( | self | ) | 
| pcbnew.PLOTTER.EndBlock | ( | self, | |
| aData ) | 
| pcbnew.PLOTTER.EndPlot | ( | self | ) | 
| pcbnew.PLOTTER.FilledCircle | ( | self, | |
| pos, | |||
| diametre, | |||
| aData ) | 
| pcbnew.PLOTTER.FinishTo | ( | self, | |
| pos ) | 
| pcbnew.PLOTTER.FlashPadCircle | ( | self, | |
| aPadPos, | |||
| aDiameter, | |||
| aData ) | 
| pcbnew.PLOTTER.FlashPadCustom | ( | self, | |
| aPadPos, | |||
| aSize, | |||
| aPadOrient, | |||
| aPolygons, | |||
| aData ) | 
| pcbnew.PLOTTER.FlashPadOval | ( | self, | |
| aPadPos, | |||
| aSize, | |||
| aPadOrient, | |||
| aData ) | 
| pcbnew.PLOTTER.FlashPadRect | ( | self, | |
| aPadPos, | |||
| aSize, | |||
| aPadOrient, | |||
| aData ) | 
| pcbnew.PLOTTER.FlashPadRoundRect | ( | self, | |
| aPadPos, | |||
| aSize, | |||
| aCornerRadius, | |||
| aOrient, | |||
| aData ) | 
| pcbnew.PLOTTER.FlashPadTrapez | ( | self, | |
| aPadPos, | |||
| aCorners, | |||
| aPadOrient, | |||
| aData ) | 
| pcbnew.PLOTTER.FlashRegularPolygon | ( | self, | |
| aShapePos, | |||
| aDiameter, | |||
| aCornerCount, | |||
| aOrient, | |||
| aData ) | 
| pcbnew.PLOTTER.GetColorMode | ( | self | ) | 
| pcbnew.PLOTTER.GetCurrentLineWidth | ( | self | ) | 
| pcbnew.PLOTTER.GetIUsPerDecimil | ( | self | ) | 
| pcbnew.PLOTTER.GetPlotMirrored | ( | self | ) | 
| pcbnew.PLOTTER.GetPlotOffsetUserUnits | ( | self | ) | 
| pcbnew.PLOTTER.GetPlotterArcHighDef | ( | self | ) | 
| pcbnew.PLOTTER.GetPlotterArcLowDef | ( | self | ) | 
| pcbnew.PLOTTER.GetPlotterType | ( | self | ) | 
| pcbnew.PLOTTER.HyperlinkBox | ( | self, | |
| aBox, | |||
| aDestinationURL ) | 
| pcbnew.PLOTTER.HyperlinkMenu | ( | self, | |
| aBox, | |||
| aDestURLs ) | 
| pcbnew.PLOTTER.LineTo | ( | self, | |
| pos ) | 
| pcbnew.PLOTTER.Marker | ( | self, | |
| position, | |||
| diametre, | |||
| aShapeId ) | 
| pcbnew.PLOTTER.MoveTo | ( | self, | |
| pos ) | 
| pcbnew.PLOTTER.OpenFile | ( | self, | |
| aFullFilename ) | 
| pcbnew.PLOTTER.PageSettings | ( | self | ) | 
| pcbnew.PLOTTER.PenTo | ( | self, | |
| pos, | |||
| plume ) | 
| pcbnew.PLOTTER.PlotImage | ( | self, | |
| aImage, | |||
| aPos, | |||
| aScaleFactor ) | 
| pcbnew.PLOTTER.PlotPoly | ( | self, | |
| * | args ) | 
| pcbnew.PLOTTER.PlotText | ( | self, | |
| * | args ) | 
| pcbnew.PLOTTER.Rect | ( | self, | |
| p1, | |||
| p2, | |||
| fill, | |||
| width, | |||
| aCornerRadius = 0 ) | 
| pcbnew.PLOTTER.RenderSettings | ( | self | ) | 
| pcbnew.PLOTTER.SetAuthor | ( | self, | |
| aAuthor ) | 
| pcbnew.PLOTTER.SetColor | ( | self, | |
| color ) | 
| pcbnew.PLOTTER.SetColorMode | ( | self, | |
| aColorMode ) | 
| pcbnew.PLOTTER.SetCreator | ( | self, | |
| aCreator ) | 
| pcbnew.PLOTTER.SetCurrentLineWidth | ( | self, | |
| width, | |||
| aData = None ) | 
| pcbnew.PLOTTER.SetDash | ( | self, | |
| aLineWidth, | |||
| aLineStyle ) | 
| pcbnew.PLOTTER.SetGerberCoordinatesFormat | ( | self, | |
| aResolution, | |||
| aUseInches = False ) | 
| pcbnew.PLOTTER.SetLayerPolarity | ( | self, | |
| aPositive ) | 
| pcbnew.PLOTTER.SetNegative | ( | self, | |
| aNegative ) | 
| pcbnew.PLOTTER.SetPageSettings | ( | self, | |
| aPageSettings ) | 
| pcbnew.PLOTTER.SetPlotMirrored | ( | self, | |
| aMirror ) | 
| pcbnew.PLOTTER.SetRenderSettings | ( | self, | |
| aSettings ) | 
| pcbnew.PLOTTER.SetSubject | ( | self, | |
| aSubject ) | 
| pcbnew.PLOTTER.SetSvgCoordinatesFormat | ( | self, | |
| aPrecision ) | 
| pcbnew.PLOTTER.SetTextMode | ( | self, | |
| mode ) | 
| pcbnew.PLOTTER.SetTitle | ( | self, | |
| aTitle ) | 
| pcbnew.PLOTTER.SetViewport | ( | self, | |
| aOffset, | |||
| aIusPerDecimil, | |||
| aScale, | |||
| aMirror ) | 
| pcbnew.PLOTTER.StartBlock | ( | self, | |
| aData ) | 
| pcbnew.PLOTTER.StartPlot | ( | self, | |
| aPageNumber ) | 
| pcbnew.PLOTTER.Text | ( | self, | |
| aPos, | |||
| aColor, | |||
| aText, | |||
| aOrient, | |||
| aSize, | |||
| aH_justify, | |||
| aV_justify, | |||
| aPenWidth, | |||
| aItalic, | |||
| aBold, | |||
| aMultilineAllowed, | |||
| aFont, | |||
| aFontMetrics, | |||
| aData = None ) | 
Text(PLOTTER self, VECTOR2I aPos, COLOR4D aColor, wxString aText, EDA_ANGLE aOrient, VECTOR2I aSize, enum GR_TEXT_H_ALIGN_T aH_justify, enum GR_TEXT_V_ALIGN_T aV_justify, int aPenWidth, bool aItalic, bool aBold, bool aMultilineAllowed, KIFONT::FONT * aFont, KIFONT::METRICS const & aFontMetrics, void * aData=None)
| pcbnew.PLOTTER.ThickArc | ( | self, | |
| * | args ) | 
| pcbnew.PLOTTER.ThickCircle | ( | self, | |
| pos, | |||
| diametre, | |||
| width, | |||
| aData ) | 
| pcbnew.PLOTTER.ThickOval | ( | self, | |
| aPos, | |||
| aSize, | |||
| aOrient, | |||
| aWidth, | |||
| aData ) | 
| pcbnew.PLOTTER.ThickPoly | ( | self, | |
| aPoly, | |||
| aWidth, | |||
| aData ) | 
| pcbnew.PLOTTER.ThickRect | ( | self, | |
| p1, | |||
| p2, | |||
| width, | |||
| aData ) | 
| pcbnew.PLOTTER.ThickSegment | ( | self, | |
| start, | |||
| end, | |||
| width, | |||
| aData ) | 
      
  | 
  static | 
      
  | 
  static | 
      
  | 
  static | 
      
  | 
  static |