KiCad Pcbnew Python Scripting
|
Public Member Functions | |
def | __init__ (self, aType, aLineWidth, aFill) |
def | SwapShape (self, aImage) |
def | ShowShape (self) |
def | SHAPE_T_asString (self) |
def | IsProxyItem (self) |
def | SetIsProxyItem (self, aIsProxy=True) |
def | IsFilled (self) |
def | IsFilledForHitTesting (self) |
def | SetFilled (self, aFlag) |
def | SetFillMode (self, aFill) |
def | GetFillMode (self) |
def | IsClosed (self) |
def | GetFillColor (self) |
def | SetFillColor (self, aColor) |
def | SetWidth (self, aWidth) |
def | GetWidth (self) |
def | GetEffectiveWidth (self) |
def | SetLineStyle (self, aStyle) |
def | GetLineStyle (self) |
def | SetLineColor (self, aColor) |
def | GetLineColor (self) |
def | SetShape (self, aShape) |
def | GetShape (self) |
def | GetStart (self) |
def | GetStartY (self) |
def | GetStartX (self) |
def | SetStart (self, aStart) |
def | SetStartY (self, y) |
def | SetStartX (self, x) |
def | SetCenterY (self, y) |
def | SetCenterX (self, x) |
def | GetEnd (self) |
def | GetEndY (self) |
def | GetEndX (self) |
def | SetEnd (self, aEnd) |
def | SetEndY (self, aY) |
def | SetEndX (self, aX) |
def | SetRadius (self, aX) |
def | GetTopLeft (self) |
def | GetBotRight (self) |
def | SetTop (self, val) |
def | SetLeft (self, val) |
def | SetRight (self, val) |
def | SetBottom (self, val) |
def | SetBezierC1 (self, aPt) |
def | GetBezierC1 (self) |
def | SetBezierC2 (self, aPt) |
def | GetBezierC2 (self) |
def | SetCenter (self, aCenter) |
def | SetArcAngleAndEnd (self, aAngle, aCheckNegativeAngle=False) |
def | GetArcAngle (self) |
def | GetSegmentAngle (self) |
def | EndsSwapped (self) |
def | GetArcMid (self) |
def | GetRectCorners (self) |
def | CalcArcAngles (self, aStartAngle, aEndAngle) |
def | GetRadius (self) |
def | SetArcGeometry (self, aStart, aMid, aEnd) |
def | SetCachedArcData (self, aStart, aMid, aEnd, aCenter) |
def | GetBezierPoints (self) |
def | DupPolyPointsList (self, aBuffer) |
def | GetPointCount (self) |
def | GetPolyShape (self, *args) |
def | IsPolyShapeValid (self) |
def | SetPolyShape (self, aShape) |
def | SetPolyPoints (self, aPoints) |
def | RebuildBezierToSegmentsPointsList (self, aMaxError) |
def | MakeEffectiveShapes (self, aEdgeOnly=False) |
def | ShapeGetMsgPanelInfo (self, aFrame, aList) |
def | SetLength (self, aLength) |
def | SetRectangleHeight (self, aHeight) |
def | SetRectangleWidth (self, aWidth) |
def | SetRectangle (self, aHeight, aWidth) |
def | SetSegmentAngle (self, aAngle) |
def | IsClockwiseArc (self) |
def | GetLength (self) |
def | GetRectangleHeight (self) |
def | GetRectangleWidth (self) |
def | TransformShapeToPolygon (self, aBuffer, aClearance, aError, aErrorLoc, ignoreLineWidth=False) |
def | Compare (self, aOther) |
def | Similarity (self, aOther) |
def | __eq__ (self, aOther) |
Properties | |
property | thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag") |
def pcbnew.EDA_SHAPE.__init__ | ( | self, | |
aType, | |||
aLineWidth, | |||
aFill | |||
) |
__init__(EDA_SHAPE self, SHAPE_T aType, int aLineWidth, FILL_T aFill) -> EDA_SHAPE
Reimplemented in pcbnew.PCB_SHAPE, and pcbnew.PCB_TEXTBOX.
def pcbnew.EDA_SHAPE.__eq__ | ( | self, | |
aOther | |||
) |
__eq__(EDA_SHAPE self, EDA_SHAPE aOther) -> bool
Reimplemented in pcbnew.PCB_SHAPE, and pcbnew.PCB_TEXTBOX.
def pcbnew.EDA_SHAPE.CalcArcAngles | ( | self, | |
aStartAngle, | |||
aEndAngle | |||
) |
def pcbnew.EDA_SHAPE.Compare | ( | self, | |
aOther | |||
) |
def pcbnew.EDA_SHAPE.DupPolyPointsList | ( | self, | |
aBuffer | |||
) |
def pcbnew.EDA_SHAPE.EndsSwapped | ( | self | ) |
def pcbnew.EDA_SHAPE.GetArcAngle | ( | self | ) |
def pcbnew.EDA_SHAPE.GetArcMid | ( | self | ) |
def pcbnew.EDA_SHAPE.GetBezierC1 | ( | self | ) |
def pcbnew.EDA_SHAPE.GetBezierC2 | ( | self | ) |
def pcbnew.EDA_SHAPE.GetBezierPoints | ( | self | ) |
def pcbnew.EDA_SHAPE.GetBotRight | ( | self | ) |
def pcbnew.EDA_SHAPE.GetEffectiveWidth | ( | self | ) |
def pcbnew.EDA_SHAPE.GetEnd | ( | self | ) |
def pcbnew.EDA_SHAPE.GetEndX | ( | self | ) |
def pcbnew.EDA_SHAPE.GetEndY | ( | self | ) |
def pcbnew.EDA_SHAPE.GetFillColor | ( | self | ) |
def pcbnew.EDA_SHAPE.GetFillMode | ( | self | ) |
def pcbnew.EDA_SHAPE.GetLength | ( | self | ) |
def pcbnew.EDA_SHAPE.GetLineColor | ( | self | ) |
def pcbnew.EDA_SHAPE.GetLineStyle | ( | self | ) |
def pcbnew.EDA_SHAPE.GetPointCount | ( | self | ) |
def pcbnew.EDA_SHAPE.GetPolyShape | ( | self, | |
* | args | ||
) |
def pcbnew.EDA_SHAPE.GetRadius | ( | self | ) |
def pcbnew.EDA_SHAPE.GetRectangleHeight | ( | self | ) |
def pcbnew.EDA_SHAPE.GetRectangleWidth | ( | self | ) |
def pcbnew.EDA_SHAPE.GetRectCorners | ( | self | ) |
def pcbnew.EDA_SHAPE.GetSegmentAngle | ( | self | ) |
def pcbnew.EDA_SHAPE.GetShape | ( | self | ) |
def pcbnew.EDA_SHAPE.GetStart | ( | self | ) |
def pcbnew.EDA_SHAPE.GetStartX | ( | self | ) |
def pcbnew.EDA_SHAPE.GetStartY | ( | self | ) |
def pcbnew.EDA_SHAPE.GetTopLeft | ( | self | ) |
def pcbnew.EDA_SHAPE.GetWidth | ( | self | ) |
def pcbnew.EDA_SHAPE.IsClockwiseArc | ( | self | ) |
def pcbnew.EDA_SHAPE.IsClosed | ( | self | ) |
def pcbnew.EDA_SHAPE.IsFilled | ( | self | ) |
def pcbnew.EDA_SHAPE.IsFilledForHitTesting | ( | self | ) |
def pcbnew.EDA_SHAPE.IsPolyShapeValid | ( | self | ) |
def pcbnew.EDA_SHAPE.IsProxyItem | ( | self | ) |
def pcbnew.EDA_SHAPE.MakeEffectiveShapes | ( | self, | |
aEdgeOnly = False |
|||
) |
def pcbnew.EDA_SHAPE.RebuildBezierToSegmentsPointsList | ( | self, | |
aMaxError | |||
) |
def pcbnew.EDA_SHAPE.SetArcAngleAndEnd | ( | self, | |
aAngle, | |||
aCheckNegativeAngle = False |
|||
) |
def pcbnew.EDA_SHAPE.SetArcGeometry | ( | self, | |
aStart, | |||
aMid, | |||
aEnd | |||
) |
def pcbnew.EDA_SHAPE.SetBezierC1 | ( | self, | |
aPt | |||
) |
def pcbnew.EDA_SHAPE.SetBezierC2 | ( | self, | |
aPt | |||
) |
def pcbnew.EDA_SHAPE.SetBottom | ( | self, | |
val | |||
) |
def pcbnew.EDA_SHAPE.SetCachedArcData | ( | self, | |
aStart, | |||
aMid, | |||
aEnd, | |||
aCenter | |||
) |
def pcbnew.EDA_SHAPE.SetCenter | ( | self, | |
aCenter | |||
) |
def pcbnew.EDA_SHAPE.SetCenterX | ( | self, | |
x | |||
) |
def pcbnew.EDA_SHAPE.SetCenterY | ( | self, | |
y | |||
) |
def pcbnew.EDA_SHAPE.SetEnd | ( | self, | |
aEnd | |||
) |
def pcbnew.EDA_SHAPE.SetEndX | ( | self, | |
aX | |||
) |
def pcbnew.EDA_SHAPE.SetEndY | ( | self, | |
aY | |||
) |
def pcbnew.EDA_SHAPE.SetFillColor | ( | self, | |
aColor | |||
) |
def pcbnew.EDA_SHAPE.SetFilled | ( | self, | |
aFlag | |||
) |
def pcbnew.EDA_SHAPE.SetFillMode | ( | self, | |
aFill | |||
) |
def pcbnew.EDA_SHAPE.SetIsProxyItem | ( | self, | |
aIsProxy = True |
|||
) |
SetIsProxyItem(EDA_SHAPE self, bool aIsProxy=True)
Reimplemented in pcbnew.PCB_SHAPE.
def pcbnew.EDA_SHAPE.SetLeft | ( | self, | |
val | |||
) |
def pcbnew.EDA_SHAPE.SetLength | ( | self, | |
aLength | |||
) |
def pcbnew.EDA_SHAPE.SetLineColor | ( | self, | |
aColor | |||
) |
def pcbnew.EDA_SHAPE.SetLineStyle | ( | self, | |
aStyle | |||
) |
def pcbnew.EDA_SHAPE.SetPolyPoints | ( | self, | |
aPoints | |||
) |
def pcbnew.EDA_SHAPE.SetPolyShape | ( | self, | |
aShape | |||
) |
def pcbnew.EDA_SHAPE.SetRadius | ( | self, | |
aX | |||
) |
def pcbnew.EDA_SHAPE.SetRectangle | ( | self, | |
aHeight, | |||
aWidth | |||
) |
def pcbnew.EDA_SHAPE.SetRectangleHeight | ( | self, | |
aHeight | |||
) |
def pcbnew.EDA_SHAPE.SetRectangleWidth | ( | self, | |
aWidth | |||
) |
def pcbnew.EDA_SHAPE.SetRight | ( | self, | |
val | |||
) |
def pcbnew.EDA_SHAPE.SetSegmentAngle | ( | self, | |
aAngle | |||
) |
def pcbnew.EDA_SHAPE.SetShape | ( | self, | |
aShape | |||
) |
def pcbnew.EDA_SHAPE.SetStart | ( | self, | |
aStart | |||
) |
def pcbnew.EDA_SHAPE.SetStartX | ( | self, | |
x | |||
) |
def pcbnew.EDA_SHAPE.SetStartY | ( | self, | |
y | |||
) |
def pcbnew.EDA_SHAPE.SetTop | ( | self, | |
val | |||
) |
def pcbnew.EDA_SHAPE.SetWidth | ( | self, | |
aWidth | |||
) |
def pcbnew.EDA_SHAPE.SHAPE_T_asString | ( | self | ) |
def pcbnew.EDA_SHAPE.ShapeGetMsgPanelInfo | ( | self, | |
aFrame, | |||
aList | |||
) |
def pcbnew.EDA_SHAPE.ShowShape | ( | self | ) |
def pcbnew.EDA_SHAPE.Similarity | ( | self, | |
aOther | |||
) |
def pcbnew.EDA_SHAPE.SwapShape | ( | self, | |
aImage | |||
) |
def pcbnew.EDA_SHAPE.TransformShapeToPolygon | ( | self, | |
aBuffer, | |||
aClearance, | |||
aError, | |||
aErrorLoc, | |||
ignoreLineWidth = False |
|||
) |
TransformShapeToPolygon(EDA_SHAPE self, SHAPE_POLY_SET aBuffer, int aClearance, int aError, ERROR_LOC aErrorLoc, bool ignoreLineWidth=False)
Reimplemented in pcbnew.PCB_SHAPE, and pcbnew.PCB_TEXTBOX.
|
static |