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

Search Results

Geometry Cleanup

When boundary vertices are located very close to each other, this can cause modeling problems in RS2, particularly with the finite element mesh. When vertices are nearly coincident, this will often result in a poor quality finite element mesh at that location (e.g. long thin "sliver" elements). This can create problems with the numerical analysis, and in the worst case, can lead to incorrect analysis results, or a model which does not compute at all.

Closely spaced vertices may occur for a number of reasons, e.g. automatic intersection of boundaries in RS2, inaccurate snapping, import of boundaries from DXF files, creation of 2D sections from 3D geometry, manual digitizing procedures, etc.

The Geometry Cleanup option allows you to "clean up" the model geometry by merging vertices which are very close to each other into a single vertex, according to a user-definable spacing criterion.

Three vertices merged into one using Geometry Cleanup

Three vertices merged into one using Geometry Cleanup Three vertices merged into one using Geometry Cleanup

To use Geometry Cleanup:

  1. Select Geometry Cleanup from the Edit sub-menu of the Boundaries menu.
  2. You will see a dialog which allows you to choose the Merging Criteria and the Working Area.
  3. Merging Criterion - the merging criterion can be specified in relative or absolute terms.
    1. Maximum Ratio - defines the merging tolerance as the ratio of maximum model dimension to distance between vertices
    2. Minimum Distance - defines the merging tolerance as the absolute distance between vertices
  4. Working Area - you can choose to check the entire model or any portion of the model.
    1. Whole Model - performs the check on the entire model
    2. Within a Window - performs the check within a user-defined rectangular window (step 5)
    3. Excluding a Window - performs the check outside of a user-defined window (step 5)
  5. select [OK]. If you chose either of the window options (step 4), you will be prompted to graphically enter two points defining the window coordinates. If necessary, multiple windows can be created by holding down the Shift key.
  6. When you have finished defining the Working Area, the Geometry Cleanup check will be performed. A message dialog will display the results of the check (i.e. the number of vertices which were merged).


  • When two vertices are merged, the location of the new vertex will be at the midpoint of the original coordinates.
  • If you are not happy with the results of the Geometry Cleanup (e.g. if your model has been altered unexpectedly), you can always select Undo to reverse the changes. Then try a new value for the Merging Criterion.
  • In general, it's a good idea to run Geometry Cleanup to see if any problems are discovered. Keep in mind that the worst cases of vertices being too close will generally be invisible (without zooming in), so it is important to run Geometry Cleanup even if you do not see any obvious problems. You might consider running the Mesh Quality check first to help detect mesh/vertex problems.
  • When you are importing boundaries from a DXF file, the Geometry Cleanup option can be automatically applied after the import. See the Import DXF topic.
  • In addition to Geometry Cleanup, the Simplify Boundary option can also be used to improve model geometry. See the Simplify Boundary topic.
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 RocTunnel3 RocSlope2 BlastMetrix ShapeMetriX Fragmenter Commercial License Education License Trial License Shop safe & secure Money-back guarantee