femm_draw_polygon
Draws a polygon from coordinate points in a FEMM model, connecting nodes and closing the loop by default, then returns its vertex centroid for use as a block label.
Instructions
Polygon through [[x, y], ...]: nodes + segments, closed back to the first point by default. Returns the vertex centroid (a block-label candidate only if the polygon is convex).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| closed | No | ||
| points | Yes | ||
| session | No | main |