LegacyGeometry#
- class ansys.mapdl.core.mapdl_geometry.LegacyGeometry(mapdl)#
Legacy Pythonic representation of the MAPDL CAD geometry.
This class contains advanced methods for extending geometry building and selection within MAPDL.
Methods
LegacyGeometry.area_select
(items[, ...])Select areas using a sequence of items.
LegacyGeometry.areas
([quality, merge])List of areas from MAPDL represented as a
pyvista.PolyData
object.LegacyGeometry.generate_surface
([density, ...])Generate an all-triangular surface of the active surfaces.
LegacyGeometry.get_areas
([quality, ...])Get active areas from MAPDL represented as
pyvista.PolyData
or a list ofpyvista.UnstructuredGrid
.Get the number of elements meshed for each area.
LegacyGeometry.get_keypoints
([...])Obtain the keypoints geometry.
LegacyGeometry.get_lines
([return_as_list])Obtain line geometry
LegacyGeometry.get_volumes
([return_as_list, ...])Get active volumes from MAPDL represented as a
pyvista.PolyData
object or a list ofpyvista.UnstructuredGrid
objects.LegacyGeometry.keypoint_select
([items, ...])Select keypoints using a sequence of items.
Keypoint coordinates.
LegacyGeometry.line_select
(items[, ...])Select lines using a sequence of items.
Active lines as a
pyvista.PolyData
object.LegacyGeometry.volume_select
(items[, ...])Select volumes using a sequence of items.
Attributes
Array of area numbers.
Array of keypoint numbers.
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.
Obtain the volumes geometry