You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The text was updated successfully, but these errors were encountered:
alchi86
changed the title
ply files containing point cloud only are correctly loaded using load and not load_mesh since version >=4.6.0
ply files, containing point cloud only, are correctly loaded using load and not load_mesh since version >=4.6.0
Feb 7, 2025
Hey, yeah since load_mesh -> Trimesh is now typed it only returns a trimesh, and will fail unit tests if it returns any other type. load is fine to keep using as there are no plans to remove it, or for new work you could use trimesh.load_scene and then checking what types of geometry the file contained.
When trying to load a ply file containing point cloud only load_mesh is returning <trimesh.Trimesh(vertices.shape=(0, 3), faces.shape=(0, 3))>.
Using the deprecated load I obtain <trimesh.PointCloud(vertices.shape=(3712, 3))>
python3.12, numpy==2.2.2
test_2.zip
The text was updated successfully, but these errors were encountered: