Learn how to fill a hole on a surface mesh.
- Surface Meshes with Holes
- Scanned Meshes with gaps and missing surfaces
1. Start with a Mesh that has a hole in its surface.
2. Use the Implicit Body from Mesh block to convert the Bad Mesh.
- By converting the Mesh to the Implicit Body, the body will attempt to generate in the missing area of the mesh.
3. Create a Voxel Grid using the Voxel Grid from Mesh block.
4. Use the Implicit Body from Voxel Grid block to create a solid body with the hole patched.
- When the Voxel Grid is created, it offsets on the surface of the mesh; therefore, use the Offset Body block to compensate for this.
5. The final step is to convert the Implicit Body to a Mesh.
And that’s it! You’ve successfully filled a hole in a Mesh.
Smoothing the patch:
If the patch has a lot of unwanted texture, you can smooth it out by following these steps:
1. Create a smaller hole using the Remove Mesh Faces by Body block. A smaller hole allows for less variation when filling it.
2. Then repeat the hole filling process as explained above.
By repeating this process multiple times and adjusting the hole location, you can achieve a smoother result.
Are you still having issues? Contact the support team, and we’ll be happy to help!