![]() |
KiCad Pcbnew Python Scripting
|

Public Member Functions | |
| def | __init__ (self) |
| "void" | SetSkipPlotNPTH_Pads (self, "bool" aSkip) |
| "bool" | GetSkipPlotNPTH_Pads (self) |
| "void" | Format (self, "OUTPUTFORMATTER" aFormatter, "int" aNestLevel, "int" aControl=0) |
| "void" | Parse (self, "PCB_PLOT_PARAMS_PARSER *" aParser) |
| "bool" | IsSameAs (self, "PCB_PLOT_PARAMS" aPcbPlotParams) |
| "void" | SetColorSettings (self, "COLOR_SETTINGS *" aSettings) |
| "COLOR_SETTINGS *" | ColorSettings (self) |
| "void" | SetTextMode (self, "PLOT_TEXT_MODE" aVal) |
| "PLOT_TEXT_MODE" | GetTextMode (self) |
| "void" | SetPlotMode (self, "OUTLINE_MODE" aPlotMode) |
| "OUTLINE_MODE" | GetPlotMode (self) |
| "void" | SetDXFPlotPolygonMode (self, "bool" aFlag) |
| "bool" | GetDXFPlotPolygonMode (self) |
| "void" | SetDXFPlotUnits (self, "DXF_UNITS" aUnit) |
| "DXF_UNITS" | GetDXFPlotUnits (self) |
| "void" | SetDrillMarksType (self, "PCB_PLOT_PARAMS::DrillMarksType" aVal) |
| "PCB_PLOT_PARAMS::DrillMarksType" | GetDrillMarksType (self) |
| "void" | SetScale (self, "double" aVal) |
| "double" | GetScale (self) |
| "void" | SetFineScaleAdjustX (self, "double" aVal) |
| "double" | GetFineScaleAdjustX (self) |
| "void" | SetFineScaleAdjustY (self, "double" aVal) |
| "double" | GetFineScaleAdjustY (self) |
| "void" | SetWidthAdjust (self, "int" aVal) |
| "int" | GetWidthAdjust (self) |
| "void" | SetAutoScale (self, "bool" aFlag) |
| "bool" | GetAutoScale (self) |
| "void" | SetMirror (self, "bool" aFlag) |
| "bool" | GetMirror (self) |
| "void" | SetSketchPadsOnFabLayers (self, "bool" aFlag) |
| "bool" | GetSketchPadsOnFabLayers (self) |
| "void" | SetSketchPadLineWidth (self, "int" aWidth) |
| "int" | GetSketchPadLineWidth (self) |
| "void" | SetPlotInvisibleText (self, "bool" aFlag) |
| "bool" | GetPlotInvisibleText (self) |
| "void" | SetPlotValue (self, "bool" aFlag) |
| "bool" | GetPlotValue (self) |
| "void" | SetPlotReference (self, "bool" aFlag) |
| "bool" | GetPlotReference (self) |
| "void" | SetNegative (self, "bool" aFlag) |
| "bool" | GetNegative (self) |
| "void" | SetPlotViaOnMaskLayer (self, "bool" aFlag) |
| "bool" | GetPlotViaOnMaskLayer (self) |
| "void" | SetPlotFrameRef (self, "bool" aFlag) |
| "bool" | GetPlotFrameRef (self) |
| "void" | SetExcludeEdgeLayer (self, "bool" aFlag) |
| "bool" | GetExcludeEdgeLayer (self) |
| "void" | SetFormat (self, "PLOT_FORMAT" aFormat) |
| "PLOT_FORMAT" | GetFormat (self) |
| "void" | SetOutputDirectory (self, "wxString" aDir) |
| "wxString" | GetOutputDirectory (self) |
| "void" | SetDisableGerberMacros (self, "bool" aDisable) |
| "bool" | GetDisableGerberMacros (self) |
| "void" | SetUseGerberX2format (self, "bool" aUse) |
| "bool" | GetUseGerberX2format (self) |
| "void" | SetIncludeGerberNetlistInfo (self, "bool" aUse) |
| "bool" | GetIncludeGerberNetlistInfo (self) |
| "void" | SetCreateGerberJobFile (self, "bool" aCreate) |
| "bool" | GetCreateGerberJobFile (self) |
| "void" | SetUseGerberProtelExtensions (self, "bool" aUse) |
| "bool" | GetUseGerberProtelExtensions (self) |
| "void" | SetGerberPrecision (self, "int" aPrecision) |
| "int" | GetGerberPrecision (self) |
| "void" | SetSvgPrecision (self, "unsigned int" aPrecision, "bool" aUseInch) |
| "unsigned int" | GetSvgPrecision (self) |
| "bool" | GetSvgUseInch (self) |
| "void" | SetSubtractMaskFromSilk (self, "bool" aSubtract) |
| "bool" | GetSubtractMaskFromSilk (self) |
| "void" | SetLayerSelection (self, "LSET" aSelection) |
| "LSET" | GetLayerSelection (self) |
| "void" | SetUseAuxOrigin (self, "bool" aAux) |
| "bool" | GetUseAuxOrigin (self) |
| "void" | SetScaleSelection (self, "int" aSelection) |
| "int" | GetScaleSelection (self) |
| "void" | SetA4Output (self, "int" aForce) |
| "bool" | GetA4Output (self) |
| "double" | GetHPGLPenDiameter (self) |
| "bool" | SetHPGLPenDiameter (self, "double" aValue) |
| "int" | GetHPGLPenSpeed (self) |
| "bool" | SetHPGLPenSpeed (self, "int" aValue) |
| "void" | SetHPGLPenNum (self, "int" aVal) |
| "int" | GetHPGLPenNum (self) |
| def | SetUseGerberAttributes (self, aUse) |
Static Public Member Functions | |
| "int" | GetGerberDefaultPrecision () |
Static Public Attributes | |
| NO_DRILL_SHAPE = _pcbnew.PCB_PLOT_PARAMS_NO_DRILL_SHAPE | |
| SMALL_DRILL_SHAPE = _pcbnew.PCB_PLOT_PARAMS_SMALL_DRILL_SHAPE | |
| FULL_DRILL_SHAPE = _pcbnew.PCB_PLOT_PARAMS_FULL_DRILL_SHAPE | |
Properties | |
| thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag") | |
| def pcbnew.PCB_PLOT_PARAMS.__init__ | ( | self | ) |
| "COLOR_SETTINGS *" pcbnew.PCB_PLOT_PARAMS.ColorSettings | ( | self | ) |
| "void" pcbnew.PCB_PLOT_PARAMS.Format | ( | self, | |
| "OUTPUTFORMATTER" | aFormatter, | ||
| "int" | aNestLevel, | ||
| "int" | aControl = 0 |
||
| ) |
| "bool" pcbnew.PCB_PLOT_PARAMS.GetA4Output | ( | self | ) |
| "bool" pcbnew.PCB_PLOT_PARAMS.GetAutoScale | ( | self | ) |
| "bool" pcbnew.PCB_PLOT_PARAMS.GetCreateGerberJobFile | ( | self | ) |
| "bool" pcbnew.PCB_PLOT_PARAMS.GetDisableGerberMacros | ( | self | ) |
| "PCB_PLOT_PARAMS.DrillMarksType" pcbnew.PCB_PLOT_PARAMS.GetDrillMarksType | ( | self | ) |
| "bool" pcbnew.PCB_PLOT_PARAMS.GetDXFPlotPolygonMode | ( | self | ) |
| "DXF_UNITS" pcbnew.PCB_PLOT_PARAMS.GetDXFPlotUnits | ( | self | ) |
| "bool" pcbnew.PCB_PLOT_PARAMS.GetExcludeEdgeLayer | ( | self | ) |
| "double" pcbnew.PCB_PLOT_PARAMS.GetFineScaleAdjustX | ( | self | ) |
| "double" pcbnew.PCB_PLOT_PARAMS.GetFineScaleAdjustY | ( | self | ) |
| "PLOT_FORMAT" pcbnew.PCB_PLOT_PARAMS.GetFormat | ( | self | ) |
|
static |
| "int" pcbnew.PCB_PLOT_PARAMS.GetGerberPrecision | ( | self | ) |
| "double" pcbnew.PCB_PLOT_PARAMS.GetHPGLPenDiameter | ( | self | ) |
| "int" pcbnew.PCB_PLOT_PARAMS.GetHPGLPenNum | ( | self | ) |
| "int" pcbnew.PCB_PLOT_PARAMS.GetHPGLPenSpeed | ( | self | ) |
| "bool" pcbnew.PCB_PLOT_PARAMS.GetIncludeGerberNetlistInfo | ( | self | ) |
| "LSET" pcbnew.PCB_PLOT_PARAMS.GetLayerSelection | ( | self | ) |
| "bool" pcbnew.PCB_PLOT_PARAMS.GetMirror | ( | self | ) |
| "bool" pcbnew.PCB_PLOT_PARAMS.GetNegative | ( | self | ) |
| "wxString" pcbnew.PCB_PLOT_PARAMS.GetOutputDirectory | ( | self | ) |
| "bool" pcbnew.PCB_PLOT_PARAMS.GetPlotFrameRef | ( | self | ) |
| "bool" pcbnew.PCB_PLOT_PARAMS.GetPlotInvisibleText | ( | self | ) |
| "OUTLINE_MODE" pcbnew.PCB_PLOT_PARAMS.GetPlotMode | ( | self | ) |
| "bool" pcbnew.PCB_PLOT_PARAMS.GetPlotReference | ( | self | ) |
| "bool" pcbnew.PCB_PLOT_PARAMS.GetPlotValue | ( | self | ) |
| "bool" pcbnew.PCB_PLOT_PARAMS.GetPlotViaOnMaskLayer | ( | self | ) |
| "double" pcbnew.PCB_PLOT_PARAMS.GetScale | ( | self | ) |
| "int" pcbnew.PCB_PLOT_PARAMS.GetScaleSelection | ( | self | ) |
| "int" pcbnew.PCB_PLOT_PARAMS.GetSketchPadLineWidth | ( | self | ) |
| "bool" pcbnew.PCB_PLOT_PARAMS.GetSketchPadsOnFabLayers | ( | self | ) |
| "bool" pcbnew.PCB_PLOT_PARAMS.GetSkipPlotNPTH_Pads | ( | self | ) |
| "bool" pcbnew.PCB_PLOT_PARAMS.GetSubtractMaskFromSilk | ( | self | ) |
| "unsigned int" pcbnew.PCB_PLOT_PARAMS.GetSvgPrecision | ( | self | ) |
| "bool" pcbnew.PCB_PLOT_PARAMS.GetSvgUseInch | ( | self | ) |
| "PLOT_TEXT_MODE" pcbnew.PCB_PLOT_PARAMS.GetTextMode | ( | self | ) |
| "bool" pcbnew.PCB_PLOT_PARAMS.GetUseAuxOrigin | ( | self | ) |
| "bool" pcbnew.PCB_PLOT_PARAMS.GetUseGerberProtelExtensions | ( | self | ) |
| "bool" pcbnew.PCB_PLOT_PARAMS.GetUseGerberX2format | ( | self | ) |
| "int" pcbnew.PCB_PLOT_PARAMS.GetWidthAdjust | ( | self | ) |
| "bool" pcbnew.PCB_PLOT_PARAMS.IsSameAs | ( | self, | |
| "PCB_PLOT_PARAMS" | aPcbPlotParams | ||
| ) |
| "void" pcbnew.PCB_PLOT_PARAMS.Parse | ( | self, | |
| "PCB_PLOT_PARAMS_PARSER *" | aParser | ||
| ) |
| "void" pcbnew.PCB_PLOT_PARAMS.SetA4Output | ( | self, | |
| "int" | aForce | ||
| ) |
| "void" pcbnew.PCB_PLOT_PARAMS.SetAutoScale | ( | self, | |
| "bool" | aFlag | ||
| ) |
| "void" pcbnew.PCB_PLOT_PARAMS.SetColorSettings | ( | self, | |
| "COLOR_SETTINGS *" | aSettings | ||
| ) |
| "void" pcbnew.PCB_PLOT_PARAMS.SetCreateGerberJobFile | ( | self, | |
| "bool" | aCreate | ||
| ) |
| "void" pcbnew.PCB_PLOT_PARAMS.SetDisableGerberMacros | ( | self, | |
| "bool" | aDisable | ||
| ) |
| "void" pcbnew.PCB_PLOT_PARAMS.SetDrillMarksType | ( | self, | |
| "PCB_PLOT_PARAMS::DrillMarksType" | aVal | ||
| ) |
| "void" pcbnew.PCB_PLOT_PARAMS.SetDXFPlotPolygonMode | ( | self, | |
| "bool" | aFlag | ||
| ) |
| "void" pcbnew.PCB_PLOT_PARAMS.SetDXFPlotUnits | ( | self, | |
| "DXF_UNITS" | aUnit | ||
| ) |
| "void" pcbnew.PCB_PLOT_PARAMS.SetExcludeEdgeLayer | ( | self, | |
| "bool" | aFlag | ||
| ) |
| "void" pcbnew.PCB_PLOT_PARAMS.SetFineScaleAdjustX | ( | self, | |
| "double" | aVal | ||
| ) |
| "void" pcbnew.PCB_PLOT_PARAMS.SetFineScaleAdjustY | ( | self, | |
| "double" | aVal | ||
| ) |
| "void" pcbnew.PCB_PLOT_PARAMS.SetFormat | ( | self, | |
| "PLOT_FORMAT" | aFormat | ||
| ) |
| "void" pcbnew.PCB_PLOT_PARAMS.SetGerberPrecision | ( | self, | |
| "int" | aPrecision | ||
| ) |
| "bool" pcbnew.PCB_PLOT_PARAMS.SetHPGLPenDiameter | ( | self, | |
| "double" | aValue | ||
| ) |
| "void" pcbnew.PCB_PLOT_PARAMS.SetHPGLPenNum | ( | self, | |
| "int" | aVal | ||
| ) |
| "bool" pcbnew.PCB_PLOT_PARAMS.SetHPGLPenSpeed | ( | self, | |
| "int" | aValue | ||
| ) |
| "void" pcbnew.PCB_PLOT_PARAMS.SetIncludeGerberNetlistInfo | ( | self, | |
| "bool" | aUse | ||
| ) |
| "void" pcbnew.PCB_PLOT_PARAMS.SetLayerSelection | ( | self, | |
| "LSET" | aSelection | ||
| ) |
| "void" pcbnew.PCB_PLOT_PARAMS.SetMirror | ( | self, | |
| "bool" | aFlag | ||
| ) |
| "void" pcbnew.PCB_PLOT_PARAMS.SetNegative | ( | self, | |
| "bool" | aFlag | ||
| ) |
| "void" pcbnew.PCB_PLOT_PARAMS.SetOutputDirectory | ( | self, | |
| "wxString" | aDir | ||
| ) |
| "void" pcbnew.PCB_PLOT_PARAMS.SetPlotFrameRef | ( | self, | |
| "bool" | aFlag | ||
| ) |
| "void" pcbnew.PCB_PLOT_PARAMS.SetPlotInvisibleText | ( | self, | |
| "bool" | aFlag | ||
| ) |
| "void" pcbnew.PCB_PLOT_PARAMS.SetPlotMode | ( | self, | |
| "OUTLINE_MODE" | aPlotMode | ||
| ) |
| "void" pcbnew.PCB_PLOT_PARAMS.SetPlotReference | ( | self, | |
| "bool" | aFlag | ||
| ) |
| "void" pcbnew.PCB_PLOT_PARAMS.SetPlotValue | ( | self, | |
| "bool" | aFlag | ||
| ) |
| "void" pcbnew.PCB_PLOT_PARAMS.SetPlotViaOnMaskLayer | ( | self, | |
| "bool" | aFlag | ||
| ) |
| "void" pcbnew.PCB_PLOT_PARAMS.SetScale | ( | self, | |
| "double" | aVal | ||
| ) |
| "void" pcbnew.PCB_PLOT_PARAMS.SetScaleSelection | ( | self, | |
| "int" | aSelection | ||
| ) |
| "void" pcbnew.PCB_PLOT_PARAMS.SetSketchPadLineWidth | ( | self, | |
| "int" | aWidth | ||
| ) |
| "void" pcbnew.PCB_PLOT_PARAMS.SetSketchPadsOnFabLayers | ( | self, | |
| "bool" | aFlag | ||
| ) |
| "void" pcbnew.PCB_PLOT_PARAMS.SetSkipPlotNPTH_Pads | ( | self, | |
| "bool" | aSkip | ||
| ) |
| "void" pcbnew.PCB_PLOT_PARAMS.SetSubtractMaskFromSilk | ( | self, | |
| "bool" | aSubtract | ||
| ) |
| "void" pcbnew.PCB_PLOT_PARAMS.SetSvgPrecision | ( | self, | |
| "unsigned int" | aPrecision, | ||
| "bool" | aUseInch | ||
| ) |
| "void" pcbnew.PCB_PLOT_PARAMS.SetTextMode | ( | self, | |
| "PLOT_TEXT_MODE" | aVal | ||
| ) |
| "void" pcbnew.PCB_PLOT_PARAMS.SetUseAuxOrigin | ( | self, | |
| "bool" | aAux | ||
| ) |
| def pcbnew.PCB_PLOT_PARAMS.SetUseGerberAttributes | ( | self, | |
| aUse | |||
| ) |
| "void" pcbnew.PCB_PLOT_PARAMS.SetUseGerberProtelExtensions | ( | self, | |
| "bool" | aUse | ||
| ) |
| "void" pcbnew.PCB_PLOT_PARAMS.SetUseGerberX2format | ( | self, | |
| "bool" | aUse | ||
| ) |
| "void" pcbnew.PCB_PLOT_PARAMS.SetWidthAdjust | ( | self, | |
| "int" | aVal | ||
| ) |
|
static |
|
static |
|
static |
|
static |