You are here: Modules > Plugins > GEMS Plugin
GEOVIA Surpac

GEMS plugin

Overview

These plugins support data formats used by Dassault Systèmes GEOVIA Inc.'s software package GEMS.

Supported File Types

The file types that are supported by these plugins are described in the table below.

FILE TYPE EXTENSION DATA TYPE
3D Rings/Polygons File ".3dr" String data
Tie Lines File ".tie" String data
Clipping Polygons File ".abp" String data
Status Lines File ".*" String data
Binary Triangulation File ".bt2" 3D Object data

Method

The following paragraphs describe the method used for reading and saving files using the GEMS plugins.

Reading

String Data

All GEMS polyline files (".3dr" ring polygons, ".tie" tie lines, ".abp" clipping polygons, and ".*" status lines) are read as String data. A polyline file is loaded into a string matching ID 1, where each polyline corresponds to a segment. Each segment is added to the string in the order that the polylines occur in the file. The cross-section ID associated with a polyline is placed in the D1 field of each point in the resulting segment. The geology-code is stored in the D2 field of each point in the resulting segment. If cross-section IDs or geology-codes are not defined when reading polyline data (such as in Clipping Polygon Files) then default values are used. The default cross-section ID is "0000" and the default geology-code is "ROCK".

3D Object Data

All GEMS triangulations (".bt2") are read as 3D Object data. Each GEMS triangle is read into a trisolation of triobject 1.

Saving

String Data

String data is saved to GEMS polyline files. Individual polylines are created for each segment in every string. If the cross-section IDs or geology-codes are not available from the D1 and D2 fields respectively, then their default values are used ("0000" and "ROCK"). The file extension ".stl" is used to indicate status line files for writing.

3D Object Data

All 3D Object data is saved to GEMS binary triangulation files. Every triangle is output as a GEMS triangle in the file.

Configuration

There is no specific configuration for the GEMS plugins.

GEMS plugins have an associated default styles file named "gemcom.ssi/mst", which resides in SSI_STYLES. This file can be reconfigured using Surpac's style editing tools.

Messages

No messages are output specifically by the GEMS plugins.

Limitations

  1. 3D object data created in Surpac may contain objects with multiple object and trisolation numbers. However, when this is saved to a GEMS file, the data will be combined into one GEMS triangulation WITHOUT specific object and trisolation ids.

    Thus when reading GEMS Triangulation data back into Surpac, all data will have the same object and trisolation number (ie. one). This applies to both data created in Surpac and native GEMS Triangulations.

    To create GEMS Triangulation data that contains multiple object numbers, each 3D object should be created in a different layer in Surpac and saved to a different GEMS file.