KiCad Pcbnew Python Scripting
|
Public Member Functions | |
def | __init__ (self, *args, **kwargs) |
"void" | SwapShape (self, "EDA_SHAPE" aImage) |
"wxString" | ShowShape (self) |
"wxString" | SHAPE_T_asString (self) |
"void" | SetFillMode (self, "FILL_T" aFill) |
"FILL_T" | GetFillType (self) |
"bool" | IsFilled (self) |
"void" | SetFilled (self, "bool" aFlag) |
"void" | SetWidth (self, "int" aWidth) |
"int" | GetWidth (self) |
"void" | SetShape (self, "SHAPE_T" aShape) |
"SHAPE_T" | GetShape (self) |
"wxPoint const &" | GetStart (self) |
"int" | GetStartY (self) |
"int" | GetStartX (self) |
"void" | SetStart (self, "wxPoint" aStart) |
"void" | SetStartY (self, "int" y) |
"void" | SetStartX (self, "int" x) |
"wxPoint const &" | GetEnd (self) |
"int" | GetEndY (self) |
"int" | GetEndX (self) |
"void" | SetEnd (self, "wxPoint" aEnd) |
"void" | SetEndY (self, "int" y) |
"void" | SetEndX (self, "int" x) |
"void" | SetBezierC1 (self, "wxPoint" aPt) |
"wxPoint const &" | GetBezierC1 (self) |
"void" | SetBezierC2 (self, "wxPoint" aPt) |
"wxPoint const &" | GetBezierC2 (self) |
"void" | SetCenter (self, "wxPoint" aCenter) |
"void" | SetArcAngleAndEnd (self, "double" aAngle, "bool" aCheckNegativeAngle=False) |
"double" | GetArcAngle (self) |
"bool" | EndsSwapped (self) |
"wxPoint" | GetArcMid (self) |
"std::vector< wxPoint,std::allocator< wxPoint > >" | GetRectCorners (self) |
"void" | CalcArcAngles (self, "double &" aStartAngle, "double &" aEndAngle) |
"int" | GetRadius (self) |
"void" | SetArcGeometry (self, "wxPoint" aStart, "wxPoint" aMid, "wxPoint" aEnd) |
"void" | SetCachedArcData (self, "wxPoint" aStart, "wxPoint" aMid, "wxPoint" aEnd, "wxPoint" aCenter) |
"std::vector< wxPoint,std::allocator< wxPoint > > const &" | GetBezierPoints (self) |
"void" | DupPolyPointsList (self, "wxPoint_Vector" aBuffer) |
"int" | GetPointCount (self) |
"SHAPE_POLY_SET const &" | GetPolyShape (self, *args) |
"bool" | IsPolyShapeValid (self) |
"void" | SetPolyShape (self, "SHAPE_POLY_SET" aShape) |
"void" | SetPolyPoints (self, "wxPoint_Vector" aPoints) |
"void" | RebuildBezierToSegmentsPointsList (self, "int" aMinSegLen) |
"std::vector< SHAPE *,std::allocator< SHAPE * > >" | MakeEffectiveShapes (self) |
"void" | ShapeGetMsgPanelInfo (self, "EDA_DRAW_FRAME *" aFrame, "std::vector< MSG_PANEL_ITEM,std::allocator< MSG_PANEL_ITEM > > &" aList) |
"double" | GetLength (self) |
"void" | TransformShapeWithClearanceToPolygon (self, "SHAPE_POLY_SET" aCornerBuffer, "int" aClearanceValue, "int" aError, "ERROR_LOC" aErrorLoc, "bool" ignoreLineWidth) |
"int" | Compare (self, "EDA_SHAPE" aOther) |
Properties | |
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag") | |
def pcbnew.EDA_SHAPE.__init__ | ( | self, | |
* | args, | ||
** | kwargs | ||
) |
Reimplemented in pcbnew.PCB_SHAPE, and pcbnew.FP_SHAPE.
"void" pcbnew.EDA_SHAPE.CalcArcAngles | ( | self, | |
"double &" | aStartAngle, | ||
"double &" | aEndAngle | ||
) |
"int" pcbnew.EDA_SHAPE.Compare | ( | self, | |
"EDA_SHAPE" | aOther | ||
) |
"void" pcbnew.EDA_SHAPE.DupPolyPointsList | ( | self, | |
"wxPoint_Vector" | aBuffer | ||
) |
"bool" pcbnew.EDA_SHAPE.EndsSwapped | ( | self | ) |
"double" pcbnew.EDA_SHAPE.GetArcAngle | ( | self | ) |
"wxPoint" pcbnew.EDA_SHAPE.GetArcMid | ( | self | ) |
"wxPoint const &" pcbnew.EDA_SHAPE.GetBezierC1 | ( | self | ) |
"wxPoint const &" pcbnew.EDA_SHAPE.GetBezierC2 | ( | self | ) |
"wxPoint const &" pcbnew.EDA_SHAPE.GetEnd | ( | self | ) |
"int" pcbnew.EDA_SHAPE.GetEndX | ( | self | ) |
"int" pcbnew.EDA_SHAPE.GetEndY | ( | self | ) |
"FILL_T" pcbnew.EDA_SHAPE.GetFillType | ( | self | ) |
"double" pcbnew.EDA_SHAPE.GetLength | ( | self | ) |
"int" pcbnew.EDA_SHAPE.GetPointCount | ( | self | ) |
"SHAPE_POLY_SET const &" pcbnew.EDA_SHAPE.GetPolyShape | ( | self, | |
* | args | ||
) |
"int" pcbnew.EDA_SHAPE.GetRadius | ( | self | ) |
"SHAPE_T" pcbnew.EDA_SHAPE.GetShape | ( | self | ) |
"wxPoint const &" pcbnew.EDA_SHAPE.GetStart | ( | self | ) |
"int" pcbnew.EDA_SHAPE.GetStartX | ( | self | ) |
"int" pcbnew.EDA_SHAPE.GetStartY | ( | self | ) |
"int" pcbnew.EDA_SHAPE.GetWidth | ( | self | ) |
"bool" pcbnew.EDA_SHAPE.IsFilled | ( | self | ) |
"bool" pcbnew.EDA_SHAPE.IsPolyShapeValid | ( | self | ) |
"void" pcbnew.EDA_SHAPE.RebuildBezierToSegmentsPointsList | ( | self, | |
"int" | aMinSegLen | ||
) |
"void" pcbnew.EDA_SHAPE.SetArcAngleAndEnd | ( | self, | |
"double" | aAngle, | ||
"bool" | aCheckNegativeAngle = False |
||
) |
"void" pcbnew.EDA_SHAPE.SetArcGeometry | ( | self, | |
"wxPoint" | aStart, | ||
"wxPoint" | aMid, | ||
"wxPoint" | aEnd | ||
) |
"void" pcbnew.EDA_SHAPE.SetBezierC1 | ( | self, | |
"wxPoint" | aPt | ||
) |
"void" pcbnew.EDA_SHAPE.SetBezierC2 | ( | self, | |
"wxPoint" | aPt | ||
) |
"void" pcbnew.EDA_SHAPE.SetCachedArcData | ( | self, | |
"wxPoint" | aStart, | ||
"wxPoint" | aMid, | ||
"wxPoint" | aEnd, | ||
"wxPoint" | aCenter | ||
) |
"void" pcbnew.EDA_SHAPE.SetCenter | ( | self, | |
"wxPoint" | aCenter | ||
) |
"void" pcbnew.EDA_SHAPE.SetEnd | ( | self, | |
"wxPoint" | aEnd | ||
) |
"void" pcbnew.EDA_SHAPE.SetEndX | ( | self, | |
"int" | x | ||
) |
"void" pcbnew.EDA_SHAPE.SetEndY | ( | self, | |
"int" | y | ||
) |
"void" pcbnew.EDA_SHAPE.SetFilled | ( | self, | |
"bool" | aFlag | ||
) |
"void" pcbnew.EDA_SHAPE.SetFillMode | ( | self, | |
"FILL_T" | aFill | ||
) |
"void" pcbnew.EDA_SHAPE.SetPolyPoints | ( | self, | |
"wxPoint_Vector" | aPoints | ||
) |
"void" pcbnew.EDA_SHAPE.SetPolyShape | ( | self, | |
"SHAPE_POLY_SET" | aShape | ||
) |
"void" pcbnew.EDA_SHAPE.SetShape | ( | self, | |
"SHAPE_T" | aShape | ||
) |
"void" pcbnew.EDA_SHAPE.SetStart | ( | self, | |
"wxPoint" | aStart | ||
) |
"void" pcbnew.EDA_SHAPE.SetStartX | ( | self, | |
"int" | x | ||
) |
"void" pcbnew.EDA_SHAPE.SetStartY | ( | self, | |
"int" | y | ||
) |
"void" pcbnew.EDA_SHAPE.SetWidth | ( | self, | |
"int" | aWidth | ||
) |
"wxString" pcbnew.EDA_SHAPE.SHAPE_T_asString | ( | self | ) |
"void" pcbnew.EDA_SHAPE.ShapeGetMsgPanelInfo | ( | self, | |
"EDA_DRAW_FRAME *" | aFrame, | ||
"std::vector< MSG_PANEL_ITEM,std::allocator< MSG_PANEL_ITEM > > &" | aList | ||
) |
"wxString" pcbnew.EDA_SHAPE.ShowShape | ( | self | ) |
"void" pcbnew.EDA_SHAPE.SwapShape | ( | self, | |
"EDA_SHAPE" | aImage | ||
) |
"void" pcbnew.EDA_SHAPE.TransformShapeWithClearanceToPolygon | ( | self, | |
"SHAPE_POLY_SET" | aCornerBuffer, | ||
"int" | aClearanceValue, | ||
"int" | aError, | ||
"ERROR_LOC" | aErrorLoc, | ||
"bool" | ignoreLineWidth | ||
) |
TransformShapeWithClearanceToPolygon(EDA_SHAPE self, SHAPE_POLY_SET aCornerBuffer, int aClearanceValue, int aError, ERROR_LOC aErrorLoc, bool ignoreLineWidth)
Reimplemented in pcbnew.PCB_SHAPE.
|
static |