ansys.mapdl.core.Mapdl.blc4#
- Mapdl.blc4(xcorner='', ycorner='', width='', height='', depth='', **kwargs)#
Creates a rectangular area or block volume by corner points.
Mechanical APDL Command: BLC4
- Parameters:
- xcorner
str Working plane X and Y coordinates of one corner of the rectangle or block face.
- ycorner
str Working plane X and Y coordinates of one corner of the rectangle or block face.
- width
str The distance from
XCORNERon or parallel to the working plane X-axis that, together withYCORNER, defines a second corner of the rectangle or block face.- height
str The distance from
YCORNERon or parallel to the working plane Y-axis that, together withXCORNER, defines a third corner of the rectangle or block face.- 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 block. If
DEPTH= 0 (default), a rectangular area is created on the working plane.
- xcorner
- Returns:
intVolume or area number of the block or rectangle.
Notes
Defines a rectangular area anywhere on the working plane or a hexahedral volume with one face anywhere on the working plane. A rectangle will be defined with four keypoints and four lines. A volume will be defined with eight keypoints, twelve lines, and six areas, with the top and bottom faces parallel to the working plane. See the blc5, rectng, and block commands for alternate ways to create rectangles and blocks.
Examples
Create a block with dimensions 1 x 2 x 10 with one corner of the block at (0, 0) of the current working plane.
>>> vnum = mapdl.blc4(1, 1, 1, 2, 10) >>> vnum 1