Fix ReconstructMesh segfault

pull/1690/head
Piero Toffanin 2023-08-23 09:23:32 -04:00
rodzic 3fc46a1e04
commit f4549846de
1 zmienionych plików z 2 dodań i 0 usunięć

Wyświetl plik

@ -123,6 +123,7 @@ def dem_to_mesh_gridded(inGeotiff, outMesh, maxVertexCount, maxConcurrency=1):
system.run('"{reconstructmesh}" -i "{infile}" '
'-o "{outfile}" '
'--archive-type 3 '
'--remove-spikes 0 --remove-spurious 0 --smooth 0 '
'--target-face-num {max_faces} -v 0'.format(**cleanupArgs))
@ -199,6 +200,7 @@ def screened_poisson_reconstruction(inPointCloud, outMesh, depth = 8, samples =
system.run('"{reconstructmesh}" -i "{infile}" '
'-o "{outfile}" '
'--archive-type 3 '
'--remove-spikes 0 --remove-spurious 20 --smooth 0 '
'--target-face-num {max_faces} -v 0'.format(**cleanupArgs))