ansys.mapdl.core.Mapdl.rpr4#
- Mapdl.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:
- nsides
str The number of sides in the polygon or prism face. Must be greater than 2.
- xcenter
str Working plane X and Y coordinates of the center of the polygon or prism face.
- ycenter
str Working plane X and Y coordinates of the center of the polygon or prism face.
- radius
str Distance (major radius) from the center to a vertex of the polygon or prism face (where the first keypoint is defined).
- theta
str 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.
- depth
str 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.
- nsides
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.