From f4549846deeaa51c3a53716107cccd4f6471db77 Mon Sep 17 00:00:00 2001 From: Piero Toffanin Date: Wed, 23 Aug 2023 09:23:32 -0400 Subject: [PATCH] Fix ReconstructMesh segfault --- opendm/mesh.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/opendm/mesh.py b/opendm/mesh.py index 58e943784..e8e676c8b 100644 --- a/opendm/mesh.py +++ b/opendm/mesh.py @@ -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))