rpoly

Mapdl.rpoly(nsides='', lside='', majrad='', minrad='', **kwargs)

Creates a regular polygonal area centered about the working plane origin.

APDL Command: RPOLY

Defines a regular polygonal area on the working plane. The polygon will be centered about the working plane origin, with the first keypoint defined at : θ = 0°. The area will be defined with NSIDES keypoints and NSIDES lines. See the RPR4 and POLY commands for other ways to create polygons.

Parameters
nsides

Number of sides in the regular polygon. Must be greater than 2.

lside

Length of each side of the regular polygon.

majrad

Radius of the major (or circumscribed) circle of the polygon. Not used if LSIDE is input.

minrad

Radius of the minor (or inscribed) circle of the polygon. Not used if LSIDE or MAJRAD is input.