Hello Alexei, this is my output when trying from the API:
ImportPoints: path = /workspace/data/Gray/ms_images_replaced_filtered_all.ply, format = PointsFormatPLY
Working in temporary directory /tmp/import_points.tmp.Zxj9b8
Importing point cloud in memory. Save project in .psx format for big file import.
Analyzing points...
processing 1715416 points...
Importing points...
processing 1715416 points...
Peak memory used: 74.77 MB at 2021-07-15 01:54:43
SaveProject: path = /workspace/data/Gray/ms_images_dense.psz
saved project in 0.700668 sec
BuildModel: source data = Dense cloud, surface type = Arbitrary, face count = High, interpolation = Enabled, vertex colors = 1
Grid size: 1148 x 1148 x 1148
Tree depth: 11
Tree set in 2.42821s (0 points)
Leaves/Nodes: 32768/37449
Traceback (most recent call last):
File "/workspace/aseeo-research/depth_debug/metashape_build_from_pointcloud.py", line 63, in <module>
chunk.buildModel(surface_type=Metashape.Arbitrary, source_data=Metashape.DenseCloudData, interpolation=Metashape.EnabledInterpolation)
Exception: Empty surface