point_cloud#
- ModelPlotter.point_cloud(points: int = 10, in_volume=False) dict#
Generate point cloud with available objects.
- Parameters:
- Returns:
dictDictionary containing the point cloud for each object. Each entry has the object name as the key and a list with two elements: the path to the output
.ptsfile and thepyvista.PolyDataobject.
Examples
>>> from ansys.aedt.core.visualization.plot.pyvista import ModelPlotter >>> obj = ModelPlotter() >>> obj.point_cloud(points=[0, 0, 0])