Primitives#

These PREP7 commands are used to create primitive shapes for modeling.

Mapdl.blc4([xcorner, ycorner, width, ...])

Creates a rectangular area or block volume by corner points.

Mapdl.blc5([xcenter, ycenter, width, ...])

Create a rectangular area or block volume by center and corner points.

Mapdl.block([x1, x2, y1, y2, z1, z2])

Create a block volume based on working plane coordinates.

Mapdl.con4([xcenter, ycenter, rad1, rad2, depth])

Create a conical volume anywhere on the working plane.

Mapdl.cone([rbot, rtop, z1, z2, theta1, theta2])

Create a conical volume centered about the working plane origin.

Mapdl.cyl4([xcenter, ycenter, rad1, theta1, ...])

Creates a circular area or cylindrical volume anywhere on the working plane.

Mapdl.cyl5([xedge1, yedge1, xedge2, yedge2, ...])

Create a circular area or cylindrical volume by end points.

Mapdl.cylind([rad1, rad2, z1, z2, theta1, ...])

Create a cylindrical volume centered about the working plane origin.

Mapdl.pcirc([rad1, rad2, theta1, theta2])

Create a circular area centered about the working plane origin.

Mapdl.poly(**kwargs)

Creates a polygonal area based on working plane coordinate pairs.

Mapdl.pri2([p51x, z1, z2])

Creates a polygonal area or a prism volume by vertices (GUI).

Mapdl.prism([z1, z2])

Creates a prism volume based on working plane coordinate pairs.

Mapdl.ptxy([x1, y1, x2, y2, x3, y3, x4, y4])

Defines coordinate pairs for use in polygons and prisms.

Mapdl.rectng([x1, x2, y1, y2])

Create a rectangular area anywhere on the working plane.

Mapdl.rpoly([nsides, lside, majrad, minrad])

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

Mapdl.rpr4([nsides, xcenter, ycenter, ...])

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

Mapdl.rprism([z1, z2, nsides, lside, ...])

Creates a regular prism volume centered about the working plane origin.

Mapdl.sph4([xcenter, ycenter, rad1, rad2])

Create a spherical volume anywhere on the working plane.

Mapdl.sph5([xedge1, yedge1, xedge2, yedge2])

Create a spherical volume by diameter end points.

Mapdl.sphere([rad1, rad2, theta1, theta2])

Create a spherical volume centered about the working plane origin.

Mapdl.torus([rad1, rad2, rad3, theta1, theta2])

Create a toroidal volume.