KiCad Pcbnew Python Scripting
|
Public Member Functions | |
def | __init__ (self, *args, **kwargs) |
def | GetPlotterType (self) |
def | StartPlot (self, aPageNumber) |
def | EndPlot (self) |
def | SetNegative (self, aNegative) |
def | SetColorMode (self, aColorMode) |
def | GetColorMode (self) |
def | SetRenderSettings (self, aSettings) |
def | RenderSettings (self) |
def | SetPageSettings (self, aPageSettings) |
def | PageSettings (self) |
def | SetCurrentLineWidth (self, width, aData=None) |
def | GetCurrentLineWidth (self) |
def | SetColor (self, color) |
def | SetDash (self, aLineWidth, aLineStyle) |
def | SetCreator (self, aCreator) |
def | SetTitle (self, aTitle) |
def | AddLineToHeader (self, aExtraString) |
def | ClearHeaderLinesList (self) |
def | SetViewport (self, aOffset, aIusPerDecimil, aScale, aMirror) |
def | OpenFile (self, aFullFilename) |
def | GetIUsPerDecimil (self) |
def | GetPlotterArcLowDef (self) |
def | GetPlotterArcHighDef (self) |
def | Rect (self, *args) |
def | Circle (self, *args) |
def | Arc (self, *args) |
def | BezierCurve (self, *args) |
def | PenTo (self, pos, plume) |
def | MoveTo (self, pos) |
def | LineTo (self, pos) |
def | FinishTo (self, pos) |
def | PenFinish (self) |
def | PlotPoly (self, *args) |
def | PlotImage (self, aImage, aPos, aScaleFactor) |
def | ThickSegment (self, start, end, width, tracemode, aData) |
def | ThickArc (self, *args) |
def | ThickRect (self, p1, p2, width, tracemode, aData) |
def | ThickCircle (self, pos, diametre, width, tracemode, aData) |
def | FilledCircle (self, pos, diametre, tracemode, aData) |
def | FlashPadCircle (self, aPadPos, aDiameter, aTraceMode, aData) |
def | FlashPadOval (self, aPadPos, aSize, aPadOrient, aTraceMode, aData) |
def | FlashPadRect (self, aPadPos, aSize, aPadOrient, aTraceMode, aData) |
def | FlashPadRoundRect (self, aPadPos, aSize, aCornerRadius, aOrient, aTraceMode, aData) |
def | FlashPadCustom (self, aPadPos, aSize, aPadOrient, aPolygons, aTraceMode, aData) |
def | FlashPadTrapez (self, aPadPos, aCorners, aPadOrient, aTraceMode, aData) |
def | FlashRegularPolygon (self, aShapePos, aDiameter, aCornerCount, aOrient, aTraceMode, aData) |
def | Text (self, aPos, aColor, aText, aOrient, aSize, aH_justify, aV_justify, aPenWidth, aItalic, aBold, aMultilineAllowed, aFont, aFontMetrics, aData=None) |
def | PlotText (self, aPos, aColor, aText, aAttributes, aFont, aFontMetrics, aData=None) |
def | HyperlinkBox (self, aBox, aDestinationURL) |
def | HyperlinkMenu (self, aBox, aDestURLs) |
def | Bookmark (self, *args) |
def | Marker (self, position, diametre, aShapeId) |
def | SetLayerPolarity (self, aPositive) |
def | SetTextMode (self, mode) |
def | SetGerberCoordinatesFormat (self, aResolution, aUseInches=False) |
def | SetSvgCoordinatesFormat (self, aPrecision) |
def | StartBlock (self, aData) |
def | EndBlock (self, aData) |
def | 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") | |
def pcbnew.PLOTTER.AddLineToHeader | ( | self, | |
aExtraString | |||
) |
def pcbnew.PLOTTER.Arc | ( | self, | |
* | args | ||
) |
Arc(PLOTTER self, VECTOR2D const & aStart, VECTOR2D const & aMid, VECTOR2D const & aEnd, FILL_T aFill, int aWidth=USE_DEFAULT_LINE_WIDTH) Arc(PLOTTER self, VECTOR2D const & aCenter, EDA_ANGLE aStartAngle, EDA_ANGLE aAngle, double aRadius, FILL_T aFill, int aWidth=USE_DEFAULT_LINE_WIDTH)
Definition at line 8940 of file pcbnew.py.
def pcbnew.PLOTTER.BezierCurve | ( | self, | |
* | args | ||
) |
def pcbnew.PLOTTER.Bookmark | ( | self, | |
* | args | ||
) |
def pcbnew.PLOTTER.Circle | ( | self, | |
* | args | ||
) |
def pcbnew.PLOTTER.ClearHeaderLinesList | ( | self | ) |
def pcbnew.PLOTTER.EndBlock | ( | self, | |
aData | |||
) |
def pcbnew.PLOTTER.EndPlot | ( | self | ) |
def pcbnew.PLOTTER.FilledCircle | ( | self, | |
pos, | |||
diametre, | |||
tracemode, | |||
aData | |||
) |
def pcbnew.PLOTTER.FinishTo | ( | self, | |
pos | |||
) |
def pcbnew.PLOTTER.FlashPadCircle | ( | self, | |
aPadPos, | |||
aDiameter, | |||
aTraceMode, | |||
aData | |||
) |
def pcbnew.PLOTTER.FlashPadCustom | ( | self, | |
aPadPos, | |||
aSize, | |||
aPadOrient, | |||
aPolygons, | |||
aTraceMode, | |||
aData | |||
) |
def pcbnew.PLOTTER.FlashPadOval | ( | self, | |
aPadPos, | |||
aSize, | |||
aPadOrient, | |||
aTraceMode, | |||
aData | |||
) |
def pcbnew.PLOTTER.FlashPadRect | ( | self, | |
aPadPos, | |||
aSize, | |||
aPadOrient, | |||
aTraceMode, | |||
aData | |||
) |
def pcbnew.PLOTTER.FlashPadRoundRect | ( | self, | |
aPadPos, | |||
aSize, | |||
aCornerRadius, | |||
aOrient, | |||
aTraceMode, | |||
aData | |||
) |
def pcbnew.PLOTTER.FlashPadTrapez | ( | self, | |
aPadPos, | |||
aCorners, | |||
aPadOrient, | |||
aTraceMode, | |||
aData | |||
) |
def pcbnew.PLOTTER.FlashRegularPolygon | ( | self, | |
aShapePos, | |||
aDiameter, | |||
aCornerCount, | |||
aOrient, | |||
aTraceMode, | |||
aData | |||
) |
def pcbnew.PLOTTER.GetColorMode | ( | self | ) |
def pcbnew.PLOTTER.GetCurrentLineWidth | ( | self | ) |
def pcbnew.PLOTTER.GetIUsPerDecimil | ( | self | ) |
def pcbnew.PLOTTER.GetPlotOffsetUserUnits | ( | self | ) |
def pcbnew.PLOTTER.GetPlotterArcHighDef | ( | self | ) |
def pcbnew.PLOTTER.GetPlotterArcLowDef | ( | self | ) |
def pcbnew.PLOTTER.GetPlotterType | ( | self | ) |
def pcbnew.PLOTTER.HyperlinkBox | ( | self, | |
aBox, | |||
aDestinationURL | |||
) |
def pcbnew.PLOTTER.HyperlinkMenu | ( | self, | |
aBox, | |||
aDestURLs | |||
) |
def pcbnew.PLOTTER.LineTo | ( | self, | |
pos | |||
) |
def pcbnew.PLOTTER.Marker | ( | self, | |
position, | |||
diametre, | |||
aShapeId | |||
) |
def pcbnew.PLOTTER.MoveTo | ( | self, | |
pos | |||
) |
def pcbnew.PLOTTER.OpenFile | ( | self, | |
aFullFilename | |||
) |
def pcbnew.PLOTTER.PageSettings | ( | self | ) |
def pcbnew.PLOTTER.PenFinish | ( | self | ) |
def pcbnew.PLOTTER.PenTo | ( | self, | |
pos, | |||
plume | |||
) |
def pcbnew.PLOTTER.PlotImage | ( | self, | |
aImage, | |||
aPos, | |||
aScaleFactor | |||
) |
def pcbnew.PLOTTER.PlotPoly | ( | self, | |
* | args | ||
) |
PlotPoly(PLOTTER self, VECTOR_VECTOR2I aCornerList, FILL_T aFill, int aWidth=USE_DEFAULT_LINE_WIDTH, void * aData=None) PlotPoly(PLOTTER self, SHAPE_LINE_CHAIN aCornerList, FILL_T aFill, int aWidth=USE_DEFAULT_LINE_WIDTH, void * aData=None)
Definition at line 8971 of file pcbnew.py.
def pcbnew.PLOTTER.PlotText | ( | self, | |
aPos, | |||
aColor, | |||
aText, | |||
aAttributes, | |||
aFont, | |||
aFontMetrics, | |||
aData = None |
|||
) |
def pcbnew.PLOTTER.Rect | ( | self, | |
* | args | ||
) |
def pcbnew.PLOTTER.RenderSettings | ( | self | ) |
def pcbnew.PLOTTER.SetColor | ( | self, | |
color | |||
) |
def pcbnew.PLOTTER.SetColorMode | ( | self, | |
aColorMode | |||
) |
def pcbnew.PLOTTER.SetCreator | ( | self, | |
aCreator | |||
) |
def pcbnew.PLOTTER.SetCurrentLineWidth | ( | self, | |
width, | |||
aData = None |
|||
) |
def pcbnew.PLOTTER.SetDash | ( | self, | |
aLineWidth, | |||
aLineStyle | |||
) |
def pcbnew.PLOTTER.SetGerberCoordinatesFormat | ( | self, | |
aResolution, | |||
aUseInches = False |
|||
) |
def pcbnew.PLOTTER.SetLayerPolarity | ( | self, | |
aPositive | |||
) |
def pcbnew.PLOTTER.SetNegative | ( | self, | |
aNegative | |||
) |
def pcbnew.PLOTTER.SetPageSettings | ( | self, | |
aPageSettings | |||
) |
def pcbnew.PLOTTER.SetRenderSettings | ( | self, | |
aSettings | |||
) |
def pcbnew.PLOTTER.SetSvgCoordinatesFormat | ( | self, | |
aPrecision | |||
) |
def pcbnew.PLOTTER.SetTextMode | ( | self, | |
mode | |||
) |
def pcbnew.PLOTTER.SetTitle | ( | self, | |
aTitle | |||
) |
def pcbnew.PLOTTER.SetViewport | ( | self, | |
aOffset, | |||
aIusPerDecimil, | |||
aScale, | |||
aMirror | |||
) |
def pcbnew.PLOTTER.StartBlock | ( | self, | |
aData | |||
) |
def pcbnew.PLOTTER.StartPlot | ( | self, | |
aPageNumber | |||
) |
def 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)
def pcbnew.PLOTTER.ThickArc | ( | self, | |
* | args | ||
) |
ThickArc(PLOTTER self, EDA_SHAPE aArcShape, OUTLINE_MODE aTraceMode, void * aData) ThickArc(PLOTTER self, VECTOR2D const & aCentre, EDA_ANGLE aStAngle, EDA_ANGLE aAngle, double aRadius, int aWidth, OUTLINE_MODE aTraceMode, void * aData)
Definition at line 8986 of file pcbnew.py.
def pcbnew.PLOTTER.ThickCircle | ( | self, | |
pos, | |||
diametre, | |||
width, | |||
tracemode, | |||
aData | |||
) |
def pcbnew.PLOTTER.ThickRect | ( | self, | |
p1, | |||
p2, | |||
width, | |||
tracemode, | |||
aData | |||
) |
def pcbnew.PLOTTER.ThickSegment | ( | self, | |
start, | |||
end, | |||
width, | |||
tracemode, | |||
aData | |||
) |
|
static |
|
static |
|
static |
|
static |