Skip to main content
Question

Calculate Volumes from Unclosed Meshes (.dgn)

  • May 12, 2026
  • 1 reply
  • 16 views

galigis
Enthusiast
Forum|alt.badge.img+22

Hi All,

I’m trying to calculate volumes on meshes in a dgn file. The dgn file represents rail embankment / earthworks (ballast, formation, etc.). Below a screengrab of the design:

My current workaround is DGN Reader → SurfaceBuilder → SolidBuilder → VolumeCalculator but am finding that some of the meshes are not closed. Before calculating any volume I need to close the meshes but can’t work it out,

Any idea about how close the unclose meshes?
 

Thanks!

1 reply

dmitribagh
Safer
Forum|alt.badge.img+19
  • Safer
  • May 13, 2026

Hi ​@galigis,

Here is an idea, but it’s not a perfect or universal solution. If your meshes have flat bottom surface, you can extrude them down by a number exceeding your real values. Then, you also extrude the bottom part only (or its footprint or convex hull, or maybe even a buffer) - also down and even more. Before extruding, make sure you coerce both objects to surfaces. Then your second extrusion becomes a clipper for your first extrusion. The output form the outside port is the solid you are looking for. The screenshot here show a mesh with just a single surface, it is not closed at all (red), but after the process I described I get a properly closed solid (green), and I can calculate its volume.

Dmitri