POLY
POLY, poly_name, b_opt, body_nr, mat_nr, layer_nr, x1, y1, x2, y2, ... xn, yn; orient_ang;
Creates a polygonal primitive for mass bodies or anchors
Input Data⚓︎
| Parameter | Description |
|---|---|
poly_name |
Reference name of the primitive (can be empty) → Alphanumeric name, has to start with a letter |
b_opt |
Type of the Boolean operation add → Add a primitive to the mass body or anchor sub → Subtract a primitive from a mass body or anchor |
body_nr |
Reference number of related mass body or anchor → If 0 → The primitive is related to anchors → If > 0 → The primitive is related to the specified mass body |
mat_nr |
Reference number of the material properties → Use existing material properties only (see MATP command) |
layer_nr |
Layer number (the current version supports only one layer) → If empty, the primitive is part of the first layer |
x1 |
First x-Coordinate of the primitive |
y1 |
First y-Coordinate of the primitive |
x2 |
Second x-coordinate of the primitive |
y2 |
Second y-coordinate of the primitive |
... |
Further pairs of x-y-coordinates |
xn |
n-th x-coordinate of the primitive |
yn |
n-th y-coordinate of the primitive |
orient_ang |
Orientation angle in degrees at the connecting point: 0 ≤ orient_ang < 360 |

Figure 1. Dimensional parameters of a polygonal primitive