rpr4#

Primitives.rpr4(nsides='', xcenter='', ycenter='', radius='', theta='', depth='', **kwargs)#

Creates a regular polygonal area or prism volume anywhere on the working plane.

Mechanical APDL Command: RPR4

Parameters:
nsidesstr

The number of sides in the polygon or prism face. Must be greater than 2.

xcenterstr

Working plane X and Y coordinates of the center of the polygon or prism face.

ycenterstr

Working plane X and Y coordinates of the center of the polygon or prism face.

radiusstr

Distance (major radius) from the center to a vertex of the polygon or prism face (where the first keypoint is defined).

thetastr

Angle (in degrees) from the working plane X-axis to the vertex of the polygon or prism face where the first keypoint is defined. Used to orient the polygon or prism face. Defaults to zero.

depthstr

The perpendicular distance (either positive or negative based on the working plane Z direction) from the working plane representing the depth of the prism. If DEPTH = 0 (default), a polygonal area is created on the working plane.

Notes

Defines a regular polygonal area anywhere on the working plane or prism volume with one face anywhere on the working plane. The top and bottom faces of the prism are polygonal areas. See the rpoly, poly, rprism, and prism commands for other ways to create polygons and prisms.