How to patch a mesh hole

Objective:

Learn how to fill a hole on a surface mesh. 

 

Applies to:

  • Surface Meshes with Holes
  • Scanned Meshes with gaps and missing surfaces

Procedure:

1. Start with a Mesh that has a hole in its surface. 

Bad_Mesh.jpg

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. 

Implicit_and_Voxel.jpg

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.

Offset_Body.jpg

 

5. The final step is to convert the Implicit Body to a Mesh.

Final_Mesh.jpg

 

And that’s it! You’ve successfully filled a hole in a Mesh

 

Smoothing the patch:

mceclip0.pngIf 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. 

mceclip1.png

 

2. Then repeat the hole filling process as explained above. 

mceclip2.png

 

By repeating this process multiple times and adjusting the hole location, you can achieve a smoother result.

mceclip3.png

 

Are you still having issues? Contact the support team, and we’ll be happy to help!

Download the Example file:

More on this topic:

Keywords:

 mesh fill scan how-to hole patch surface mesh scanned mesh 
Was this article helpful?

Comments

0 comments

Please sign in to leave a comment.