Import

  • read evs field

    Read a dataset from any of six different EVS compatible file formats into an EVS field.

  • import vtk

    The import VTK module reads a dataset from the VTK format.

  • import cad

    Read all versions of AutoCAD DWG and DXF files as well as Microstation DGN files.

  • import vector gis

    Reads vector file formats such as shapefiles.

  • import raster as horizon

    Read several different raster format files as a single horizon.

  • buildings

    Create 3d buildings interactively or from a file.

  • read lines

    Read a series of points with data connected by lines.

  • read strike and dip

    Read sampled locations with strike and dip values.

  • read glyph

    Reads glyphs saved in any of the three primary EVS field file formats.

  • import geometry

    Reads topology from geometry files, such as wavefront obj, for modeling.

Subsections of Import

read evs field

read evs field reads a dataset from the primary and legacy file formats created by write evs field.

  • .ef2: the only lossless format for models created in 2024 and later versions
  • .eff: ASCII format, best if you want to be able to open the file in an editor or print it. For a description of the EFF file formats click here.
  • .efz: GNU Zip compressed ASCII, the same as .eff but in a zip archive
  • .efb: binary compressed format, the smallest and fastest format due to its binary form

Output Quality:

An important feature of read evs field is the ability to specify two separate files which correspond to High Quality (e.g., fine grids) and Low Quality (e.g., coarse grids, a.k.a. fast).

Here read evs field is specifying two different EFB files. Output Quality is set to Highest Quality and is Linked (black circle). The viewer shows:

If we change the Output Quality on the Home tab:

It changes the setting in read evs field and the viewer changes to show:

Although you can change the Output Quality in read evs field, it is best to change it on the Home tab to make sure that all read evs field modules in your application have the same setting. This is not relevant to this simple application, but if we were using a cutting surface (saved as fine and coarse EFBs) and doing distance to surface operations on a very large grid, this synchronization would be important.

Built-in Explode:

read evs field effectively has explode built in. This allows the module to explode layers, materials, or cell sets, apply a vertical offset, and turn off selected cell sets without additional modules.

Ports

DirectionNameTypeDescription
OutputFile NotesStringText containing the notes stored in the file.
OutputOutputFieldA field containing EVS field file contents.
OutputOutput ObjectRenderableA renderable object displaying the EVS field file contents.

Properties

PropertyTypeDescription
FilenameFileThe field file to read (.ef2, .efb, .efz, or .eff).
ExecuteButtonForces the module to run even if Allow Run has been turned off. This allows the user to make a number of changes before updating.
Allow RunBooleanWhen turned off, prevents the module from running.
Output QualityChoice: Highest Quality, Fast OutputControls whether the Filename (Highest Quality) or Low Quality Filename (Fast Output) is read. When linked, it is set to the application-wide Output Quality found on the Home ribbon.
Low Quality FilenameFileThe field file to read when in low output quality mode.
ExplodeDoubleThe distance between exploded layers, cell sets, or materials. For example, an explode distance of 20 will separate each geologic layer by 20 feet from the layer above it and the layer below it. The explode distance incorporates the scale factor, so if a scaling factor of 5 is specified for a 10 foot thick layer to which an explode factor of 20 is applied, the geologic layers will be separated by 100 feet. When linked, it uses the application-wide Explode value.
Vertical OffsetDoubleTranslates the entire model in Z by the value input. This is useful for moving the model to avoid coincident objects.
Handle Application OriginBooleanControls whether the geometry in an EF2 file is automatically translated to the application origin or read without any modifications.

Explode And Scale Settings

PropertyTypeDescription
Explode ByChoice: Layer, Lithology or Material, Cell SetDetermines what information is used to explode the layers or materials. Layer explodes by the geologic layer data present with any hierarchical geologic model. Lithology or Material explodes by the discrete material data (a Lithology, Indicator, Material or Material_ID data component; Lithology is preferred when both are present). Cell Set explodes by the cell set number.
Explode BeginsIntegerDetermines the first layer or material that will be exploded.
Explode EndsIntegerSets the last layer or material that will be exploded. This value defaults to -1, which explodes all remaining layers or materials.
Cell SetsMulti-selectAllows selected cell sets to be turned off in the output. Options are the cell sets in the file, with cell counts; includes an option to automatically select all cell sets.

File Information

PropertyTypeDescription
AuthorString (read-only)Displays the author of the file.
OrganizationString (read-only)Displays the organization of the file.
Project NameString (read-only)Displays the project name of the file.
RestrictionsString (read-only)Displays the restrictions information of the file.
StatusString (read-only)Displays the status information of the file.
Creation DateDate (read-only)Displays the creation date if it is set in the file.
EVS Creation VersionString (read-only)Displays the EVS version that created the file (EF2 files only).
DescriptionString (read-only)Displays the description of the file.
File NotesString (read-only)Displays the file notes if they are set in the file.
  • EFF File

    EVS Field File Formats and Examples EVS Field file formats supplant the need for UCD, netCDF, Field (.fld), EVS_Geology by incorporating all of their functionality and more in a new file format with three mode options. .eff ASCII format, best if you want to be able to open the file in an editor or print it .efz GNU Zip compressed ASCII, same as .eff but in a zip archive .efb binary compressed format, the smallest & fastest format due to its binary form

Subsections of read evs field

EVS Field File Formats and Examples

EVS Field file formats supplant the need for UCD, netCDF, Field (.fld), EVS_Geology by incorporating all of their functionality and more in a new file format with three mode options.

  1. .eff ASCII format, best if you want to be able to open the file in an editor or print it

  2. .efz GNU Zip compressed ASCII, same as .eff but in a zip archive

  3. .efb binary compressed format, the smallest & fastest format due to its binary form

Here are the tags available in an EVS field file, in the appropriate order. Note that no file will contain ALL these tags, as some are specific to the type of field (based on definition). The binary file format is undocumented and exclusively used by C Tech’s write evs field module.

If the file is written compressed, the .efz file (and any split, extra data files) will all be compressed. The compression algorithm is compatible with the free gzip/gunzip programs or WinZip, so the user can uncompress a .efz file and get an .eff file at will. The .efb file is also compressed (hence its very small size), but uncompressing this file will not make it human-readable.

EVS Field Files

EVS Field Files consist of file tags that delineate the various sections of the file(s) and data (coordinates, nodal and/or cell data, and connectivity). The file tags are discussed below followed by portions of a few example files.

FILE TAGS:

The file tags for the ASCII file formats (shown in Bold Italics) are discussed below with a representative example. They are given in the appropriate order. If you need assistance creating software to write these file formats, please contact support@ctech.com.

DATE_CREATED(optional) 7/16/2004 1:57:55 PM

The creation date of the file.

EVS_FIELD_FILE_NOTES_START (optional)

Insert your Field file notes here.

EVS_FIELD_FILE_NOTES_END

This is the file description block. These notes are used to describe the contents of the Field file. The entire block is optional, however if you wish to use notes then both the starting and end tag are required.

DEFINITION Mesh+Node_Data

This is the type of field we are creating. Typically options are:

  1. Mesh+Node_Data

  2. Mesh+Cell_Data

  3. Mesh+Node_Data+Cell_Data

  4. Mesh_Struct+Node_Data (Geology)

  5. Mesh_Unif+Node_Data (Uniform field)

NSPACE 3

nspace of the output field. Typically 3, but 2 in the case of geology or an image

NNODES 66355

Number of nodes. Not used for Mesh_Struct of Mesh_Unif

NDIM 2

Number of dimensions in a Mesh_Struct or Mesh_Unif

DIMS 41 41

The dimensions for a mesh_struct or uniform field

POINTS 11061.528999 12692.304504 -44.049999 11611.330994 13098.105469 11.500000

The lower left and upper right corner of a uniform field (Mesh_Unif only)

COORD_UNITS “ft”

Coordinate Units

NUM_NODE_DATA 7

Number of nodal data components

NUM_CELL_DATA 1

Number of cell data components

NCELL_SETS 5

Number of cell sets

NODES FILE “test_split.xyz” ROW 1 X 1 Y 2 Z 3

Nodes section is starting. If it says “NODES IN_FILE”, the nodes follow (x/y/z) on the next nnodes rows, otherwise, the line will say FILE “filename” ROW 1 X 1 Y 2 Z 3, which is the file to get the coordinates, the row to start at (1 is first line of file), and the columns containing your X, Y, and Z values

NODE_DATA_DEF 0 “TOTHC” “log_ppm” MINMAX -3 4.592 FILE “test_split.nd” ROW 1 COLS 1

NODE_DATA_DEF specifies the definition of a nodal data component. The second word is the data component number, the third is the name, the 4th is the units, then it will either say IN_FILE (which means that it will start after a NODE_DATA_START tag) or the file information. Other options are:

  1. MINMAX - two numbers follow which are the data minimum and maximum. This behaves much like the set_min_max module.

  2. If this is vector data, there will be a VECLEN 3 tag in there, and COLS will need to have 3 numbers following it (for each component of the vector)

  3. NODE_DATA_START. All the node data components that are specified IN_FILE are listed in order after this tag.

CELL_SET_DEF 0 8120 Hex “Fill” MINMAX 1 14 FILE “test_split.conn” ROW 1

Definition of a cell set. 2nd word is cell set number, 3rd is number of cells, 4th is type, 5th is the name, then its either IN_FILE (which means they will be listed in order by cell set), or the FILE “filename” section and a row to begin reading from. Other options are:

  1. MINMAX - two numbers follow which are the data minimum and maximum. This behaves much like the cell_set_min_max module.

  2. CELL_START. Start of all the cell set definitions that are specified IN_FILE.

CELL_DATA_DEF 0 “Indicator” “Discreet Unit” FILE “test_split.cd” ROW 1 COLS 1

Definition of cell data. Same options as NODE_DATA_DEF

CELL_DATA_START

Start of all cell data that is specified as IN_FILE

LAYER_NAMES “Top” “Fill” “Silt” “Clay” “Gravel” “Sand”

Allows you to specify the names associated with surfaces (layers)

MATERIAL_MAPPING “1|Silt” “2|Fill” “3|Clay” “4|Sand” “5|Gravel”

Allows you to specify the Material_ID and the associated material names. Note that each number/name pair is in quotes, with the name separated from the number by the pipe “|” symbol.

END

Marks the end of the data section of the file. (Allows us to put a password on .eff files)

EVS Field File Examples:

Because EVS Field Files can contain so many different types of grids, it is beyond the scope of our help system to include every variant.

3d estimation - EFF file representing a uniform field: The file below is an abbreviated example of writing the output of 3d estimation having kriged a uniform field (which can be volume rendered). Large sections of the data regions of this file are omitted to save space. This is represented by sections of the file with “*** omitted ***” replacing many lines of data.

DEFINITION Mesh_Unif+Node_Data

NSPACE 3

NDIM 3

DIMS 41 41 35

COORD_UNITS “ft”

NUM_NODE_DATA 7

POINTS 11281.910004 12211.149994 -29.900000 12515.890015 13259.449951 0.900000

NODE_DATA_DEF 0 “VOC” “log_ppm” IN_FILE

NODE_DATA_DEF 1 “Confidence-VOC” “linear_%” IN_FILE

NODE_DATA_DEF 2 “Uncertainty-VOC” “linear_Unc” IN_FILE

NODE_DATA_DEF 3 “Geo_Layer” “linear_” IN_FILE

NODE_DATA_DEF 4 “Elevation” “linear_ft” IN_FILE

NODE_DATA_DEF 5 “Layer Thickness” “linear_ft” IN_FILE

NODE_DATA_DEF 6 “Material_ID” “linear_” IN_FILE

NODE_DATA_START

-2.357487 34.455845 2.325005 0.000000 -29.900000 30.799999 0.000000

-3.000000 34.977974 0.000000 0.000000 -29.900000 30.799999 0.000000

-3.000000 35.603794 0.000000 0.000000 -29.900000 30.799999 0.000000

***** OMITTED *****

-3.000000 30.056839 0.000000 0.000000 0.900000 30.799999 0.000000

-3.000000 29.858747 0.000000 0.000000 0.900000 30.799999 0.000000

-3.000000 29.673925 0.000000 0.000000 0.900000 30.799999 0.000000

END

3d estimation - EFF Split file representing a uniform field: The file below is a complete example of writing the output of 3d estimation having kriged a uniform field (which can be volume rendered). Note that the .EFF file is quite small, but references the data in a separate file named krig_3d_uniform_split.nd.

DEFINITION Mesh_Unif+Node_Data

NSPACE 3

NDIM 3

DIMS 41 41 35

COORD_UNITS “ft”

NUM_NODE_DATA 7

POINTS 11281.910004 12211.149994 -29.900000 12515.890015 13259.449951 0.900000

NODE_DATA_DEF 0 “VOC” “log_ppm” FILE “krig_3d_uniform_split.nd” ROW 1 COLS 1

NODE_DATA_DEF 1 “Confidence-VOC” “linear_%” FILE “krig_3d_uniform_split.nd” ROW 1 COLS 2

NODE_DATA_DEF 2 “Uncertainty-VOC” “linear_Unc” FILE “krig_3d_uniform_split.nd” ROW 1 COLS 3

NODE_DATA_DEF 3 “Geo_Layer” “linear_” FILE “krig_3d_uniform_split.nd” ROW 1 COLS 4

NODE_DATA_DEF 4 “Elevation” “linear_ft” FILE “krig_3d_uniform_split.nd” ROW 1 COLS 5

NODE_DATA_DEF 5 “Layer Thickness” “linear_ft” FILE “krig_3d_uniform_split.nd” ROW 1 COLS 6

NODE_DATA_DEF 6 “Material_ID” “linear_” FILE “krig_3d_uniform_split.nd” ROW 1 COLS 7

END

Large sections of the data regions of the data file krig_3d_uniform_split.nd are omitted below to save space. This is represented by sections of the file with “*** omitted ***” replacing many lines of data.

-2.357487 34.455845 2.325005 0.000000 -29.900000 30.799999 0.000000

-3.000000 34.977974 0.000000 0.000000 -29.900000 30.799999 0.000000

-3.000000 35.603794 0.000000 0.000000 -29.900000 30.799999 0.000000

***** OMITTED *****

-3.000000 30.056839 0.000000 0.000000 0.900000 30.799999 0.000000

-3.000000 29.858747 0.000000 0.000000 0.900000 30.799999 0.000000

-3.000000 29.673925 0.000000 0.000000 0.900000 30.799999 0.000000

gridding and horizons & 3d estimation - EFF file representing multiple geologic layers with analyte (e.g. chemistry): The file below is an abbreviated example of writing the output of 3d estimation having kriged analyte (e.g. chemistry) data with geology input. Large sections of the data regions of this file are omitted to save space. This is represented by sections of the file with “*** omitted ***” replacing many lines of data.

NSPACE 3

NNODES 66355

COORD_UNITS “ft”

NUM_NODE_DATA 7

NCELL_SETS 5

NODES IN_FILE

11153.998856 12722.725708 2.970446

11161.871033 12715.198792 2.783408

11169.743210 12707.671875 2.594242

***** OMITTED *****

11250.848221 12865.266907 -42.575920

11248.750000 12870.909973 -42.000000

11243.389938 12870.020935 -42.474934

NODE_DATA_DEF 0 “TOTHC” “log_mg/kg” IN_FILE

NODE_DATA_DEF 1 “Confidence-TOTHC” “linear_%” IN_FILE

NODE_DATA_DEF 2 “Uncertainty-TOTHC” “linear_Unc” IN_FILE

NODE_DATA_DEF 3 “Geo_Layer” “Linear_” IN_FILE

NODE_DATA_DEF 4 “Elevation” “Linear_ft” IN_FILE

NODE_DATA_DEF 5 “Layer Thickness” “Linear_ft” IN_FILE

NODE_DATA_DEF 6 “Material_ID” “Linear_” IN_FILE

NODE_DATA_START

-0.777059 27.239126 15.861248 0.000000 2.970446 8.270601 2.000000

-0.661227 27.349216 16.503609 0.000000 2.783408 8.270658 2.000000

-0.288564 27.512394 18.822187 0.000000 2.594242 8.261375 2.000000

***** OMITTED *****

2.886921 69.551514 1.128253 4.000000 -42.575920 13.628321 4.000000

3.113943 99.999977 0.000000 4.000000 -42.000000 13.654032 4.000000

3.070153 72.869553 0.841437 4.000000 -42.474934 13.646055 4.000000

CELL_SET_DEF 0 8120 Hex “Fill” IN_FILE

CELL_SET_DEF 1 14680 Hex “Silt” IN_FILE

CELL_SET_DEF 2 6502 Hex “Clay” IN_FILE

CELL_SET_DEF 3 11284 Hex “Gravel” IN_FILE

CELL_SET_DEF 4 14412 Hex “Sand” IN_FILE

CELL_START

0 1 42 41 1681 1682 1723 1722

1 2 43 42 1682 1683 1724 1723

2 3 44 43 1683 1684 1725 1724

***** OMITTED *****

54462 54503 66349 66348 56143 56184 66353 66352

54503 54502 66350 66349 56184 56183 66354 66353

54502 54461 66347 66350 56183 56142 66351 66354

END

Post_samples - EFF file representing spheres: The file below is a complete example of writing the output of post_samples’ blue-black field port having read the file initial_soil_investigation_subsite.apdv. This data file has 99 samples with data that was log processed. If this file is read by read evs field. It creates all 99 spheres colored and sized as they were in Post_samples. The tubes and any labeling are not included in the field port from which this file was created.

DEFINITION Mesh+Node_Data

NSPACE 3

NNODES 99

COORD_UNITS “units”

NUM_NODE_DATA 2

NCELL_SETS 1

NODES IN_FILE

11566.340027 12850.590027 -10.000000

11566.340027 12850.590027 -70.000000

11566.340027 12850.590027 -160.000000

11586.340027 13050.589966 -10.000000

11586.340027 13050.589966 -70.000000

11586.340027 13050.589966 -160.000000

11381.700012 12747.500000 -15.000000

11381.700012 12747.500000 -25.000000

11414.399994 12781.099976 -15.000000

11414.399994 12781.099976 -25.000000

11338.000000 12830.799988 -10.000000

11338.000000 12830.799988 -65.000000

11338.000000 12830.799988 -115.000000

11338.000000 12830.799988 -165.000000

11410.290009 12724.690002 -5.000000

11410.290009 12724.690002 -35.000000

11410.290009 12724.690002 -45.000000

11410.290009 12724.690002 -125.000000

11410.290009 12724.690002 -175.000000

11427.000000 12780.900024 -10.000000

11427.000000 12780.900024 -30.000000

11427.000000 12780.900024 -80.000000

11416.899994 12819.450012 -10.000000

11416.899994 12819.450012 -30.000000

11416.899994 12819.450012 -70.000000

11416.899994 12819.450012 -95.000000

11416.899994 12819.450012 -105.000000

11416.899994 12819.450012 -120.000000

11416.899994 12819.450012 -140.000000

11401.730011 12897.770020 -10.000000

11401.730011 12897.770020 -30.000000

11401.730011 12897.770020 -80.000000

11401.730011 12897.770020 -110.000000

11401.730011 12897.770020 -145.000000

11401.730011 12897.770020 -180.000000

11259.670013 12819.289978 -10.000000

11259.670013 12819.289978 -40.000000

11259.670013 12819.289978 -70.000000

11259.670013 12819.289978 -95.000000

11259.670013 12819.289978 -140.000000

11340.489990 12892.609985 -30.000000

11340.489990 12892.609985 -55.000000

11340.489990 12892.609985 -80.000000

11340.489990 12892.609985 -110.000000

11340.489990 12892.609985 -130.000000

11340.489990 12892.609985 -165.000000

11248.750000 12870.909973 -10.000000

11248.750000 12870.909973 -35.000000

11248.750000 12870.909973 -45.000000

11248.750000 12870.909973 -85.000000

11248.750000 12870.909973 -110.000000

11248.750000 12870.909973 -160.000000

11248.750000 12870.909973 -210.000000

11086.519997 12830.669983 -15.000000

11086.519997 12830.669983 -30.000000

11086.519997 12830.669983 -80.000000

11086.519997 12830.669983 -130.000000

11211.869995 12710.750000 -30.000000

11211.869995 12710.750000 -80.000000

11211.869995 12710.750000 -135.000000

11199.039993 12810.159973 -20.000000

11199.039993 12810.159973 -40.000000

11199.039993 12810.159973 -85.000000

11199.039993 12810.159973 -150.000000

11298.000000 12808.630005 -60.000000

11496.339996 12753.590027 -10.000000

11496.339996 12753.590027 -30.000000

11496.339996 12753.590027 -80.000000

11496.339996 12753.590027 -110.000000

11496.339996 12753.590027 -150.000000

11309.029999 12948.989990 -10.000000

11309.029999 12948.989990 -35.000000

11309.029999 12948.989990 -95.000000

11309.029999 12948.989990 -125.000000

11309.029999 12948.989990 -130.000000

11209.350006 12993.940002 -5.000000

11209.350006 12993.940002 -35.000000

11209.350006 12993.940002 -60.000000

11209.350006 12993.940002 -95.000000

11209.350006 12993.940002 -125.000000

11301.970001 13079.660034 -20.000000

11301.970001 13079.660034 -30.000000

11301.970001 13079.660034 -85.000000

11301.970001 13079.660034 -125.000000

11286.769989 13026.699951 -30.000000

11286.769989 13026.699951 -45.000000

11286.769989 13026.699951 -75.000000

11286.769989 13026.699951 -120.000000

11393.470001 12948.900024 -20.000000

11393.470001 12948.900024 -45.000000

11393.470001 12948.900024 -95.000000

11393.470001 12948.900024 -110.000000

11393.470001 12948.900024 -130.000000

11393.470001 12948.900024 -170.000000

11251.300003 12929.270020 -10.000000

11251.300003 12929.270020 -30.000000

11251.300003 12929.270020 -80.000000

11251.300003 12929.270020 -120.000000

11251.300003 12929.270020 -145.000000

NODE_DATA_DEF 0 “TOTHC” “log_mg/kg” IN_FILE

NODE_DATA_DEF 1 "" "" ID 668 IN_FILE

NODE_DATA_START

-3.000000 4.998203

-3.000000 4.998203

-3.000000 4.998203

-3.000000 4.998203

-3.000000 4.998203

-3.000000 4.998203

-3.000000 4.998203

-3.000000 4.998203

-3.000000 4.998203

-3.000000 4.998203

1.322219 4.998203

2.806180 4.998203

1.602060 4.998203

-3.000000 4.998203

-3.000000 4.998203

-3.000000 4.998203

-3.000000 4.998203

-3.000000 4.998203

-3.000000 4.998203

1.845098 4.998203

2.278754 4.998203

-3.000000 4.998203

1.296665 4.998203

-3.000000 4.998203

1.278754 4.998203

3.716003 4.998203

1.623249 4.998203

1.505150 4.998203

-3.000000 4.998203

1.707570 4.998203

-3.000000 4.998203

3.770852 4.998203

3.869232 4.998203

1.113943 4.998203

-3.000000 4.998203

2.025306 4.998203

3.434569 4.998203

3.594039 4.998203

2.454845 4.998203

-3.000000 4.998203

2.740363 4.998203

2.079181 4.998203

3.806180 4.998203

4.908485 4.998203

2.176091 4.998203

-3.000000 4.998203

3.792392 4.998203

3.362897 4.998203

4.255272 4.998203

3.699387 4.998203

3.518514 4.998203

3.301030 4.998203

3.113943 4.998203

-3.000000 4.998203

-3.000000 4.998203

-3.000000 4.998203

-3.000000 4.998203

1.361728 4.998203

-3.000000 4.998203

-3.000000 4.998203

2.000000 4.998203

1.643453 4.998203

1.732394 4.998203

1.643453 4.998203

3.556303 4.998203

-0.522879 4.998203

-3.000000 4.998203

-3.000000 4.998203

-3.000000 4.998203

-3.000000 4.998203

3.079181 4.998203

-3.000000 4.998203

2.633468 4.998203

1.505150 4.998203

-3.000000 4.998203

-3.000000 4.998203

-0.920819 4.998203

-3.000000 4.998203

-3.000000 4.998203

-3.000000 4.998203

-0.886057 4.998203

-3.000000 4.998203

-3.000000 4.998203

-3.000000 4.998203

-3.000000 4.998203

-3.000000 4.998203

-0.096910 4.998203

-3.000000 4.998203

4.000000 4.998203

2.000000 4.998203

1.602060 4.998203

1.000000 4.998203

-0.301030 4.998203

-3.000000 4.998203

1.785330 4.998203

-3.000000 4.998203

0.431364 4.998203

4.518514 4.998203

-3.000000 4.998203

CELL_SET_DEF 0 99 Point "" IN_FILE

CELL_START

0

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

20

21

22

23

24

25

26

27

28

29

30

31

32

33

34

35

36

37

38

39

40

41

42

43

44

45

46

47

48

49

50

51

52

53

54

55

56

57

58

59

60

61

62

63

64

65

66

67

68

69

70

71

72

73

74

75

76

77

78

79

80

81

82

83

84

85

86

87

88

89

90

91

92

93

94

95

96

97

98

END

import vtk

import vtk reads a dataset from any of the following VTK file formats. Please note that VTK’s file formats do not include coordinate units information, nor analyte units. The Units property allows you to specify the coordinate units (meters are the default).

  • vtk: legacy format
  • vtm: Multiblock datasets
  • vti: Image data (uniform grids)
  • vtr: Rectilinear grids
  • vtp: Polygons (surfaces)
  • vts: Structured grids
  • vtu: Unstructured grids
  • pvti: Partitioned image data
  • pvtp: Partitioned polygons (surfaces)
  • pvtr: Partitioned rectilinear grids
  • pvts: Partitioned structured grids
  • pvtu: Partitioned unstructured grids

Polyhedral Cells:

By default, polyhedral cells in unstructured grids are imported as they are in the file, so one cell in the file remains one cell in EVS. Locating a point inside a polyhedron is far more expensive than inside a tetrahedron, so if the model is slow to probe, interpolate, or pick, turn on Split Polyhedral Cells. Splitting trades that cost for a much higher cell count, with each cell’s data repeated across the tetrahedra it becomes, and it cannot be undone later in the network.

Ports

DirectionNameTypeDescription
OutputOutputFieldA field containing VTK file contents.
OutputOutput ObjectRenderableA renderable object displaying the VTK file contents.

Properties

PropertyTypeDescription
FilenameFileThe VTK file to read.
Use Application OriginBooleanWhen true, the module applies the Application Origin. When false, data is left in internal model space. Turn off when loading data intended for use as a glyph or similar.
Split Polyhedral CellsBooleanSplits each polyhedral cell into tetrahedra as the file is read. Off by default. Turn on if the model is slow to probe, interpolate, or pick. Splitting cannot be undone later in the network.
ExecuteButtonForces the module to run. Available once a file has been selected.
UnitsStringThe coordinate units. The default is m (meters).

import cad

import cad reads the following versions of CAD files:

  • AutoCAD DWG and DXF files through AutoCAD 2021 (version 24.0)
  • Bentley Microstation DGN files through Version 8

This module provides the capability to integrate site plans, buildings, and other 2D or 3D features into the EVS visualization, to provide a frame of reference for understanding the three dimensional relationships between the site features and the characteristics of geologic, hydrologic, and chemical features. The drawing entities are treated as three dimensional objects, which provides a lot of flexibility in the placement of CAD objects in relation to EVS objects in the visualization. project onto surface and geologic surfmap allow the user to drape CAD line-type entities (not 3D Faces) onto three dimensional surfaces.

Virtually all AutoCAD object types are supported, including points, lines (of all types), 3D surface objects, and 3D volumetric objects.

AutoCAD drawings can be drawn in model space (MSPACE) or paper space (PSPACE). Drawings in paper space have a defined viewport which has coordinates near the origin. When read into EVS this creates objects which are far from your true model coordinates. For this reason, all drawings for use in EVS should be in model space.

Layers:

By default each CAD layer is output as a separate cell set. The Layer Details list shows each layer with its cell count, and allows individual layers to be excluded and their colors changed. Layers marked as hidden in the CAD file are included by default, and AutoCAD’s default layer “0” is removed when it contains no visible objects.

Ports

DirectionNameTypeDescription
OutputOutputFieldA field containing the CAD data.
OutputOutput ObjectRenderableA renderable object displaying the CAD data.

Properties

PropertyTypeDescription
FilenameFileThe name of the CAD dwg, dxf, or dgn file to be rendered.
Use Application OriginBooleanWhen true, the module applies the Application Origin. When false, data is left in internal model space. Turn off when loading data intended for use as a glyph or similar.
ExecuteButtonForces the module to run. Available once a file has been selected.

Data Processing

PropertyTypeDescription
Render ModeChoice: Model Default, Wire-frame, Flat-ShadedControls how the CAD data is rendered. The default is Flat-Shaded.
Unit HandlingChoice: Units From File, Force Default UnitsDetermines whether to use units from the CAD file or force the use of the default coordinate units.
Default Coordinate UnitsStringThe units to use when the units cannot be determined from the CAD file. The default is m (meters).
Remove Coincident NodesBooleanProcesses the data to remove coincident nodes. This takes longer but creates a smaller, more efficient representation of the CAD data.
Include Hidden LayersBooleanCauses CAD layers marked as hidden to be drawn.
Remove Points And Degenerate CellsBooleanRemoves all points and degenerate cells from the output.
Show As WireframeBooleanOutlines surfaces. Equivalent to setting Line Rendering to “regular”.
Color For WhiteColorSets the color used for any feature colored white. When linked, it uses the application foreground color.
Deviation For CurvesDoubleThe accuracy with which analytical curves (arcs, circles) are displayed. The default value of 0.0 employs an expert system algorithm to determine a reasonable value based on the overall size of the CAD model.
Normal For 3D SolidsDoubleThe tolerance for parallel faces (default 15).
Separate LayersBooleanCauses each layer in the CAD file to be output as a separate cell set in EVS.
Layer DetailsColor ChoicesSelects which CAD layers to include in the output and sets the color of each. Lists each layer in the file with its cell count; includes an option to automatically include all layers. Available when Separate Layers is on.
Remove Empty 0 LayerBooleanRemoves a layer named “0” that draws nothing. Primarily intended for removing AutoCAD’s default layer when it contains no visible objects.

import vector gis

import vector gis reads the following vector file formats:

  • ESRI Shapefile (*.shp)
  • Geography Markup Language (*.gml)
  • FlatGeobuf (*.fgb)
  • GeoPackage (*.gpkg)
  • SQLite / SpatiaLite databases (*.sqlite, *.db)
  • ESRI File Geodatabase (*.gdb folders, which can be selected with the folder browser)
  • Arc/Info E00 (ASCII) Coverage (*.e00)
  • Atlas BNA (*.bna)
  • GeoConcept text export (*.gxt)
  • GMT ASCII Vectors (*.gmt)
  • MapInfo TAB (*.tab)

Formats that can hold multiple layers, such as GeoPackage and SQLite, list their layers in the Layer property so you can choose which one to read. Feature attributes are read as cell data, and a numeric attribute can optionally be used as the Z coordinate of the features (for example, contour line elevations).

Ports

DirectionNameTypeDescription
OutputOutputFieldA field containing the vector GIS data.
OutputOutput ObjectRenderableA renderable object displaying the vector GIS data.

Properties

PropertyTypeDescription
FilenameFileThe name of the vector file to read.
LayerChoiceWhen the input file contains multiple layers (GeoPackage, SQLite, etc.), selects which layer to read. Options are the layers in the file. For single-layer formats this option has no effect.
Use Application OriginBooleanWhen true, the module applies the Application Origin. When false, data is left in internal model space.
ExecuteButtonForces the module to run. Available once a file has been selected.

Data Processing

PropertyTypeDescription
Coordinate UnitsStringSpecifies the units for the coordinates in the input data. When linked, defaults to the units in the spatial reference of the input vector file, if available; otherwise meters (m) are assumed.
Assign Data To ZBooleanWhen on, the attribute selected in Data To Assign To Z is assigned as the Z coordinate.
Data To Assign To ZChoiceSelects which attribute is assigned as the Z coordinates. Options are the attributes in the file. Available when Assign Data To Z is on.
Data To OutputMulti-selectSelects which attributes to include as cell data in the output. Options are the attributes in the file; includes an option to automatically select all attributes.

import raster as horizon

import raster as horizon reads several different raster format files as a single horizon in EVS geology format. These formats include DEMs (*.dem), Surfer grid files (*.grd), MrSID files (*.sid), ArcInfo ADF grids (*.adf), SDTS (*.catd.ddf), GeoTIFF (*.tif), and JPEG (*.jpg) files. Multiple import raster as horizon modules can be combined with combine horizons into a 3D geologic model. Alternatively, a single file can be displayed as a surface (with surface from horizons), or you can export its coordinates (with export nodes) to use the values in a GMF file.

Large rasters can be reduced with the Downsize setting or cropped to a sub-range of rows and columns with the Min/Max I and J settings. Max Total Resolution guards against accidentally creating an extremely large horizon.

Ports

DirectionNameTypeDescription
OutputOutput Geologic FieldFieldThe main geologic field output from the module.
OutputGeology Export OutputVistas DataInformation required for direct exporting of geology to other software.

Properties

PropertyTypeDescription
Allow RunBooleanWhen on, the module runs when any of the input parameters are changed. When off, the Execute button must be pressed for the module to run.
ExecuteButtonForces the module to run. If pressed and the application is saved, the module will run when the application is loaded.
FilenameFileThe raster file to read. Supported formats include DEMs, Surfer grid files, MrSID files, ADF files, and others.
Material NumberIntegerThe material number for the surface being read.
Coord UnitsStringThe coordinate units for the surface being read. The default is m (meters).
Surface NameStringThe surface name for the surface being read. The default is Layer_0.

Surface Controls

PropertyTypeDescription
Raster BandIntegerSelects a single raster band when reading image formats such as JPEG or TIFF.
DownsizeIntegerReduces the resolution of the input raster. A value of 0 reads the raster at full resolution.
Blanks As NullBooleanSpecifies that points marked to be blanked out in the raster are left out of the geologic model when it is created. It is highly recommended to leave this on.
Min IIntegerCrops the lower bound of the raster in the I (column) direction.
Max IIntegerCrops the upper bound of the raster in the I (column) direction. The default of -1 uses the full extent.
Min JIntegerCrops the lower bound of the raster in the J (row) direction.
Max JIntegerCrops the upper bound of the raster in the J (row) direction. The default of -1 uses the full extent.
Max Total ResolutionIntegerCauses the module to report an error if the generated geology has more points than this amount (default 50000).

buildings

buildings reads C Tech’s .bldg file and creates various 3D objects (boxes, cylinders, wedge shapes for roofs, simple houses, etc.), and provides a means for scaling the objects and placing them at user-specified locations. The objects are positioned using the x, y, and z coordinates in the .bldg file, with additional scaling controls in the module’s properties. Buildings can also be created and edited interactively: with the viewer connected, set Probe Action to Add Building and probe in the viewer to place a new building using the Default Building Settings, or to Reset Position to move the current building. The current set of buildings can be exported to a new .bldg file.

Each object is made up of 3D volumetric elements. This allows the buildings to be cut or sliced to reveal a cross section through them.

Ports

DirectionNameTypeDescription
OutputOutputFieldA field containing the buildings.
OutputOutput ObjectRenderableA renderable object displaying the buildings.

Properties

PropertyTypeDescription
Import FileFileImports an existing .bldg file.
Reload Import FileButtonForces the module to load the import file and run.
Building Height ScaleDoubleVertically exaggerates the height of each building.
Building OffsetDoubleMoves all buildings vertically by the set amount.
Export FileFileExports the current buildings to a .bldg file.

Default Building Settings

PropertyTypeDescription
Default NameStringThe default name for each new building added.
Increment Building IdBooleanWhen on, new buildings have an identifier greater than the value of the last building on the list.
Default OffsetDoubleThe vertical offset for each new building.
Default HeightDoubleThe height for each new building.
Default WidthDoubleThe width for each new building.
Default LengthDoubleThe length for each new building.
Default AzimuthDoubleThe azimuth to align each new building to.
Default TypeChoice: Box (0), Roof Gable (1), Wedge (2), Triangle (3), Right Triangle (4), 6 Sided Cylinder (5), 8 Sided Cylinder (6), 16 Sided Cylinder (7), 32 Sided Cylinder (8), 16 Sided Tank (9), 32 Sided Tank (10), Roof Corner 1 (11), Roof Corner 2 (12), Roof Corner 3 (13), Cone (14), 1 Story Building (15), 2 Story Building (16), 1 Story House (17), 2 Story House (18)The type for each new building. The default is 1 Story House (17).
Default IdIntegerThe identifier for each new building.
Default ColorColorThe color for new buildings.

Building Settings

PropertyTypeDescription
Probe ActionChoice: None, Reset Position, Add BuildingChanges the current building’s center or adds a new building at the probed location. Only available when the viewer is connected.
Outline Current BuildingBooleanTurns on or off a bounding rectangle showing the current building being edited.
Delete Current BuildingButtonRemoves the currently selected building from the list of buildings.
Current BuildingChoiceSelects a single building to edit. Options are the buildings currently in the module.
Current Building ValuesBuildingThe values for the currently selected building: type, name, ID, offset, color, coordinates, length, width, height, and azimuth.
  • Sample Buildings File

    Sample Buildings File Below is an example buildings file. Note that the last 4 columns are optional and contain RGB color values (three numbers from zero to 1.0) and/or a building ID number that can be used for coloring. If only color values are supplied (3 numbers) the ID is automatically determined by the row number. If four numbers are provided it is assumed that the last one is the ID. If only one number is provided it is the ID.

Subsections of buildings

Sample Buildings File

Below is an example buildings file. Note that the last 4 columns are optional and contain RGB color values (three numbers from zero to 1.0) and/or a building ID number that can be used for coloring. If only color values are supplied (3 numbers) the ID is automatically determined by the row number. If four numbers are provided it is assumed that the last one is the ID. If only one number is provided it is the ID.

The file below is shown in a table (with dividing lines) for clarity only. The first uncommented line is the number 16 which defines the number of rows of buildings data. The actual file is a simple ASCII file with separators of space, comma and/or tab.

EVS

Copyright (c) 1994-2008 by

C Tech Development Corporation

All Rights Reserved

# This software comprises unpublished confidential information of

# C Tech Development Corporation and may not be used, copied or made

# available to anyone, except in accordance with the license

# under which it is furnished.

C Tech 3D Building file

Building 0 is a unit box with base at z=0.0 centered at origin x,y

Building 1 is a gabled roof for the unit box

# (to make it a house) with base at z=0.0 centered at origin x,y

Building 2 is a wedge roof for the unit box

# (to make it a house) with base at z=0.0 centered at origin x,y

Building 3 is a Equilateral (or Isoseles) Triangular Building 3 side

Building 4 is a Right Triangular Building 3 side

Building 5 is a Hexagonal (6 side) cylinder

Building 6 is a Octagonal (8 side) cylinder

Building 7 is a 16 side cylinder

Building 8 is a 32 side cylinder

Building 9 is a 16 sided horiz. cylindrical tank (Height & Width equal diameter, Length is along x)

Building 10 is a 32 sided horiz. cylindrical tank (Height & Width equal diameter, Length is along x)

Building 11 is a right angle triangle, height only at right angle

Building 12 is a right angle triangle, height at non-right angle

Building 13 is a right angle triangle, height at right angle and 1 non-right angle

Lines beginning with “#” are comments

First uncommented line is number of buildings

X Y Z LengthWidthHeight Angle Bldg_Type Color and/orID

16

0010505020001
010005050303002
0100306050203012
020005050301003
0200305050251023
20000505050034
10010004040201545
20010004040303056
2002000505050067
1002000406020-4578
10000505040089
30000602020-4590.80.60.410
30010005050300100.40.60.411
030005050500111.00.40.412
10030005050500120.41.00.413
20030005050500130.40.41.014

read lines

read lines visualizes a series of points with data connected by lines. It accepts several file formats: with the APDV format the lines are connected by boring ID; with the ELF (EVS Line File) format each line is made by defining the points that make up the line; and with the SAD (Strike and Dip) format there is a choice to connect the samples by ID or by data value (see Connectivity Component).

Glyphs can optionally be placed at each point of the lines, using the same glyph controls as glyphs at nodes.

Ports

DirectionNameTypeDescription
OutputOutput FieldFieldA field containing the line model.
OutputOutput ObjectRenderableA renderable object displaying the line model.

Properties

PropertyTypeDescription
FilenameFileThe file to process into lines. EVS Line Files (.elf) or Analytical Point Data Values (.apdv) files can be used as input.
ExecuteButtonForces the module to run. Available once a file has been selected.
Data ComponentIntegerControls which data value is used to color the lines. The default is -1.
Use Application OriginBooleanWhen true, the module applies the Application Origin. When false, data is left in internal model space. Turn off when loading cross section paths or similar.

Data Processing

PropertyTypeDescription
Log Process Nodal DataBooleanSets the nodal data values to the log value of the input node data.
Log Process Cell DataBooleanSets the cell data values to the log value of the input cell data.
Connectivity ComponentChoice: SAD file lines connected by ID, SAD file lines connected by DataDetermines how SAD files are connected: by sample ID, or by data value.
Clip MinDoubleThe minimum value applied to each data value so that it can be correctly log processed (default 0.0001). Active when Log Process Nodal Data is on or when SAD lines are connected by data.

Glyph Settings

PropertyTypeDescription
Create GlyphsBooleanCreates the selected glyph at each node in the input file.
Generated GlyphChoice: Sphere, Cube, Cone, Cylinder, Polygon, DiskSelects the type of glyph that is automatically generated.
Glyph SizeDoubleScales the glyphs in all directions. The default is automatically computed based on the input data.
Sphere SubdivisionsIntegerThe number of subdivisions to use for spheres (0 to 3). Larger numbers create more detailed sphere representations.
Glyph ResolutionIntegerThe resolution for generated cone, polygon, cylinder, and disk glyphs (1 to 64).
Primary Axis FactorDoubleThe scale factor for the primary axis of the glyph, as a percentage.
Secondary Axis FactorDoubleThe scale factor for the secondary axis of the glyph, as a percentage.
Heading DipHeading/DipHeading and dip values used to align the glyphs to a constant orientation.
RollDoubleThe roll of the glyph along its primary axis (0 to 360 degrees).
Include Center DataBooleanIncludes the center point of each glyph as a cell data component. This allows probing onto the glyph and returning its center instead of the position on the outside of the glyph.

EVS Line File Format

EVS line files contain horizontal and vertical coordinates which describe the 3D locations and property values of a system. Line files must be in ASCII format and can be delimited by commas, spaces, or tabs. They must have an .elf suffix to be selected in the file browsers of EVS modules. Each data line of the file contains the coordinates for one sampling location followed by up to 300 (columns of) property values. There are no computational restrictions on the number of lines that can be included in a file.

EVS line files consist of file tags that delineate the various sections of the file, and data (coordinates, nodal and/or cell data). The file tags are listed below in the order they should appear. If you need assistance creating software to write this file format, please contact support@ctech.com.

  • COORD_UNITS "ft": defines the coordinate units for the file. These should be consistent in X, Y, and Z.
  • NUM_DATA 7 1: the number of nodal data components followed by the number of cell data components.
  • NODE_DATA_DEF 0 "TOTHC" "log_ppm": the definition of a nodal data component. The values are the data component number, the name, and the units.
  • CELL_DATA_DEF 0 "Indicator" "Discrete Unit": the definition of a cell data component, with the same values as NODE_DATA_DEF.
  • LINE 12 1: the beginning of a line, followed on the same line by its cell data values. The lines that follow are the points making up the line: X, Y, Z coordinates followed by the nodal data values, for example 64718.310547 37500.000000 -1250.000000 1 -1250.000000.
  • CLOSED: used at the end of a line definition to indicate that the end of the line should be connected to its beginning.
  • END: marks the end of the data section of the file.

Example File

NUM_DATA 2 0
NODE_DATA_DEF 0 "Node_Number" "Linear_ID"
NODE_DATA_DEF 1 "Distance" "Linear_ft"
LINE
1900297.026154 677367.319824 72.000000 0.000000 0.000000
1900314.256775 677438.611328 72.000000 1.000000 73.344208
1900314.687561 677442.703522 72.000000 2.000000 77.459015
1900316.410645 677447.011261 72.000000 3.000000 82.098587
1900319.641266 677447.442018 72.000000 4.000000 85.357796
1900345.487030 677441.411530 72.000000 5.000000 111.897774
1900360.563782 677439.472870 72.000000 6.000000 127.098656
1900363.579193 677447.226807 72.000000 7.000000 135.418289
1900365.517822 677447.226807 72.000000 8.000000 137.356918
1900365.948608 677438.396118 72.000000 9.000000 146.198105
1900379.733032 677436.888245 72.000000 10.000000 160.064758
1900405.578766 677432.150055 72.000000 11.000000 186.341217
1900497.331879 677416.427002 72.000000 12.000000 279.431763
1900511.331512 677414.919464 72.000000 13.000000 293.512329
1900525.762268 677411.257721 72.000000 14.000000 308.400421
1900527.269775 677405.442444 72.000000 15.000000 314.407898
1900524.900696 677399.411926 72.000000 16.000000 320.887085
1900522.531311 677391.012024 72.000000 17.000000 329.614746
1900517.362366 677357.196808 72.000000 18.000000 363.822754
1900501.854828 677266.951569 72.000000 19.000000 455.390686
1900501.639282 677262.213379 72.000000 20.000000 460.133789
1900500.777710 677255.321014 72.000000 21.000000 467.079773
1900496.470306 677250.151733 72.000000 22.000000 473.808472
1900487.208862 677241.751816 72.000000 23.000000 486.311798
1900450.378204 677201.906097 72.000000 24.000000 540.572083
1900403.568481 677152.368134 72.000000 25.000000 608.727478
1900356.758759 677102.830177 72.000000 26.000000 676.882874
1900309.949036 677053.292221 72.000000 27.000000 745.038269
1900286.257172 677028.523243 72.000000 28.000000 779.313721
1900278.718445 677022.923517 72.000000 29.000000 788.704651
1900269.672546 677024.431061 72.000000 30.000000 797.875305
1900217.334717 677035.200397 72.000000 31.000000 851.309631
1900232.196075 677097.230453 72.000000 32.000000 915.095154
1900247.057434 677159.260513 72.000000 33.000000 978.880615
1900252.226715 677179.937317 72.000000 34.000000 1000.193787
1900267.159851 677242.326401 72.000000 35.000000 1064.345215
1900282.093018 677304.715485 72.000000 36.000000 1128.496460
1900297.026154 677367.104584 72.000000 37.000000 1192.647827
END

read strike and dip

read strike and dip visualizes sampled strike and dip measurements. It places a disk, oriented by strike and dip, at each sample location. Each disk can be probed to display its sample ID, coordinates, strike, dip, and data value, and can be colored by a solid color, by ID, or by data value. If an ID is present, such as a boring ID, there is an option to draw tubes or lines between connected disks (those disks with the same ID), or to connect disks by data value.

Strike and dip refer to the orientation of a geologic feature. The strike is a line representing the intersection of that feature with the horizontal plane (though this is often the ground surface). Strike is represented with a line segment parallel to the strike line. Strike can be given as a compass direction (a single three digit number representing the azimuth) or a basic compass heading (e.g., N, E, NW).

The dip gives the angle of descent of a feature relative to a horizontal plane, and is given by a number (0-90) followed by a letter (N, S, E, W, NE, SW, etc.) corresponding to the rough direction in which the feature is dipping.

Info

The Right-Hand Rule is not supported, therefore all dip values must include the direction letter(s).

Ports

DirectionNameTypeDescription
OutputOutputFieldA field containing the strike and dip model.
OutputOutput ObjectRenderableA renderable object displaying the strike and dip model.

Properties

PropertyTypeDescription
FilenameFileThe strike and dip file (*.sad) to read.
ExecuteButtonForces the module to run. Available once a file has been selected.

Display Settings

PropertyTypeDescription
Disk Thickness PercentageDoubleSets the thickness of each disk as a percentage of the coordinate extents of the model.
Minimum Disk RadiusDoubleThe minimum radius for each disk, in model coordinates.
Radius ExtentDoubleThe disk radius as a percentage of the X, Y, and Z extents of the model (default 2).
Disk ResolutionIntegerThe number of prisms used to make each disk. The greater the number of prisms, the more “round” the disk. Resolutions based on a factor of four are recommended, as they allow the dip and strike lines to end at the extents of the disk.
Include Dip As DataBooleanAdds the dip angle as data so the dip lines can be colored by it.
Display Dip LinesBooleanTurns the dip lines on and off.
Include Strike As DataBooleanAdds the strike as data so the strike lines can be colored by it.
Display Strike LinesBooleanTurns the strike lines on and off.
Connectivity ComponentChoice: SAD file lines connected by ID, SAD file lines connected by Data, Do not connect disks with linesDetermines how the disks are connected: by sample ID, by data value, or not at all.
Display AsChoice: None, Tubes, WiresControls how the connecting (boring) lines are displayed: turned off entirely, displayed as tubes, or displayed as wires.
Tube RadiusDoubleThe radius for the tubes. When linked, it is 50 percent of the minimum disk radius.
Tube ResolutionIntegerThe number of sides each tube has. More sides produce more “round” tubes but may display more slowly.
Main ColorColorThe first of two colors used to divide each boring tube.
Secondary ColorColorThe second of two colors used to divide each boring tube.
Color SeparationDoubleThe length each of the Main Color and Secondary Color runs before switching to the other. This can be used as a visual clue to the vertical scale of the model.
Include Center DataBooleanIncludes the center point of each tube end point as a cell data component. This allows probing onto the tube and returning its center instead of the position on the outside of the tube.

Strike and Dip File Format

Strike and dip files consist of 3D coordinates along with two orientation values called strike and dip. A simple disk is placed at the coordinate location, rotated about Z to match the strike, and then rotated about Y to match the dip. An optional ID and data value can be used to color the disk.

You may insert comment lines in C Tech Strike and Dip (.sad) input files. Comments can be inserted anywhere in a file and must begin with a ‘#’ character. There is no required header for this file type.

Strike can be defined in the following ways:

  1. For strikes running along an axis:
    • N, S, NS, SN are all equivalent to 0 or 180, and will always have a dip to E or W
    • E, W, EW, WE are all equivalent to 90 or 270, and will always have a dip to N or S
    • NE, SW are both equivalent to 135 or 315, and can have a dip specified to N, S, E, or W
    • NW, SE are both equivalent to 45 or 225, and can have a dip specified to N, S, E, or W
  2. For all other strikes: any compass direction between 0 and 360 degrees can be specified, with the dip direction clarifying which side of the strike is downhill.

Dip can be defined only in degrees in the range of 0 to 90.0, followed by a direction, such as 35.45E.

Each line of the file must contain X, Y, Z, Strike, Dip, ID (optional), and Data (optional). The ID can only contain spaces if enclosed in quotation marks (e.g., “ID 1”).

The following optional file tags may also be used:

  • COORD_UNITS "ft": defines the coordinate units for the file. These should be consistent in X, Y, and Z.
  • END: marks the end of the data. This is optional, but should be used if any lines follow your actual data lines.

If you need assistance creating software to write this file format, please contact support@ctech.com.

Example File

# x y z strike dip
51.967 10.948 26.127 35.205 59.8031E
50.373 33.938 26.127 13.048 68.49984E
51.654 60.213 26.127 139.18 76.74215E
50.529 83.203 26.127 213.50 62.94599E
64.358 76.634 11.471 114.23 80.38694E
66.430 33.938 -6.849 41.421 60.38837E
75.901 50.360 -21.505 60.141 72.88960E
72.943 7.663 -21.505 5.255 65.51247E
101.90 30.654 -72.801 77.675 65.9524E
81.339 50.360 -43.489 244.95 70.7079E
72.263 73.350 -21.505 82.929 69.3159E
89.897 73.350 -61.809 31.531 55.6570E
END

read glyph

read glyph reads glyphs saved in any of the three primary EVS field file formats and allows you to modify the shape and orientation of the glyph so it can be used in the various modules that employ glyphs in slightly different ways. These include glyphs at nodes, place glyph, drive glyphs, post samples, and others. Most modules except post samples use the glyphs without changing the default alignment. The supported file formats are:

  1. .eff: ASCII format, best if you want to be able to open the file in an editor or print it
  2. .efz: GNU Zip compressed ASCII, the same as .eff but in a zip archive
  3. .efb: binary compressed format, the smallest and fastest format due to its binary form

For a description of the EFF file formats click here.

The objects saved in these files should be simple geometric objects, ideally designed to fit in a unit box centered at the origin (0,0,0). For optimal performance the objects should not include nodal or cell data. You may create your own objects or use any of the ones that C Tech supplies in the ctech\data\glyphs folder. Glyph files are read without applying the application origin, since glyphs are defined in their own local coordinates.

Ports

DirectionNameTypeDescription
OutputOutputFieldA field containing the glyph.
OutputOutput ObjectRenderableA renderable object displaying the glyph.

Properties

PropertyTypeDescription
FilenameFileThe field file containing the glyph object.
ExecuteButtonForces the module to run. Available once a file has been selected.
Offset BaseBooleanChanges the origin of the glyph from its centroid to its base.
AlignmentChoice: Orient For Vector, Align VerticallyDetermines the orientation of the glyph. Align Vertically rotates the glyph so its directional axis points vertically.
RollDoubleControls the rotation about the roll axis (the glyph’s directional axis), from 0 to 180 degrees.
Length FactorDoubleScales the length of the glyph (default 1).
Width FactorDoubleScales the width of the glyph (default 1).
Height FactorDoubleScales the height of the glyph (default 1).

import geometry

import geometry reads STL, PLY, OBJ, and .G files containing object geometries.

This module provides the capability to integrate site plans, topography, buildings, and other 3D features into EVS visualizations.

Info

Files of this type are very often not in the model’s projected coordinate system, so the module does not apply the application origin by default. Instead, a Transform Settings group allows any combination of translations, rotations, and scaling to place the geometry in the same coordinate space as the rest of the model.

Ports

DirectionNameTypeDescription
OutputOutput FieldFieldThe main output field of the triangulated model.
OutputOutput ObjectRenderableA renderable object displaying the triangulated model.

Properties

PropertyTypeDescription
Allow RunBooleanPrevents the module from running when turned off.
FilenameFileThe file containing the triangulated geometry (.stl, .obj, .ply, or .g).
ExecuteButtonRuns the module one time even if Allow Run is turned off. This allows multiple changes to be made with only one update.
Use Application OriginBooleanWhen true, the module applies the Application Origin. When false (the default), coordinates are left in internal model space.

Transform Settings

PropertyTypeDescription
Transform ListTransform ListThe list of transformations applied to the input field. Any number of Translate, Rotate, or Scale transformations can be added, applied in order; rotations and scaling are about a center point which defaults to the center of the input field.