The test points inside mesh fails with my mesh. What am i missing ?
Thanks for the feedback
point_in_mesh.gh (135.9 KB)
The test points inside mesh fails with my mesh. What am i missing ?
Thanks for the feedback
point_in_mesh.gh (135.9 KB)
Here a little test
It is OK if points slightly moved, and mesh unwelded
Some errors if not unwelded
OK if slightly moved, deconstruct and reconstruct
So as a workaround
Unweld, move slightly the points in order to not tangent some faces. Perhaps move multiple times and take just the points that are inside 100 % of the time or xx%.
thanks Laurent. I am curious what led you to try these ‘solutions’ , i fail to see the rhino logic why one should do these step in the first place. I used the component before and never had issues. And this seems like a basic mesh.
and shouldn’t this components just do what it is suppose to do
I just tested some ideas, I though your mesh has some kind of problem, it seems I was wrong.
This is a good mesh.
General information about this mesh:
Mesh does not have any degenerate faces.
Mesh does not have any n-gons.
Mesh does not have any extremely short edges.
Mesh does not have any non manifold edges.
Mesh does not have any naked edges.
Mesh does not have any duplicate faces.
Mesh does not have any faces with directions different from the mesh as a whole.
Mesh does not have any self intersecting faces.
Mesh does not have any disjoint pieces.
Mesh does not have any unused vertices.
but Geometry:
Valid mesh.
Open polygon mesh: 1453 vertices, 2218 faces with normals
Bounding box: (-61.521,-62.353,0.000) to (58.533,56.233,70.000)
??? but no naked edge
But you are correct it mustn’t happen. But has it happens we must continue to work. I also have some problem with Ray3d and Mesh point so I developed some workaround, I fire Rays in different direction around a cone expanding if not touch. I quite always work with triangular mesh as I have problem with MeshPoint and quad.
I use Dendro because boolean are not always fast enough. I developed a mesh cutter because in Rh7 it was not good.
Mesh has many improvement in R8 (Quadremesh from Zbrush, Shrinkwrap, better cutting tool …) but still annoying problems.
point_in_mesh2.gh (142.5 KB)
when i try it with different meshes it works, seems the original breps are the cause for some reason, maybe resulting is faulty mesh