Cap Holes and Fill Gaps

Use the Cap tools to close openings and gaps between parts/surfaces.

The Cap tools work for tessellated geometry. If the input is b-spline geometry, first convert to discrete geometry using the Convert tool.

Cap Holes

To prepare for wrap and get a manifold model, it is good practice to close openings like pipe ends and cover unnecessary features like slots so that they are not captured in wrap results, as they are not useful for analysis. The Cap: Holes tool provides the capability to automatically or interactively create caps or patches.

  1. From the Discrete ribbon, click the Cap > Holes tool.


    Figure 1.
  2. Perform automatic capping.
    1. On the guide bar, switch the selector to Parts/Surfaces.
    2. Select parts/surfaces.
    3. Optional: On the guide bar, click to define cap options.
      Consider feature loops
      Consider both free edge loops and feature edge loops. To prepare input for wrapping, keep this option on – which closes openings to avoid leaks.
      Patch in separate collector
      Organize newly created patches in a separate part.
      Remesh after cap
      Remesh neighboring regions of capped surfaces. Turn on if the input has good quality mesh.
      During remeshing, element size, type, and order is determined by the surrounding elements' size and type.
    4. Define the maximum patch width.
      Tip: Measure the hole length you want to close and define it as max width.
    5. Click Cap on the guide bar to fill holes.
    6. Review patches and delete any surface patches that are not required.


    Figure 2.
  3. Perform interactive capping.
    1. On the guide bar, switch the selector to Lines/Nodes.
    2. Select lines/nodes.
      Since the created caps do not need to be conformal, you can select any nodes or lines that cover openings.
    3. Optional: On the guide bar, click to define cap options.
    4. Click Cap on the guide bar to fill caps.


    Figure 3.

Fill Gaps

  1. From the Discrete ribbon, click the Cap > Gap tool.
    Figure 4.
  2. Select source and target geometry between which to close gaps.
    Note: Part and Surface selection is more user friendly – but it will only create a patch if the resulting patch is not intersecting with input. So if gap patching fails, switch to line selection.
  3. Optional: On the guide bar, click to define cap options.
    Remesh patches
    Remesh patches based on the surrounding element size.
    Organize patch in adjacent body
    If on, created patches are organized in the same part as their surroundings.
  4. Optional: Check Consider features to consider both free edge loops and feature edge loops.
    To prepare input for wrapping, keep this option on – which closes openings to avoid leaks.
  5. Enter the maximum dimension of holes to fill.
  6. Click Gap Patch on the guide bar to close gaps.