create_polygon_patch¶
- opstool.pre.section.create_polygon_patch(outline, holes=None, material=None)[source]¶
Add a polygon plane geom object.
Parameters¶
- outlinelist[list[float, float]]
The coords list of polygon points, [(x1, y1), (x2, y2),…,(xn, yn)]
- holes: list[list[list[float, float]]].
Hole of the section, a list of multiple hole coords, [hole1, hole2,…holeN], holeN=[(x1, y1), (x2, y2),…,(xn, yn)].
- material: material obj
The instance from
opstool.pre.section.create_material()
Returns¶
- geometry:
- Geometry in
sectionproperties.