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

Search Results

Guide to Divide All

1.0 Introduction

Divide All is an essential function to model creation for most models. Analogues to subdividing external boundaries to create material regions in enclosed polylines in our 2D software, Divide All splits 3D external volume to smaller pieces, for material, support or loading assignments. If a new piece of geometry is imported or created for the purpose of defining new properties of a subspace within external volume, you must select Divide All to intersect the geometry with the current state of external volume.

The function has received major upgrades to handle highly complex 3D geometries. In this tutorial, we will demonstrate the following:

  • Model creation with an external volume and a set of cutting surfaces.
  • Collapse small volumes after divide.
  • Introduction to the concept of sequential divides.
  • Utilizing Construction role to choose what not to divide.
  • Utilizing Union to glue unintended splits.

2.0 Model Creation with an External Volume and a Set of Cutting Surfaces

  1. From the RS3 main menu, select File > Recent > Tutorials.
  2. Open the file Guide To Divide All - starting file.rs3v3.

This file contains one external volume, two cutting surfaces (Surface 1 and 2) and Material Region, as shown below.File containing one external volume, two cutting surfaces and Material Region

The Visibility pane on the left side of program lists all available items in the current project. Notice the External geometry exhibits a lock icon Lock icon whereas the other three geometries do not. This indicates that the three geometries are not intersected with the external boundary yet.

Now we want to divide all geometries.

  1. Select: Geometry > 3D Boolean > Divide All Geometry or select the Divide All Divide All Icon icon from toolbar.
  2. Divide All Parameters Dialog
    Divide All Parameters Dialog
  3. The Divide All Parameters dialog helps users to fine tune the behavior of Divide All function. Setting Quality to Default option is suitable for a wide range of models in general, however, there are cases where changing the setting is required to successfully intersect every geometry with external boundary. For more detail about each option under Divide All Parameters, please refer to Divide/Un-Divide All Geometry.

    Use the Quality = Default setting and select OK to begin dividing.

Divide All Parameters dialog

Notice now every item in the visibility tree has a lock-in front of them. This indicates that all geometries have successfully intersected with external volume.

2.1 Collapse Small Volumes After Divide

  1. Change the Transparency under the Properties pane to 100%.
  2. Select External 4 to 9 under the Visibility pane. You can find small geometry pieces highlighted in orange upon inspecting the result of Divide All.

Image of Collapsing Small Volumes Afer Divivde

The improved Divide All function is capable of resolving difficult intersections between geometries. In this example, the two cutting surfaces in the red circle, intersect and form small volumes as highlighted in orange.

Take a closer look at the two surfaces before Divide All reveals where they intersect.Image of two surfaces before Divide All reveals where they intersect

The small volumes could be undesired features in the model. The Collapse Small Volumes function is handy for removing many of these small geometries.

Make sure to unselect the external layers, and proceed to Collapse Small Volumes. Collapse Small Volumes will automatically select the small volume layers to combine.
  1. Select: Geometry > Repair Tools > Collapse Small Volumes
  2. The default option in the Collapse Small Volumes dialog is Recommended Filtering, which automatically finds and suggests which volumes to collapse.
  3. It is recommended to review what has been determined as small volume by any filtering option.

    Preview Selection dialog

  4. You will notice that Material Region_12 has been identified as a small volume. We want to exclude this from collapsing. De-select Material Region_12 by hovering over it in the Visibility pane, hold ‘Ctrl’ key, and left mouse-click (Ctrl + left click)).
  5. Click the Collapse button in the dialog with only the external layers selected as shown below.
  6. Collapse dialog

  7. Click Close after the collapse is done.

3.0 Concept of Sequential Divide All and the Use of Construction Role

Any model can be further divided with new geometries. In this example, we continue to build the model with additions of two fault surfaces.

  1. Select: Geometry > Import/Export > Import Geometry Import Geometry
  2. Navigate to the directory where tutorials are installed (ex. C:\Users\Public\Documents\Rocscience\RS3 Examples\Tutorials\Guide To Divde All - starting file) and open both files, Fault 1 and Fault 2, with .rsgeomobj extension.
    Open dialog box
  3. Select the 'All Geometry' box on the left top of the dialog to select both geometries.
    Import Geometry dialog box
  4. Select Post-Processing and then select Done . Now you should be able to see the following model. If not, try adjusting the Transparency under the Properties.

Image of Model after clicking 'Done'

The imported fault surfaces cut through the entire external volume, as can be seen. You can rotate the view to inspect where the geometry meet between the external pieces and the fault surfaces.

Before selecting Divide All Geometry again, we wish to keep Material Region geometries intact without being further split by the fault surfaces. In order to exclude geometry pieces from participating in Divide All process set them as Construction.

  1. Select Material Region_10, Material Region_11, Material Region_12 under the Visibility pane. Set Role to Construction in the Properties pane.
    Selecting Material Region 10, Material Region 11, Material Region 12 under the Visability pane
  2. Now select Geometry > 3D Boolean > Divide All Geometry. Don't change the Default setting in the Divide All Parameters dialog and click OK.

As you can see the result of second Divide All intersect the fault surfaces with the entire external volume except for the Material Region geometries.Results showing second Divide All step intersecting with fault surfaces exept for Material Region

Try to run the second Divide All step without changing the role of the Material Region geometries and observe the difference.
  1. Change back the Role of the Material Region from Construction to Geology for all three Material Region geometries.
  2. Switch to a different perspective or rotate the view to observe the integrity of the three Material Region geometries and the other external pieces have been effectively split by the fault surfaces.

Image of model being manipulated to view the integrity of the thress Material Regions

4.0 Union External Pieces to Remove Unwanted Regions

The final step of this tutorial demonstrates that Union function can also be useful to remove unwanted region splits. In this example, we wish to merge back the bottom external pieces as one geometry.

  1. Select External_18 to External_21 and set Role to Geology.
    Image of model
  2. Select: Geometry > 3D Boolean > Union
    Union dialog box
  3. Click OK in the Union dialog.

The Union function glues the four selected external pieces back in one. Notice that this function is also useful for removing unwanted volumes similarly to Collapse Small Volumes.

Image of the Union function being used on the model.

The difference between the two is the Union function requires a conscious choice of which volumes to merge, whereas Collapse Small Volumes automatically picks an adjacent geometry that shares the larger contact area for merging.

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