diffCheckOrg / diffCheck

diffCheck is a CAD-integrated tool for evaluating digital timber fabrication processes.
https://diffcheckorg.github.io/diffCheck/
GNU General Public License v3.0
7 stars 2 forks source link

distances are different when toggling i_swap in DFCloudMeshDistance #132

Open DamienGilliard opened 3 weeks ago

DamienGilliard commented 3 weeks ago

When toggling the i_swap, the calculated distances are very different + the faces with the error are not the same: values ranging from 0.5 to 8 mm: image

values ranging from 12.5 to 24.7mm: image

eleniv3d commented 3 weeks ago

@DamienGilliard When coloring the mesh, I guess the problem is we are calculating the distance from the vertices of the mesh to the closest point on the pcd so in case there is a big part of the pcd missing we get bigger values..