Rocscience International Conference 2025 is going to take place in Sydney, Australia Read more

Search Results

Repair Geometry

This option allows users to fix the geometry problems on the selected entities. It is recommended to perform both simplify and repair on any imported geometry for fast and reliable compute and analysis results.

It repairs five (5) categories of geometry defects:

  • Near-Degenerate
  • Holes
  • Near-Folding
  • Self-Intersections
  • Non-Manifold

The Geometry Repair tool is the last step of the Import Geometry process (Geometry > Import / Export > Import Geometry). After selecting the entities to import on the Filter Entities step, users will see a new Repair Entities dialog displaying entities in the selected geometry with defects, organized by category. The selected entities will also be visible in the 3D view, with defects colour-coded by category.

The Repair tool is also accessible from the Geometry menu.

  1. Select the entity on the modelling interface that needs to be repaired
  2. Select Geometry > Repair Geometry to open the Repair Geometry dialog.

The tool presents four panels.

Repair Geometry dialog

  1. The rightmost panel contains a 3D view of the geometry and its colour-coded defects. The colours correspond to those in the Filtered Results panel. The magenta boxes group the defects into clusters. They can highlight defects that might otherwise be too small to see.
  2. The Filtered Results panel contains:
    • a list of defect categories;
    • the number of defects in each category;
    • the colour of the defects drawn in the 3D view; and
    • the option to exclude a defect category from the Repair operation.
  3. The list of individual items groups the defects by entity, then cluster. The Eye icon hides or shows a given entity, cluster, or defect, in the 3D view. You can search for entities, clusters, or defects using the Search bar above this list. When the Repair Option is set to Repair Selected, this list allows you to select the specific defects that you’d like to repair.

The default Repair Option is Repair All. This is the most automatic way to repair geometry. The Repair All option first invokes the Re-Triangulate tool (Geometry > Surface Triangulation Tools > Re-Triangulate) on the entirety of each entity; this is a global operation that often fixes many defects just by itself. Then it iteratively fixes the remaining defects, up to a maximum number of iterations.

The repair tool stops after a maximum number of iterations to avoid modifying the geometry too much. If defects are still present, you can continue repairing the geometry. If you don’t mind further modifying the geometry, you can use the Repair button again. Otherwise, you can select the Repair Selected option to address individual defects, without modifying the rest of the geometry.

The Repair Selected option is useful if you want to modify the geometry as little as possible. You can select and repair only the defects you find most problematic, and leave the rest of the geometry untouched.

Repair Settings

The optional settings area allows you to modify the default values used to repair geometry.

A "relative" setting is a value between 0.0 and 1.0; this value is multiplied by the "size" of any given entity.
The "size" of an object is the length of a diagonal of the axis-aligned bounding box of the object.

Relative Self-Intersection Tolerance

If two objects overlap by at least this much, then they are defined to be self-intersecting. The larger this value is, the more self-intersections the tool will find. Use a smaller value if you don't want to modify the geometry very much; use a larger value if the geometry is particularly bad.

Relative Remesh Tolerance

This is the degree to which repairing will move the geometry. Use a smaller value if you don't want to modify the geometry very much; use a larger value if the geometry is particularly bad.

Relative Remesh Edge Length

This is the target edge length. The repair tool will attempt to generate edges of this length. Use smaller values for entities with tighter curves, and larger values for entities with large, flat faces.

Relative Hole Size

If the size (as defined above) of a gap is smaller than this, then the gap is considered a hole; otherwise, the gap is considered a feature to preserve.

The following images illustrate an example. The first image shows the two geological volumes in the model.

The second image shows the surface that separates those volumes.

A geological surface that separates two materials may have gaps where one or both of those surfaces don't exist; these gaps shouldn't be considered defects, so the Relative Hole Size parameter should be set smaller than these gaps.

Fill Holes Smoothly

A non-smooth filling will generate a simple patch, with no attempt to match the shape at the boundary; this setting will optimize the shape of the new triangles and the area of the new patch. Smooth hole filling attempts to match the shape of the geometry at the boundary of the hole.

Smoothness (Parametric Continuity)

[This is only available when smoothly filling holes.] This attempts to preserve the derivatives of the surface around the boundary of the hole.

0: The filled patch will touch the hole boundary.

1: The filled patch will match the first derivative at the hole boundary.

    2: The filled patch will match the second derivative at the hole boundary.

    Rocscience logo, click here to return to the homepage Portal Account Portal Account Log In Log Out Home Shopping Cart icon Click here to search our site Click here to close Learning Tech Support Documentation Info Chevron Delete Back to Top View More" Previous Next PDF File Calendar Location Language Fees Video Click here to visit Rocscience's LinkedIn page Click here to visit Rocscience's YouTube page Click here to visit Rocscience's X page Click here to visit Rocscience's Facebook page Click here to visit Rocscience's Instagram page Click here to visit Rocscience's Reddit page Bookmark Network Scroll down for more Checkmark Download Print Back to top Single User Multiple Users RSLog RocFall3 CPillar Dips EX3 RocFall RocPlane RocSlope3 RocSupport RocTopple RS2 RS3 RSData RSPile Settle3 Slide2 Slide3 SWedge UnWedge RocTunnel RocSlope2 Commercial License Education License Trial License Shop safe & secure Money-back guarantee