Hi, I made a tool that project points onto meshes but the results are wrong if the point is close to an edge, both interal and external.
Here all results that give more than one intersected is higlighted in red. The big problem here is that either one of them or both of then are NOT on the mesh.
The File Tolerance is 0.01 meters (1 cm) and if I set it to 0.0001 then I get a good result.
But why is a lower (default) tolerance throwing these errors? If the intersectionresults were within the tolerance then it would be OK, but they are not, some are over 1 METER above the mesh.
rs.ProjectPointToMesh() internally uses the absolute model tolerance and does not allow to define a different one. I do not know why the points are exeeding your tolerance of 0.01 meters.
Hi @clement, you’re talking about the Rhino 5 help file right? It’s in the pointvector module in the online help and the new local help file that I’ve been working on.