geometry polygon create command

Syntax

geometry polygon create keyword ...

Primary keywords:

by-edges    by-nodes    by-positions

Create a polygon. A list of edges, a list of nodes or a list of points in space can be input. If an edge list is used, the edges must be given in order and form a closed polygon. If a node list is used, edges are created if none are found, and the polygon is automatically closed. If a position list is used, nodes and edges are created if none are found, and the polygon is automatically closed. A warning results if the polygon is not planar or is not convex. If an extrude vector is provided, then the polygon will be extruded along that vector, resulting in a closed volume of polygonal surfaces.

by-edges i1 i2 <keyword> [polycreateoptions]

List of edge IDs that belong to the polygon. The IDs must be ordered such that the edges form a closed polygon.

by-nodes i1 i2 <keyword> [polycreateoptions]

List of node IDs that belong to the polygon. Edges are created if none are found, and the polygon is automatically closed.

by-positions v1 v2 <keyword> [polycreateoptions]

List of nodal positions that belong to the polygon. Nodes and edges are created if none are found, and the polygon is automatically closed.

Block of Common Options for Polygon Creation

The following keywords may be used to modify the commands: by-edges, by-nodes and by-positions.

extrude v

will create polygon and “extrude” in the direction supplied.

extra i a

Optionally assign the extra variable a to index i.

group s1 <slot s2 >

Optionally assign the group name s1 to slot s2 (optional).