![]() |
KiCad Pcbnew Python Scripting
|

Public Member Functions | |
| def | __init__ (self, *args) |
| "void" | CacheTriangulation (self, "bool" aPartition=True) |
| "bool" | IsTriangulationUpToDate (self) |
| "MD5_HASH" | GetHash (self) |
| "bool" | HasIndexableSubshapes (self) |
| "size_t" | GetIndexableSubshapeCount (self) |
| "void" | GetIndexableSubshapes (self, "std::vector< SHAPE *,std::allocator< SHAPE * > > &" aSubshapes) |
| "bool" | GetRelativeIndices (self, "int" aGlobalIdx, "SHAPE_POLY_SET::VERTEX_INDEX *" aRelativeIndices) |
| "bool" | GetGlobalIndex (self, "SHAPE_POLY_SET::VERTEX_INDEX" aRelativeIndices, "int &" aGlobalIdx) |
| "SHAPE *" | Clone (self) |
| "int" | NewOutline (self) |
| "int" | NewHole (self, "int" aOutline=-1) |
| "int" | AddOutline (self, "SHAPE_LINE_CHAIN" aOutline) |
| "int" | AddHole (self, "SHAPE_LINE_CHAIN" aHole, "int" aOutline=-1) |
| "double" | Area (self) |
| "int" | ArcCount (self) |
| "void" | GetArcs (self, "std::vector< SHAPE_ARC,std::allocator< SHAPE_ARC > > &" aArcBuffer) |
| "void" | ClearArcs (self) |
| "int" | Append (self, *args) |
| "void" | InsertVertex (self, "int" aGlobalIndex, "VECTOR2I" aNewVertex) |
| "VECTOR2I const &" | CVertex (self, *args) |
| "bool" | GetNeighbourIndexes (self, "int" aGlobalIndex, "int *" aPrevious, "int *" aNext) |
| "bool" | IsPolygonSelfIntersecting (self, "int" aPolygonIndex) |
| "bool" | IsSelfIntersecting (self) |
| "unsigned int" | TriangulatedPolyCount (self) |
| "int" | OutlineCount (self) |
| "int" | VertexCount (self, "int" aOutline=-1, "int" aHole=-1) |
| "int" | FullPointCount (self) |
| "int" | HoleCount (self, "int" aOutline) |
| "SHAPE_LINE_CHAIN const &" | Outline (self, *args) |
| "SHAPE_POLY_SET" | Subset (self, "int" aFirstPolygon, "int" aLastPolygon) |
| "SHAPE_POLY_SET" | UnitSet (self, "int" aPolygonIndex) |
| "SHAPE_LINE_CHAIN &" | Hole (self, "int" aOutline, "int" aHole) |
| "SHAPE_POLY_SET::POLYGON const &" | Polygon (self, *args) |
| "SHAPE_POLY_SET::TRIANGULATED_POLYGON const *" | TriangulatedPolygon (self, "int" aIndex) |
| "SHAPE_LINE_CHAIN const &" | COutline (self, "int" aIndex) |
| "SHAPE_LINE_CHAIN const &" | CHole (self, "int" aOutline, "int" aHole) |
| "SHAPE_POLY_SET::POLYGON const &" | CPolygon (self, "int" aIndex) |
| "SHAPE_POLY_SET::ITERATOR" | Iterate (self, *args) |
| "SHAPE_POLY_SET::ITERATOR" | IterateWithHoles (self, *args) |
| "SHAPE_POLY_SET::CONST_ITERATOR" | CIterate (self, *args) |
| "SHAPE_POLY_SET::CONST_ITERATOR" | CIterateWithHoles (self, *args) |
| "SHAPE_POLY_SET::ITERATOR" | IterateFromVertexWithHoles (self, "int" aGlobalIdx) |
| "SHAPE_POLY_SET::SEGMENT_ITERATOR" | IterateSegments (self, *args) |
| "SHAPE_POLY_SET::CONST_SEGMENT_ITERATOR" | CIterateSegments (self, *args) |
| "SHAPE_POLY_SET::SEGMENT_ITERATOR" | IterateSegmentsWithHoles (self, *args) |
| "SHAPE_POLY_SET::CONST_SEGMENT_ITERATOR" | CIterateSegmentsWithHoles (self, *args) |
| "void" | BooleanAdd (self, *args) |
| "void" | BooleanSubtract (self, *args) |
| "void" | BooleanIntersection (self, *args) |
| "void" | Inflate (self, *args) |
| "void" | Deflate (self, *args) |
| "void" | InflateWithLinkedHoles (self, "int" aFactor, "int" aCircleSegmentsCount, "SHAPE_POLY_SET::POLYGON_MODE" aFastMode) |
| "void" | Fracture (self, "SHAPE_POLY_SET::POLYGON_MODE" aFastMode) |
| "void" | Unfracture (self, "SHAPE_POLY_SET::POLYGON_MODE" aFastMode) |
| "bool" | HasHoles (self) |
| "bool" | HasTouchingHoles (self) |
| "void" | Simplify (self, "SHAPE_POLY_SET::POLYGON_MODE" aFastMode) |
| "int" | NormalizeAreaOutlines (self) |
| "std::string const" | Format (self) |
| "bool" | Parse (self, "std::stringstream &" aStream) |
| "void" | Move (self, "VECTOR2I" aVector) |
| "void" | Mirror (self, *args) |
| "void" | Rotate (self, *args) |
| "bool" | IsSolid (self) |
| "BOX2I const" | BBox (self, "int" aClearance=0) |
| "bool" | PointOnEdge (self, "VECTOR2I" aP) |
| "bool" | Collide (self, *args) |
| "bool" | CollideVertex (self, "VECTOR2I" aPoint, "SHAPE_POLY_SET::VERTEX_INDEX &" aClosestVertex, "int" aClearance=0) |
| "bool" | CollideEdge (self, "VECTOR2I" aPoint, "SHAPE_POLY_SET::VERTEX_INDEX &" aClosestVertex, "int" aClearance=0) |
| "void" | BuildBBoxCaches (self) |
| "BOX2I const" | BBoxFromCaches (self) |
| "bool" | Contains (self, "VECTOR2I" aP, "int" aSubpolyIndex=-1, "int" aAccuracy=0, "bool" aUseBBoxCaches=False) |
| "bool" | IsEmpty (self) |
| "void" | RemoveVertex (self, *args) |
| "void" | RemoveAllContours (self) |
| "void" | RemoveContour (self, "int" aContourIdx, "int" aPolygonIdx=-1) |
| "int" | RemoveNullSegments (self) |
| "void" | SetVertex (self, *args) |
| "int" | TotalVertices (self) |
| "void" | DeletePolygon (self, "int" aIdx) |
| "SHAPE_POLY_SET::POLYGON" | ChamferPolygon (self, "unsigned int" aDistance, "int" aIndex) |
| "SHAPE_POLY_SET::POLYGON" | FilletPolygon (self, "unsigned int" aRadius, "int" aErrorMax, "int" aIndex) |
| "SHAPE_POLY_SET" | Chamfer (self, "int" aDistance) |
| "SHAPE_POLY_SET" | Fillet (self, "int" aRadius, "int" aErrorMax) |
| "SEG::ecoord" | SquaredDistanceToPolygon (self, *args) |
| "SEG::ecoord" | SquaredDistance (self, *args) |
| "bool" | IsVertexInHole (self, "int" aGlobalIdx) |
Public Member Functions inherited from pcbnew.SHAPE | |
| def | __init__ (self, *args, **kwargs) |
| "SHAPE *" | Clone (self) |
| "bool" | IsNull (self) |
| "bool" | Collide (self, *args) |
| "BOX2I const" | BBox (self, "int" aClearance=0) |
| "VECTOR2I" | Centre (self) |
| "void" | Rotate (self, *args) |
| "void" | Move (self, "VECTOR2I" aVector) |
| "bool" | IsSolid (self) |
| "bool" | Parse (self, "std::stringstream &" aStream) |
| "std::string const" | Format (self) |
Public Member Functions inherited from pcbnew.SHAPE_BASE | |
| def | __init__ (self, "SHAPE_TYPE" aType) |
| "SHAPE_TYPE" | Type (self) |
| "wxString" | TypeName (self) |
| "bool" | HasIndexableSubshapes (self) |
| "size_t" | GetIndexableSubshapeCount (self) |
| "void" | GetIndexableSubshapes (self, "std::vector< SHAPE *,std::allocator< SHAPE * > > &" aSubshapes) |
Static Public Member Functions | |
| "SHAPE_POLY_SET const" | BuildPolysetFromOrientedPaths ("std::vector< SHAPE_LINE_CHAIN,std::allocator< SHAPE_LINE_CHAIN > > const &" aPaths, "bool" aReverseOrientation=False, "bool" aEvenOdd=False) |
Static Public Attributes | |
| PM_FAST = _pcbnew.SHAPE_POLY_SET_PM_FAST | |
| PM_STRICTLY_SIMPLE = _pcbnew.SHAPE_POLY_SET_PM_STRICTLY_SIMPLE | |
| ALLOW_ACUTE_CORNERS = _pcbnew.SHAPE_POLY_SET_ALLOW_ACUTE_CORNERS | |
| CHAMFER_ACUTE_CORNERS = _pcbnew.SHAPE_POLY_SET_CHAMFER_ACUTE_CORNERS | |
| ROUND_ACUTE_CORNERS = _pcbnew.SHAPE_POLY_SET_ROUND_ACUTE_CORNERS | |
| CHAMFER_ALL_CORNERS = _pcbnew.SHAPE_POLY_SET_CHAMFER_ALL_CORNERS | |
| ROUND_ALL_CORNERS = _pcbnew.SHAPE_POLY_SET_ROUND_ALL_CORNERS | |
Static Public Attributes inherited from pcbnew.SHAPE | |
| MIN_PRECISION_IU = _pcbnew.SHAPE_MIN_PRECISION_IU | |
Properties | |
| thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag") | |
Properties inherited from pcbnew.SHAPE | |
| thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag") | |
Properties inherited from pcbnew.SHAPE_BASE | |
| thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag") | |
| def pcbnew.SHAPE_POLY_SET.__init__ | ( | self, | |
| * | args | ||
| ) |
__init__(SHAPE_POLY_SET self) -> SHAPE_POLY_SET
__init__(SHAPE_POLY_SET self, BOX2D const & aRect) -> SHAPE_POLY_SET
__init__(SHAPE_POLY_SET self, SHAPE_LINE_CHAIN aOutline) -> SHAPE_POLY_SET
__init__(SHAPE_POLY_SET self, SHAPE_POLY_SET aOther) -> SHAPE_POLY_SET
Reimplemented from pcbnew.SHAPE.
Definition at line 5011 of file pcbnew.py.

| "int" pcbnew.SHAPE_POLY_SET.AddHole | ( | self, | |
| "SHAPE_LINE_CHAIN" | aHole, | ||
| "int" | aOutline = -1 |
||
| ) |
| "int" pcbnew.SHAPE_POLY_SET.AddOutline | ( | self, | |
| "SHAPE_LINE_CHAIN" | aOutline | ||
| ) |
| "int" pcbnew.SHAPE_POLY_SET.Append | ( | self, | |
| * | args | ||
| ) |
Append(SHAPE_POLY_SET self, int x, int y, int aOutline=-1, int aHole=-1, bool aAllowDuplication=False) -> int
Append(SHAPE_POLY_SET self, SHAPE_POLY_SET aSet)
Append(SHAPE_POLY_SET self, VECTOR2I aP, int aOutline=-1, int aHole=-1)
Append(SHAPE_POLY_SET self, SHAPE_ARC & aArc, int aOutline=-1, int aHole=-1) -> int
Definition at line 5089 of file pcbnew.py.

| "int" pcbnew.SHAPE_POLY_SET.ArcCount | ( | self | ) |
| "double" pcbnew.SHAPE_POLY_SET.Area | ( | self | ) |
| "BOX2I const" pcbnew.SHAPE_POLY_SET.BBox | ( | self, | |
| "int" | aClearance = 0 |
||
| ) |
BBox(SHAPE_POLY_SET self, int aClearance=0) -> BOX2I const
Reimplemented from pcbnew.SHAPE.
| "BOX2I const" pcbnew.SHAPE_POLY_SET.BBoxFromCaches | ( | self | ) |
| "void" pcbnew.SHAPE_POLY_SET.BooleanAdd | ( | self, | |
| * | args | ||
| ) |
| "void" pcbnew.SHAPE_POLY_SET.BooleanIntersection | ( | self, | |
| * | args | ||
| ) |
BooleanIntersection(SHAPE_POLY_SET self, SHAPE_POLY_SET b, SHAPE_POLY_SET::POLYGON_MODE aFastMode)
BooleanIntersection(SHAPE_POLY_SET self, SHAPE_POLY_SET a, SHAPE_POLY_SET b, SHAPE_POLY_SET::POLYGON_MODE aFastMode)
Definition at line 5266 of file pcbnew.py.

| "void" pcbnew.SHAPE_POLY_SET.BooleanSubtract | ( | self, | |
| * | args | ||
| ) |
| "void" pcbnew.SHAPE_POLY_SET.BuildBBoxCaches | ( | self | ) |
|
static |
| "void" pcbnew.SHAPE_POLY_SET.CacheTriangulation | ( | self, | |
| "bool" | aPartition = True |
||
| ) |
| "SHAPE_POLY_SET" pcbnew.SHAPE_POLY_SET.Chamfer | ( | self, | |
| "int" | aDistance | ||
| ) |
| "SHAPE_POLY_SET.POLYGON" pcbnew.SHAPE_POLY_SET.ChamferPolygon | ( | self, | |
| "unsigned int" | aDistance, | ||
| "int" | aIndex | ||
| ) |
| "SHAPE_LINE_CHAIN const &" pcbnew.SHAPE_POLY_SET.CHole | ( | self, | |
| "int" | aOutline, | ||
| "int" | aHole | ||
| ) |
| "SHAPE_POLY_SET.CONST_ITERATOR" pcbnew.SHAPE_POLY_SET.CIterate | ( | self, | |
| * | args | ||
| ) |
CIterate(SHAPE_POLY_SET self, int aFirst, int aLast, bool aIterateHoles=False) -> SHAPE_POLY_SET::CONST_ITERATOR
CIterate(SHAPE_POLY_SET self, int aOutline) -> SHAPE_POLY_SET::CONST_ITERATOR
CIterate(SHAPE_POLY_SET self) -> SHAPE_POLY_SET::CONST_ITERATOR
Definition at line 5199 of file pcbnew.py.

| "SHAPE_POLY_SET.CONST_SEGMENT_ITERATOR" pcbnew.SHAPE_POLY_SET.CIterateSegments | ( | self, | |
| * | args | ||
| ) |
CIterateSegments(SHAPE_POLY_SET self, int aFirst, int aLast, bool aIterateHoles=False) -> SHAPE_POLY_SET::CONST_SEGMENT_ITERATOR
CIterateSegments(SHAPE_POLY_SET self, int aPolygonIdx) -> SHAPE_POLY_SET::CONST_SEGMENT_ITERATOR
CIterateSegments(SHAPE_POLY_SET self) -> SHAPE_POLY_SET::CONST_SEGMENT_ITERATOR
Definition at line 5226 of file pcbnew.py.

| "SHAPE_POLY_SET.CONST_SEGMENT_ITERATOR" pcbnew.SHAPE_POLY_SET.CIterateSegmentsWithHoles | ( | self, | |
| * | args | ||
| ) |
| "SHAPE_POLY_SET.CONST_ITERATOR" pcbnew.SHAPE_POLY_SET.CIterateWithHoles | ( | self, | |
| * | args | ||
| ) |
| "void" pcbnew.SHAPE_POLY_SET.ClearArcs | ( | self | ) |
| "SHAPE *" pcbnew.SHAPE_POLY_SET.Clone | ( | self | ) |
Clone(SHAPE_POLY_SET self) -> SHAPE
Reimplemented from pcbnew.SHAPE.
Definition at line 5053 of file pcbnew.py.

| "bool" pcbnew.SHAPE_POLY_SET.Collide | ( | self, | |
| * | args | ||
| ) |
Collide(SHAPE_POLY_SET self, SHAPE aShape, int aClearance=0, int * aActual=None, VECTOR2I aLocation=None) -> bool
Collide(SHAPE_POLY_SET self, VECTOR2I aP, int aClearance=0, int * aActual=None, VECTOR2I aLocation=None) -> bool
Collide(SHAPE_POLY_SET self, SEG const & aSeg, int aClearance=0, int * aActual=None, VECTOR2I aLocation=None) -> bool
Reimplemented from pcbnew.SHAPE.
Definition at line 5351 of file pcbnew.py.

| "bool" pcbnew.SHAPE_POLY_SET.CollideEdge | ( | self, | |
| "VECTOR2I" | aPoint, | ||
| "SHAPE_POLY_SET::VERTEX_INDEX &" | aClosestVertex, | ||
| "int" | aClearance = 0 |
||
| ) |
| "bool" pcbnew.SHAPE_POLY_SET.CollideVertex | ( | self, | |
| "VECTOR2I" | aPoint, | ||
| "SHAPE_POLY_SET::VERTEX_INDEX &" | aClosestVertex, | ||
| "int" | aClearance = 0 |
||
| ) |
| "bool" pcbnew.SHAPE_POLY_SET.Contains | ( | self, | |
| "VECTOR2I" | aP, | ||
| "int" | aSubpolyIndex = -1, |
||
| "int" | aAccuracy = 0, |
||
| "bool" | aUseBBoxCaches = False |
||
| ) |
| "SHAPE_LINE_CHAIN const &" pcbnew.SHAPE_POLY_SET.COutline | ( | self, | |
| "int" | aIndex | ||
| ) |
| "SHAPE_POLY_SET.POLYGON const &" pcbnew.SHAPE_POLY_SET.CPolygon | ( | self, | |
| "int" | aIndex | ||
| ) |
| "VECTOR2I const &" pcbnew.SHAPE_POLY_SET.CVertex | ( | self, | |
| * | args | ||
| ) |
CVertex(SHAPE_POLY_SET self, int aIndex, int aOutline, int aHole) -> VECTOR2I
CVertex(SHAPE_POLY_SET self, int aGlobalIndex) -> VECTOR2I
CVertex(SHAPE_POLY_SET self, SHAPE_POLY_SET::VERTEX_INDEX aIndex) -> VECTOR2I
Definition at line 5102 of file pcbnew.py.

| "void" pcbnew.SHAPE_POLY_SET.Deflate | ( | self, | |
| * | args | ||
| ) |
| "void" pcbnew.SHAPE_POLY_SET.DeletePolygon | ( | self, | |
| "int" | aIdx | ||
| ) |
| "SHAPE_POLY_SET" pcbnew.SHAPE_POLY_SET.Fillet | ( | self, | |
| "int" | aRadius, | ||
| "int" | aErrorMax | ||
| ) |
| "SHAPE_POLY_SET.POLYGON" pcbnew.SHAPE_POLY_SET.FilletPolygon | ( | self, | |
| "unsigned int" | aRadius, | ||
| "int" | aErrorMax, | ||
| "int" | aIndex | ||
| ) |
| "std.string const" pcbnew.SHAPE_POLY_SET.Format | ( | self | ) |
Format(SHAPE_POLY_SET self) -> string
Reimplemented from pcbnew.SHAPE.
| "void" pcbnew.SHAPE_POLY_SET.Fracture | ( | self, | |
| "SHAPE_POLY_SET::POLYGON_MODE" | aFastMode | ||
| ) |
| "int" pcbnew.SHAPE_POLY_SET.FullPointCount | ( | self | ) |
| "void" pcbnew.SHAPE_POLY_SET.GetArcs | ( | self, | |
| "std::vector< SHAPE_ARC,std::allocator< SHAPE_ARC > > &" | aArcBuffer | ||
| ) |
| "bool" pcbnew.SHAPE_POLY_SET.GetGlobalIndex | ( | self, | |
| "SHAPE_POLY_SET::VERTEX_INDEX" | aRelativeIndices, | ||
| "int &" | aGlobalIdx | ||
| ) |
| "MD5_HASH" pcbnew.SHAPE_POLY_SET.GetHash | ( | self | ) |
| "size_t" pcbnew.SHAPE_POLY_SET.GetIndexableSubshapeCount | ( | self | ) |
GetIndexableSubshapeCount(SHAPE_POLY_SET self) -> size_t
Reimplemented from pcbnew.SHAPE_BASE.
| "void" pcbnew.SHAPE_POLY_SET.GetIndexableSubshapes | ( | self, | |
| "std::vector< SHAPE *,std::allocator< SHAPE * > > &" | aSubshapes | ||
| ) |
GetIndexableSubshapes(SHAPE_POLY_SET self, std::vector< SHAPE *,std::allocator< SHAPE * > > & aSubshapes)
Reimplemented from pcbnew.SHAPE_BASE.
| "bool" pcbnew.SHAPE_POLY_SET.GetNeighbourIndexes | ( | self, | |
| "int" | aGlobalIndex, | ||
| "int *" | aPrevious, | ||
| "int *" | aNext | ||
| ) |
| "bool" pcbnew.SHAPE_POLY_SET.GetRelativeIndices | ( | self, | |
| "int" | aGlobalIdx, | ||
| "SHAPE_POLY_SET::VERTEX_INDEX *" | aRelativeIndices | ||
| ) |
| "bool" pcbnew.SHAPE_POLY_SET.HasHoles | ( | self | ) |
| "bool" pcbnew.SHAPE_POLY_SET.HasIndexableSubshapes | ( | self | ) |
HasIndexableSubshapes(SHAPE_POLY_SET self) -> bool
Reimplemented from pcbnew.SHAPE_BASE.
| "bool" pcbnew.SHAPE_POLY_SET.HasTouchingHoles | ( | self | ) |
| "SHAPE_LINE_CHAIN &" pcbnew.SHAPE_POLY_SET.Hole | ( | self, | |
| "int" | aOutline, | ||
| "int" | aHole | ||
| ) |
| "int" pcbnew.SHAPE_POLY_SET.HoleCount | ( | self, | |
| "int" | aOutline | ||
| ) |
| "void" pcbnew.SHAPE_POLY_SET.Inflate | ( | self, | |
| * | args | ||
| ) |
| "void" pcbnew.SHAPE_POLY_SET.InflateWithLinkedHoles | ( | self, | |
| "int" | aFactor, | ||
| "int" | aCircleSegmentsCount, | ||
| "SHAPE_POLY_SET::POLYGON_MODE" | aFastMode | ||
| ) |
| "void" pcbnew.SHAPE_POLY_SET.InsertVertex | ( | self, | |
| "int" | aGlobalIndex, | ||
| "VECTOR2I" | aNewVertex | ||
| ) |
| "bool" pcbnew.SHAPE_POLY_SET.IsEmpty | ( | self | ) |
| "bool" pcbnew.SHAPE_POLY_SET.IsPolygonSelfIntersecting | ( | self, | |
| "int" | aPolygonIndex | ||
| ) |
| "bool" pcbnew.SHAPE_POLY_SET.IsSelfIntersecting | ( | self | ) |
| "bool" pcbnew.SHAPE_POLY_SET.IsSolid | ( | self | ) |
IsSolid(SHAPE_POLY_SET self) -> bool
Reimplemented from pcbnew.SHAPE.
| "bool" pcbnew.SHAPE_POLY_SET.IsTriangulationUpToDate | ( | self | ) |
| "bool" pcbnew.SHAPE_POLY_SET.IsVertexInHole | ( | self, | |
| "int" | aGlobalIdx | ||
| ) |
| "SHAPE_POLY_SET.ITERATOR" pcbnew.SHAPE_POLY_SET.Iterate | ( | self, | |
| * | args | ||
| ) |
Iterate(SHAPE_POLY_SET self, int aFirst, int aLast, bool aIterateHoles=False) -> SHAPE_POLY_SET::ITERATOR
Iterate(SHAPE_POLY_SET self, int aOutline) -> SHAPE_POLY_SET::ITERATOR
Iterate(SHAPE_POLY_SET self) -> SHAPE_POLY_SET::ITERATOR
Definition at line 5184 of file pcbnew.py.

| "SHAPE_POLY_SET.ITERATOR" pcbnew.SHAPE_POLY_SET.IterateFromVertexWithHoles | ( | self, | |
| "int" | aGlobalIdx | ||
| ) |
| "SHAPE_POLY_SET.SEGMENT_ITERATOR" pcbnew.SHAPE_POLY_SET.IterateSegments | ( | self, | |
| * | args | ||
| ) |
IterateSegments(SHAPE_POLY_SET self, int aFirst, int aLast, bool aIterateHoles=False) -> SHAPE_POLY_SET::SEGMENT_ITERATOR
IterateSegments(SHAPE_POLY_SET self, int aPolygonIdx) -> SHAPE_POLY_SET::SEGMENT_ITERATOR
IterateSegments(SHAPE_POLY_SET self) -> SHAPE_POLY_SET::SEGMENT_ITERATOR
Definition at line 5218 of file pcbnew.py.

| "SHAPE_POLY_SET.SEGMENT_ITERATOR" pcbnew.SHAPE_POLY_SET.IterateSegmentsWithHoles | ( | self, | |
| * | args | ||
| ) |
| "SHAPE_POLY_SET.ITERATOR" pcbnew.SHAPE_POLY_SET.IterateWithHoles | ( | self, | |
| * | args | ||
| ) |
| "void" pcbnew.SHAPE_POLY_SET.Mirror | ( | self, | |
| * | args | ||
| ) |
| "void" pcbnew.SHAPE_POLY_SET.Move | ( | self, | |
| "VECTOR2I" | aVector | ||
| ) |
Move(SHAPE_POLY_SET self, VECTOR2I aVector)
Reimplemented from pcbnew.SHAPE.
| "int" pcbnew.SHAPE_POLY_SET.NewHole | ( | self, | |
| "int" | aOutline = -1 |
||
| ) |
| "int" pcbnew.SHAPE_POLY_SET.NewOutline | ( | self | ) |
| "int" pcbnew.SHAPE_POLY_SET.NormalizeAreaOutlines | ( | self | ) |
| "SHAPE_LINE_CHAIN const &" pcbnew.SHAPE_POLY_SET.Outline | ( | self, | |
| * | args | ||
| ) |
| "int" pcbnew.SHAPE_POLY_SET.OutlineCount | ( | self | ) |
| "bool" pcbnew.SHAPE_POLY_SET.Parse | ( | self, | |
| "std::stringstream &" | aStream | ||
| ) |
Parse(SHAPE_POLY_SET self, std::stringstream & aStream) -> bool
Reimplemented from pcbnew.SHAPE.
| "bool" pcbnew.SHAPE_POLY_SET.PointOnEdge | ( | self, | |
| "VECTOR2I" | aP | ||
| ) |
| "SHAPE_POLY_SET.POLYGON const &" pcbnew.SHAPE_POLY_SET.Polygon | ( | self, | |
| * | args | ||
| ) |
| "void" pcbnew.SHAPE_POLY_SET.RemoveAllContours | ( | self | ) |
| "void" pcbnew.SHAPE_POLY_SET.RemoveContour | ( | self, | |
| "int" | aContourIdx, | ||
| "int" | aPolygonIdx = -1 |
||
| ) |
| "int" pcbnew.SHAPE_POLY_SET.RemoveNullSegments | ( | self | ) |
| "void" pcbnew.SHAPE_POLY_SET.RemoveVertex | ( | self, | |
| * | args | ||
| ) |
| "void" pcbnew.SHAPE_POLY_SET.Rotate | ( | self, | |
| * | args | ||
| ) |
Rotate(SHAPE_POLY_SET self, double aAngle, VECTOR2I aCenter={ 0, 0 })
Reimplemented from pcbnew.SHAPE.
| "void" pcbnew.SHAPE_POLY_SET.SetVertex | ( | self, | |
| * | args | ||
| ) |
| "void" pcbnew.SHAPE_POLY_SET.Simplify | ( | self, | |
| "SHAPE_POLY_SET::POLYGON_MODE" | aFastMode | ||
| ) |
| "SEG.ecoord" pcbnew.SHAPE_POLY_SET.SquaredDistance | ( | self, | |
| * | args | ||
| ) |
| "SEG.ecoord" pcbnew.SHAPE_POLY_SET.SquaredDistanceToPolygon | ( | self, | |
| * | args | ||
| ) |
SquaredDistanceToPolygon(SHAPE_POLY_SET self, VECTOR2I aPoint, int aIndex, VECTOR2I aNearest) -> SEG::ecoord
SquaredDistanceToPolygon(SHAPE_POLY_SET self, SEG const & aSegment, int aIndex, VECTOR2I aNearest) -> SEG::ecoord
Definition at line 5433 of file pcbnew.py.

| "SHAPE_POLY_SET" pcbnew.SHAPE_POLY_SET.Subset | ( | self, | |
| "int" | aFirstPolygon, | ||
| "int" | aLastPolygon | ||
| ) |
| "int" pcbnew.SHAPE_POLY_SET.TotalVertices | ( | self | ) |
| "unsigned int" pcbnew.SHAPE_POLY_SET.TriangulatedPolyCount | ( | self | ) |
| "SHAPE_POLY_SET.TRIANGULATED_POLYGON const *" pcbnew.SHAPE_POLY_SET.TriangulatedPolygon | ( | self, | |
| "int" | aIndex | ||
| ) |
| "void" pcbnew.SHAPE_POLY_SET.Unfracture | ( | self, | |
| "SHAPE_POLY_SET::POLYGON_MODE" | aFastMode | ||
| ) |
| "SHAPE_POLY_SET" pcbnew.SHAPE_POLY_SET.UnitSet | ( | self, | |
| "int" | aPolygonIndex | ||
| ) |
| "int" pcbnew.SHAPE_POLY_SET.VertexCount | ( | self, | |
| "int" | aOutline = -1, |
||
| "int" | aHole = -1 |
||
| ) |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |