KiCad Pcbnew Python Scripting
|
Public Member Functions | |
def | __init__ (self, *args, **kwargs) |
"PLOT_FORMAT" | GetPlotterType (self) |
"bool" | StartPlot (self) |
"bool" | EndPlot (self) |
"void" | SetNegative (self, "bool" aNegative) |
"void" | SetColorMode (self, "bool" aColorMode) |
"bool" | GetColorMode (self) |
"void" | SetRenderSettings (self, "RENDER_SETTINGS *" aSettings) |
"RENDER_SETTINGS *" | RenderSettings (self) |
"void" | SetPageSettings (self, "PAGE_INFO const &" aPageSettings) |
"PAGE_INFO &" | PageSettings (self) |
"void" | SetCurrentLineWidth (self, "int" width, "void *" aData=None) |
"int" | GetCurrentLineWidth (self) |
"void" | SetColor (self, "COLOR4D" color) |
"void" | SetDash (self, "PLOT_DASH_TYPE" dashed) |
"void" | SetCreator (self, "wxString" aCreator) |
"void" | SetTitle (self, "wxString" aTitle) |
"void" | AddLineToHeader (self, "wxString" aExtraString) |
"void" | ClearHeaderLinesList (self) |
"void" | SetViewport (self, "wxPoint" aOffset, "double" aIusPerDecimil, "double" aScale, "bool" aMirror) |
"bool" | OpenFile (self, "wxString" aFullFilename) |
"double" | GetIUsPerDecimil (self) |
"int" | GetPlotterArcLowDef (self) |
"int" | GetPlotterArcHighDef (self) |
"void" | Rect (self, *args) |
"void" | Circle (self, *args) |
"void" | Arc (self, *args) |
"void" | BezierCurve (self, *args) |
"void" | PenTo (self, "wxPoint" pos, "char" plume) |
"void" | MoveTo (self, "wxPoint" pos) |
"void" | LineTo (self, "wxPoint" pos) |
"void" | FinishTo (self, "wxPoint" pos) |
"void" | PenFinish (self) |
"void" | PlotPoly (self, *args) |
"void" | PlotImage (self, "wxImage const &" aImage, "wxPoint" aPos, "double" aScaleFactor) |
"void" | ThickSegment (self, "wxPoint" start, "wxPoint" end, "int" width, "OUTLINE_MODE" tracemode, "void *" aData) |
"void" | ThickArc (self, "wxPoint" centre, "double" StAngle, "double" EndAngle, "int" rayon, "int" width, "OUTLINE_MODE" tracemode, "void *" aData) |
"void" | ThickRect (self, "wxPoint" p1, "wxPoint" p2, "int" width, "OUTLINE_MODE" tracemode, "void *" aData) |
"void" | ThickCircle (self, "wxPoint" pos, "int" diametre, "int" width, "OUTLINE_MODE" tracemode, "void *" aData) |
"void" | FilledCircle (self, "wxPoint" pos, "int" diametre, "OUTLINE_MODE" tracemode, "void *" aData) |
"void" | FlashPadCircle (self, "wxPoint" aPadPos, "int" aDiameter, "OUTLINE_MODE" aTraceMode, "void *" aData) |
"void" | FlashPadOval (self, "wxPoint" aPadPos, "wxSize" aSize, "double" aPadOrient, "OUTLINE_MODE" aTraceMode, "void *" aData) |
"void" | FlashPadRect (self, "wxPoint" aPadPos, "wxSize" aSize, "double" aPadOrient, "OUTLINE_MODE" aTraceMode, "void *" aData) |
"void" | FlashPadRoundRect (self, "wxPoint" aPadPos, "wxSize" aSize, "int" aCornerRadius, "double" aOrient, "OUTLINE_MODE" aTraceMode, "void *" aData) |
"void" | FlashPadCustom (self, "wxPoint" aPadPos, "wxSize" aSize, "double" aPadOrient, "SHAPE_POLY_SET" aPolygons, "OUTLINE_MODE" aTraceMode, "void *" aData) |
"void" | FlashPadTrapez (self, "wxPoint" aPadPos, "wxPoint" aCorners, "double" aPadOrient, "OUTLINE_MODE" aTraceMode, "void *" aData) |
"void" | FlashRegularPolygon (self, "wxPoint" aShapePos, "int" aDiameter, "int" aCornerCount, "double" aOrient, "OUTLINE_MODE" aTraceMode, "void *" aData) |
"void" | Text (self, "wxPoint" aPos, "COLOR4D" aColor, "wxString" aText, "double" aOrient, "wxSize" aSize, "enum EDA_TEXT_HJUSTIFY_T" aH_justify, "enum EDA_TEXT_VJUSTIFY_T" aV_justify, "int" aWidth, "bool" aItalic, "bool" aBold, "bool" aMultilineAllowed=False, "void *" aData=None) |
"void" | Marker (self, "wxPoint" position, "int" diametre, "unsigned int" aShapeId) |
"void" | SetLayerPolarity (self, "bool" aPositive) |
"void" | SetTextMode (self, "PLOT_TEXT_MODE" mode) |
"void" | SetGerberCoordinatesFormat (self, "int" aResolution, "bool" aUseInches=False) |
"void" | SetSvgCoordinatesFormat (self, "unsigned int" aResolution, "bool" aUseInches=False) |
"void" | StartBlock (self, "void *" aData) |
"void" | EndBlock (self, "void *" aData) |
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") | |
"void" pcbnew.PLOTTER.AddLineToHeader | ( | self, | |
"wxString" | aExtraString | ||
) |
"void" pcbnew.PLOTTER.Arc | ( | self, | |
* | args | ||
) |
"void" pcbnew.PLOTTER.BezierCurve | ( | self, | |
* | args | ||
) |
"void" pcbnew.PLOTTER.Circle | ( | self, | |
* | args | ||
) |
"void" pcbnew.PLOTTER.ClearHeaderLinesList | ( | self | ) |
"void" pcbnew.PLOTTER.EndBlock | ( | self, | |
"void *" | aData | ||
) |
"bool" pcbnew.PLOTTER.EndPlot | ( | self | ) |
"void" pcbnew.PLOTTER.FilledCircle | ( | self, | |
"wxPoint" | pos, | ||
"int" | diametre, | ||
"OUTLINE_MODE" | tracemode, | ||
"void *" | aData | ||
) |
"void" pcbnew.PLOTTER.FinishTo | ( | self, | |
"wxPoint" | pos | ||
) |
"void" pcbnew.PLOTTER.FlashPadCircle | ( | self, | |
"wxPoint" | aPadPos, | ||
"int" | aDiameter, | ||
"OUTLINE_MODE" | aTraceMode, | ||
"void *" | aData | ||
) |
"void" pcbnew.PLOTTER.FlashPadCustom | ( | self, | |
"wxPoint" | aPadPos, | ||
"wxSize" | aSize, | ||
"double" | aPadOrient, | ||
"SHAPE_POLY_SET" | aPolygons, | ||
"OUTLINE_MODE" | aTraceMode, | ||
"void *" | aData | ||
) |
"void" pcbnew.PLOTTER.FlashPadOval | ( | self, | |
"wxPoint" | aPadPos, | ||
"wxSize" | aSize, | ||
"double" | aPadOrient, | ||
"OUTLINE_MODE" | aTraceMode, | ||
"void *" | aData | ||
) |
"void" pcbnew.PLOTTER.FlashPadRect | ( | self, | |
"wxPoint" | aPadPos, | ||
"wxSize" | aSize, | ||
"double" | aPadOrient, | ||
"OUTLINE_MODE" | aTraceMode, | ||
"void *" | aData | ||
) |
"void" pcbnew.PLOTTER.FlashPadRoundRect | ( | self, | |
"wxPoint" | aPadPos, | ||
"wxSize" | aSize, | ||
"int" | aCornerRadius, | ||
"double" | aOrient, | ||
"OUTLINE_MODE" | aTraceMode, | ||
"void *" | aData | ||
) |
"void" pcbnew.PLOTTER.FlashPadTrapez | ( | self, | |
"wxPoint" | aPadPos, | ||
"wxPoint" | aCorners, | ||
"double" | aPadOrient, | ||
"OUTLINE_MODE" | aTraceMode, | ||
"void *" | aData | ||
) |
"void" pcbnew.PLOTTER.FlashRegularPolygon | ( | self, | |
"wxPoint" | aShapePos, | ||
"int" | aDiameter, | ||
"int" | aCornerCount, | ||
"double" | aOrient, | ||
"OUTLINE_MODE" | aTraceMode, | ||
"void *" | aData | ||
) |
"bool" pcbnew.PLOTTER.GetColorMode | ( | self | ) |
"int" pcbnew.PLOTTER.GetCurrentLineWidth | ( | self | ) |
"double" pcbnew.PLOTTER.GetIUsPerDecimil | ( | self | ) |
"int" pcbnew.PLOTTER.GetPlotterArcHighDef | ( | self | ) |
"int" pcbnew.PLOTTER.GetPlotterArcLowDef | ( | self | ) |
"PLOT_FORMAT" pcbnew.PLOTTER.GetPlotterType | ( | self | ) |
"void" pcbnew.PLOTTER.LineTo | ( | self, | |
"wxPoint" | pos | ||
) |
"void" pcbnew.PLOTTER.Marker | ( | self, | |
"wxPoint" | position, | ||
"int" | diametre, | ||
"unsigned int" | aShapeId | ||
) |
"void" pcbnew.PLOTTER.MoveTo | ( | self, | |
"wxPoint" | pos | ||
) |
"bool" pcbnew.PLOTTER.OpenFile | ( | self, | |
"wxString" | aFullFilename | ||
) |
"PAGE_INFO &" pcbnew.PLOTTER.PageSettings | ( | self | ) |
"void" pcbnew.PLOTTER.PenFinish | ( | self | ) |
"void" pcbnew.PLOTTER.PenTo | ( | self, | |
"wxPoint" | pos, | ||
"char" | plume | ||
) |
"void" pcbnew.PLOTTER.PlotImage | ( | self, | |
"wxImage const &" | aImage, | ||
"wxPoint" | aPos, | ||
"double" | aScaleFactor | ||
) |
"void" pcbnew.PLOTTER.PlotPoly | ( | self, | |
* | args | ||
) |
PlotPoly(PLOTTER self, wxPoint_Vector 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 6665 of file pcbnew.py.
"void" pcbnew.PLOTTER.Rect | ( | self, | |
* | args | ||
) |
"RENDER_SETTINGS *" pcbnew.PLOTTER.RenderSettings | ( | self | ) |
"void" pcbnew.PLOTTER.SetColor | ( | self, | |
"COLOR4D" | color | ||
) |
"void" pcbnew.PLOTTER.SetColorMode | ( | self, | |
"bool" | aColorMode | ||
) |
"void" pcbnew.PLOTTER.SetCreator | ( | self, | |
"wxString" | aCreator | ||
) |
"void" pcbnew.PLOTTER.SetCurrentLineWidth | ( | self, | |
"int" | width, | ||
"void *" | aData = None |
||
) |
"void" pcbnew.PLOTTER.SetDash | ( | self, | |
"PLOT_DASH_TYPE" | dashed | ||
) |
"void" pcbnew.PLOTTER.SetGerberCoordinatesFormat | ( | self, | |
"int" | aResolution, | ||
"bool" | aUseInches = False |
||
) |
"void" pcbnew.PLOTTER.SetLayerPolarity | ( | self, | |
"bool" | aPositive | ||
) |
"void" pcbnew.PLOTTER.SetNegative | ( | self, | |
"bool" | aNegative | ||
) |
"void" pcbnew.PLOTTER.SetPageSettings | ( | self, | |
"PAGE_INFO const &" | aPageSettings | ||
) |
"void" pcbnew.PLOTTER.SetRenderSettings | ( | self, | |
"RENDER_SETTINGS *" | aSettings | ||
) |
"void" pcbnew.PLOTTER.SetSvgCoordinatesFormat | ( | self, | |
"unsigned int" | aResolution, | ||
"bool" | aUseInches = False |
||
) |
"void" pcbnew.PLOTTER.SetTextMode | ( | self, | |
"PLOT_TEXT_MODE" | mode | ||
) |
"void" pcbnew.PLOTTER.SetTitle | ( | self, | |
"wxString" | aTitle | ||
) |
"void" pcbnew.PLOTTER.SetViewport | ( | self, | |
"wxPoint" | aOffset, | ||
"double" | aIusPerDecimil, | ||
"double" | aScale, | ||
"bool" | aMirror | ||
) |
"void" pcbnew.PLOTTER.StartBlock | ( | self, | |
"void *" | aData | ||
) |
"bool" pcbnew.PLOTTER.StartPlot | ( | self | ) |
"void" pcbnew.PLOTTER.Text | ( | self, | |
"wxPoint" | aPos, | ||
"COLOR4D" | aColor, | ||
"wxString" | aText, | ||
"double" | aOrient, | ||
"wxSize" | aSize, | ||
"enum EDA_TEXT_HJUSTIFY_T" | aH_justify, | ||
"enum EDA_TEXT_VJUSTIFY_T" | aV_justify, | ||
"int" | aWidth, | ||
"bool" | aItalic, | ||
"bool" | aBold, | ||
"bool" | aMultilineAllowed = False , |
||
"void *" | aData = None |
||
) |
"void" pcbnew.PLOTTER.ThickArc | ( | self, | |
"wxPoint" | centre, | ||
"double" | StAngle, | ||
"double" | EndAngle, | ||
"int" | rayon, | ||
"int" | width, | ||
"OUTLINE_MODE" | tracemode, | ||
"void *" | aData | ||
) |
"void" pcbnew.PLOTTER.ThickCircle | ( | self, | |
"wxPoint" | pos, | ||
"int" | diametre, | ||
"int" | width, | ||
"OUTLINE_MODE" | tracemode, | ||
"void *" | aData | ||
) |
"void" pcbnew.PLOTTER.ThickRect | ( | self, | |
"wxPoint" | p1, | ||
"wxPoint" | p2, | ||
"int" | width, | ||
"OUTLINE_MODE" | tracemode, | ||
"void *" | aData | ||
) |
"void" pcbnew.PLOTTER.ThickSegment | ( | self, | |
"wxPoint" | start, | ||
"wxPoint" | end, | ||
"int" | width, | ||
"OUTLINE_MODE" | tracemode, | ||
"void *" | aData | ||
) |
|
static |
|
static |
|
static |
|
static |