-
Notifications
You must be signed in to change notification settings - Fork 80
Description
Reported by
Kevin G. McIver
Graduate Assistant, Honors College of Engineering
Sloan Indigenous Graduate Scholar
Mechanical Engineering
Dr. Fang,
The error documented here is an inconsistency between the surfaces generated with CGAL using the meshresample tool when aggressively resampling a surface from an image. If the isosurface command is used to make the surface, the resample command is almost always inconsistent Windows to Linux. If you use a value of around .7 for the keepratio MATLAB to Linux consistency is possible using the v2s command and the ‘simplify’ subroutine.
Using the ‘cgalmesh’ method results in random numbers of faces and vertices based on the image every time, I saw a forum post of you from ~2015 attempting to solve that, I find myself wondering if you were ever able to solve it?
The surfboolean command, given the same input also still results in a slightly different surface mesh.
Another note, is that the surface smoothing function is also guilty of causing small differences given the same input Linux to Windows.
Thank you for this codebase, it’s exceptionally helpful, and provides great functionality for creating STLs from image geometry.
Best,
Kevin G. McIver
Testing data
ExampleError.zip