Geometry#
- class ansys.mapdl.core.mapdl_geometry.Geometry(mapdl)[source]#
Pythonic representation of MAPDL CAD geometry
Contains advanced methods to extend geometry building and selection within MAPDL.
Methods
Geometry.area_select
(items[, sel_type, ...])Select areas using a sequence of items.
Geometry.areas
([quality, merge])List of areas from MAPDL represented as
pyvista.PolyData
.Geometry.generate_surface
([density, amin, ...])Generate an all-triangular surface of the active surfaces.
Geometry.keypoint_select
(items[, sel_type, ...])Select keypoints using a sequence of items.
Geometry.line_select
(items[, sel_type, ...])Select lines using a sequence of items.
Geometry.volume_select
(items[, sel_type, ...])Select volumes using a sequence of items.
Attributes
Array of area numbers.
Keypoint coordinates
Array of keypoint numbers.
Active lines as a pyvista.PolyData
Array of line numbers.
Number of areas currently selected.
Number of keypoints currently selected.
Number of lines currently selected.
Number of volumes currently selected.
Array of volume numbers.