Primitives#

class ansys.mapdl.core._commands.prep7.primitives.Primitives#

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

Creates a rectangular area or block volume by corner points.

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

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

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

Creates a block volume based on working plane coordinates.

Primitives.con4([xcenter, ycenter, rad1, ...])

Creates a conical volume anywhere on the working plane.

Primitives.cone([rbot, rtop, z1, z2, ...])

Creates a conical volume centered about the working plane origin.

Primitives.cyl4([xcenter, ycenter, rad1, ...])

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

Primitives.cyl5([xedge1, yedge1, xedge2, ...])

Creates a circular area or cylindrical volume by end points.

Primitives.cylind([rad1, rad2, z1, z2, ...])

Creates a cylindrical volume centered about the working plane origin.

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

Creates a circular area centered about the working plane origin.

Primitives.poly(**kwargs)

Creates a polygonal area based on working plane coordinate pairs.

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

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

Primitives.prism([z1, z2])

Creates a prism volume based on working plane coordinate pairs.

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

Defines coordinate pairs for use in polygons and prisms.

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

Creates a rectangular area anywhere on the working plane.

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

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

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

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

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

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

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

Creates a spherical volume anywhere on the working plane.

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

Creates a spherical volume by diameter end points.

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

Creates a spherical volume centered about the working plane origin.

Primitives.torus([rad1, rad2, rad3, theta1, ...])

Creates a toroidal volume.