vext#

Mapdl.vext(na1='', na2='', ninc='', dx='', dy='', dz='', rx='', ry='', rz='', **kwargs)[source]#

Generate additional volumes by extruding areas.

APDL Command: VEXT

Parameters:
na1, na2, ninc

Set of areas (NA1 to NA2 in steps of NINC) that defines the pattern to be extruded. NA2 defaults to NA1, NINC defaults to 1. If NA1 = ALL, NA2 and NINC are ignored and the pattern is defined by all selected areas. A component name may also be substituted for NA1 (NA2 and NINC are ignored).

dx, dy, dz

Increments to be applied to the X, Y, and Z keypoint coordinates in the active coordinate system (DR, Dθ, DZ for cylindrical; DR, Dθ, DΦ for spherical).

rx, ry, rz

Scale factors to be applied to the X, Y, and Z keypoint coordinates in the active coordinate system (RR, Rθ, RZ for cylindrical; RR, Rθ, RΦ for spherical). Note that the Rθ and RΦ scale factors are interpreted as angular offsets. For example, if CSYS = 1, RX, RY, RZ input of (1.5,10,3) would scale the specified keypoints 1.5 times in the radial and 3 times in the Z direction, while adding an offset of 10 degrees to the keypoints. Zero, blank, or negative scale factor values are assumed to be 1.0. Zero or blank angular offsets have no effect.

Returns:
str

MAPDL command output.

Return type:

str

Examples

Create a basic cylinder by extruding a circle.

>>> k0 = mapdl.k("", 0, 0, 0)
>>> k1 = mapdl.k("", 0, 0, 1)
>>> k2 = mapdl.k("", 0, 0, 0.5)
>>> carc0 = mapdl.circle(k0, 1, k1)
>>> a0 = mapdl.al(*carc0)
>>> mapdl.vext(a0, dz=4)

Create a tapered cylinder.

>>> mapdl.vdele('all')
>>> mapdl.vext(a0, dz=4, rx=0.3, ry=0.3, rz=1)