Skip to content

Commit

Permalink
Merge pull request #1690 from pierotofy/mvsup
Browse files Browse the repository at this point in the history
Fix ReconstructMesh segfault
  • Loading branch information
pierotofy authored Aug 23, 2023
2 parents f5604a0 + f454984 commit ebba01a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions opendm/mesh.py
Original file line number Diff line number Diff line change
Expand Up @@ -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))

Expand Down Expand Up @@ -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))

Expand Down

0 comments on commit ebba01a

Please sign in to comment.