pysdic.PointCloud.from_meshio#
- classmethod PointCloud.from_meshio(mesh, *, load_properties=True)[source]#
Create a point cloud from the vertices of a
meshio.Mesh.The cells are ignored and the properties are read from the point data (their data types are kept).
- Parameters:
mesh (
meshio.Mesh) – The mesh to read.load_properties (bool, optional (default:
True)) – If False, the point data are ignored.
- Returns:
The new point cloud.
- Return type: