Skip to content

Commit ebba01a

Browse files
authored
Merge pull request #1690 from pierotofy/mvsup
Fix ReconstructMesh segfault
2 parents f5604a0 + f454984 commit ebba01a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

opendm/mesh.py

+2
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,7 @@ def dem_to_mesh_gridded(inGeotiff, outMesh, maxVertexCount, maxConcurrency=1):
123123

124124
system.run('"{reconstructmesh}" -i "{infile}" '
125125
'-o "{outfile}" '
126+
'--archive-type 3 '
126127
'--remove-spikes 0 --remove-spurious 0 --smooth 0 '
127128
'--target-face-num {max_faces} -v 0'.format(**cleanupArgs))
128129

@@ -199,6 +200,7 @@ def screened_poisson_reconstruction(inPointCloud, outMesh, depth = 8, samples =
199200

200201
system.run('"{reconstructmesh}" -i "{infile}" '
201202
'-o "{outfile}" '
203+
'--archive-type 3 '
202204
'--remove-spikes 0 --remove-spurious 20 --smooth 0 '
203205
'--target-face-num {max_faces} -v 0'.format(**cleanupArgs))
204206

0 commit comments

Comments
 (0)