create_polygon_points

opstool.pre.section.create_polygon_points(start=(0.0, 0.0), incrs=None, close=False)[source]

Create a polygon points.

Parameters

startlist[float, float]

The start point, [x0, y0].

incrslist[list[float, float]], default=None

The increment points, [[dx1, dy1], [dx2, dy2],…,[dxn, dyn]].

closebool, default=False

Close the polygon or not.

Returns

points: list[list[float, float]]

coord points on the polygon line.