Skip to content

Commit

Permalink
Fix ReconstructMesh segfault
Browse files Browse the repository at this point in the history
  • Loading branch information
pierotofy committed Aug 23, 2023
1 parent 3fc46a1 commit f454984
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 f454984

Please sign in to comment.