Polygon¶
-
class
kicad.primitives.
Polygon
¶
-
class
kicad.primitives.
PolygonSet
(poly_set=None)¶ -
difference
(other)¶ Performs boolean PolygonSet difference
Parameters: other ( kicad.primitives.PolygonSet
) – second operand of difference operation
-
fracture
()¶ Converts a set of polygons with holes to a singe outline with slits/fractures connecting the outer ring to the inner holes
-
get_native
()¶ Get native object from the low level API :return:
pcbnew.SHAPE_POLY_SET
-
intersection
(other)¶ Performs boolean PolygonSet intersection
Parameters: other ( kicad.primitives.PolygonSet
) – second operand of intersection operation
-
unfracture
()¶ Converts a single outline slitted (‘fractured’) polygon into a set of outlines with holes
-
union
(other)¶ Performs boolean PolygonSet union
Parameters: other ( kicad.primitives.PolygonSet
) – second operand of union operation
-