Importing a Mesh

Mesh formats Leapfrog Geo supports include:

  • Leapfrog Geo files (*.msh, *.ara)
  • Datamine mesh files (*tr.asc, *
  • DXF files (*.dxf)
  • Gemcom files (*.tri)
  • Alias Wavefront Object files (*.obj)
  • Surpac files (*.dtm)
  • GOCAD files (*.ts)
  • Leapfrog Model files (*.lfm)
  • Micromine files (*.dat)

If you have the Maptek Link module, you can also import meshes in VULCAN .00t format. Contact Customer Support as described in Getting Support for more information about licensing this module.

Once a mesh has been imported to the project, you can evaluate it against any interpolant or distance function in the project. See Evaluations for more information.

To import a mesh, right-click on the Meshes folder and select Import Mesh. Navigate to the folder that contains the mesh file and select the file. You can select multiple files using the Shift and Ctrl keys. Click Open to import the file.

The Cleanup Mesh window will be displayed.

Cleaning Up a Mesh

There are several options for cleaning up a mesh that can be applied to meshes imported into Leapfrog Geo and to non-editable meshes created in Leapfrog Geo.

To clean up a mesh, double-click on the mesh in the Meshes folder or right-click on the mesh and select Open. The Cleanup Mesh window will be displayed:

The Cleanup Mesh window will also be displayed when you import meshes.

The first four options are automatically applied to meshes created in or imported into Leapfrog Geo:

  • Consistently orient faces ensures that a mesh can be used for inside/outside testing.
  • Remove non-vertex points removes points that are not used by any triangles.
  • Remove degenerate faces removes triangles with duplicate vertices.
  • Orient concentric parts ensures that internal parts have the correct orientation.

Other options are:

  • Invert mesh orientation reverses the polarity of the mesh.
  • Remove vertical edges removes any vertical faces from the mesh boundary.
  • Rotate locations about X axis lets you rotate the mesh 90 degrees clockwise or anticlockwise.
  • Move Mesh lets you offset the mesh by a vector. Tick the Move Mesh box and enter the required values. The offset values can be changed by opening the Clean Mesh window once again.

Select the options required, then click OK.

The mesh will be added to the project tree under the Meshes folder.

Files Meshes with Multiple Features

When importing a file that has multiple features, you will be prompted to select which ones to import. You can also choose to:

  • Import the features as separate objects. Each feature will appear in the project tree as a separate object.
  • Flatten all features into one object. Leapfrog Geo will treat all features as a single object.

If you have the Maptek Link module and are importing a Vulcan 8 mesh that contains a path to an associated texture, Leapfrog Geo will also import the texture. If the path to the texture does not exist, you can import it once the mesh has been imported. Do this by right-clicking on the mesh in the project tree and selecting Import Texture. Navigate to the folder containing the texture file and click Open. The texture will be imported and stored in the project tree as part of the mesh.