Read a dataset from any of six different EVS compatible file formats into an EVS field.
The import VTK module reads a dataset from the VTK format.
Read all versions of AutoCAD DWG and DXF files as well as Microstation DGN files.
Reads vector file formats such as shapefiles.
Read several different raster format files as a single horizon.
Create 3d buildings interactively or from a file.
Read a series of points with data connected by lines.
Read sampled locations with strike and dip values.
Reads glyphs saved in any of the three primary EVS field file formats.
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
| Direction | Name | Type | Description |
|---|---|---|---|
| Output | File Notes | String | Text containing the notes stored in the file. |
| Output | Output | Field | A field containing EVS field file contents. |
| Output | Output Object | Renderable | A renderable object displaying the EVS field file contents. |
Properties
| Property | Type | Description |
|---|---|---|
| Filename | File | The field file to read (.ef2, .efb, .efz, or .eff). |
| Execute | Button | Forces 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 Run | Boolean | When turned off, prevents the module from running. |
| Output Quality | Choice: Highest Quality, Fast Output | Controls 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 Filename | File | The field file to read when in low output quality mode. |
| Explode | Double | The 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 Offset | Double | Translates the entire model in Z by the value input. This is useful for moving the model to avoid coincident objects. |
| Handle Application Origin | Boolean | Controls whether the geometry in an EF2 file is automatically translated to the application origin or read without any modifications. |
Explode And Scale Settings
| Property | Type | Description |
|---|---|---|
| Explode By | Choice: Layer, Lithology or Material, Cell Set | Determines 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 Begins | Integer | Determines the first layer or material that will be exploded. |
| Explode Ends | Integer | Sets the last layer or material that will be exploded. This value defaults to -1, which explodes all remaining layers or materials. |
| Cell Sets | Multi-select | Allows 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
| Property | Type | Description |
|---|---|---|
| Author | String (read-only) | Displays the author of the file. |
| Organization | String (read-only) | Displays the organization of the file. |
| Project Name | String (read-only) | Displays the project name of the file. |
| Restrictions | String (read-only) | Displays the restrictions information of the file. |
| Status | String (read-only) | Displays the status information of the file. |
| Creation Date | Date (read-only) | Displays the creation date if it is set in the file. |
| EVS Creation Version | String (read-only) | Displays the EVS version that created the file (EF2 files only). |
| Description | String (read-only) | Displays the description of the file. |
| File Notes | String (read-only) | Displays the file notes if they are set in the 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.
.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
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:
Mesh+Node_Data
Mesh+Cell_Data
Mesh+Node_Data+Cell_Data
Mesh_Struct+Node_Data (Geology)
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:
MINMAX - two numbers follow which are the data minimum and maximum. This behaves much like the set_min_max module.
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)
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:
MINMAX - two numbers follow which are the data minimum and maximum. This behaves much like the cell_set_min_max module.
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
| Direction | Name | Type | Description |
|---|---|---|---|
| Output | Output | Field | A field containing VTK file contents. |
| Output | Output Object | Renderable | A renderable object displaying the VTK file contents. |
Properties
| Property | Type | Description |
|---|---|---|
| Filename | File | The VTK file to read. |
| Use Application Origin | Boolean | When 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 Cells | Boolean | Splits 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. |
| Execute | Button | Forces the module to run. Available once a file has been selected. |
| Units | String | The 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
| Direction | Name | Type | Description |
|---|---|---|---|
| Output | Output | Field | A field containing the CAD data. |
| Output | Output Object | Renderable | A renderable object displaying the CAD data. |
Properties
| Property | Type | Description |
|---|---|---|
| Filename | File | The name of the CAD dwg, dxf, or dgn file to be rendered. |
| Use Application Origin | Boolean | When 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. |
| Execute | Button | Forces the module to run. Available once a file has been selected. |
Data Processing
| Property | Type | Description |
|---|---|---|
| Render Mode | Choice: Model Default, Wire-frame, Flat-Shaded | Controls how the CAD data is rendered. The default is Flat-Shaded. |
| Unit Handling | Choice: Units From File, Force Default Units | Determines whether to use units from the CAD file or force the use of the default coordinate units. |
| Default Coordinate Units | String | The units to use when the units cannot be determined from the CAD file. The default is m (meters). |
| Remove Coincident Nodes | Boolean | Processes the data to remove coincident nodes. This takes longer but creates a smaller, more efficient representation of the CAD data. |
| Include Hidden Layers | Boolean | Causes CAD layers marked as hidden to be drawn. |
| Remove Points And Degenerate Cells | Boolean | Removes all points and degenerate cells from the output. |
| Show As Wireframe | Boolean | Outlines surfaces. Equivalent to setting Line Rendering to “regular”. |
| Color For White | Color | Sets the color used for any feature colored white. When linked, it uses the application foreground color. |
| Deviation For Curves | Double | The 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 Solids | Double | The tolerance for parallel faces (default 15). |
| Separate Layers | Boolean | Causes each layer in the CAD file to be output as a separate cell set in EVS. |
| Layer Details | Color Choices | Selects 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 Layer | Boolean | Removes 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
| Direction | Name | Type | Description |
|---|---|---|---|
| Output | Output | Field | A field containing the vector GIS data. |
| Output | Output Object | Renderable | A renderable object displaying the vector GIS data. |
Properties
| Property | Type | Description |
|---|---|---|
| Filename | File | The name of the vector file to read. |
| Layer | Choice | When 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 Origin | Boolean | When true, the module applies the Application Origin. When false, data is left in internal model space. |
| Execute | Button | Forces the module to run. Available once a file has been selected. |
Data Processing
| Property | Type | Description |
|---|---|---|
| Coordinate Units | String | Specifies 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 Z | Boolean | When on, the attribute selected in Data To Assign To Z is assigned as the Z coordinate. |
| Data To Assign To Z | Choice | Selects 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 Output | Multi-select | Selects 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
| Direction | Name | Type | Description |
|---|---|---|---|
| Output | Output Geologic Field | Field | The main geologic field output from the module. |
| Output | Geology Export Output | Vistas Data | Information required for direct exporting of geology to other software. |
Properties
| Property | Type | Description |
|---|---|---|
| Allow Run | Boolean | When 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. |
| Execute | Button | Forces the module to run. If pressed and the application is saved, the module will run when the application is loaded. |
| Filename | File | The raster file to read. Supported formats include DEMs, Surfer grid files, MrSID files, ADF files, and others. |
| Material Number | Integer | The material number for the surface being read. |
| Coord Units | String | The coordinate units for the surface being read. The default is m (meters). |
| Surface Name | String | The surface name for the surface being read. The default is Layer_0. |
Surface Controls
| Property | Type | Description |
|---|---|---|
| Raster Band | Integer | Selects a single raster band when reading image formats such as JPEG or TIFF. |
| Downsize | Integer | Reduces the resolution of the input raster. A value of 0 reads the raster at full resolution. |
| Blanks As Null | Boolean | Specifies 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 I | Integer | Crops the lower bound of the raster in the I (column) direction. |
| Max I | Integer | Crops the upper bound of the raster in the I (column) direction. The default of -1 uses the full extent. |
| Min J | Integer | Crops the lower bound of the raster in the J (row) direction. |
| Max J | Integer | Crops the upper bound of the raster in the J (row) direction. The default of -1 uses the full extent. |
| Max Total Resolution | Integer | Causes 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
| Direction | Name | Type | Description |
|---|---|---|---|
| Output | Output | Field | A field containing the buildings. |
| Output | Output Object | Renderable | A renderable object displaying the buildings. |
Properties
| Property | Type | Description |
|---|---|---|
| Import File | File | Imports an existing .bldg file. |
| Reload Import File | Button | Forces the module to load the import file and run. |
| Building Height Scale | Double | Vertically exaggerates the height of each building. |
| Building Offset | Double | Moves all buildings vertically by the set amount. |
| Export File | File | Exports the current buildings to a .bldg file. |
Default Building Settings
| Property | Type | Description |
|---|---|---|
| Default Name | String | The default name for each new building added. |
| Increment Building Id | Boolean | When on, new buildings have an identifier greater than the value of the last building on the list. |
| Default Offset | Double | The vertical offset for each new building. |
| Default Height | Double | The height for each new building. |
| Default Width | Double | The width for each new building. |
| Default Length | Double | The length for each new building. |
| Default Azimuth | Double | The azimuth to align each new building to. |
| Default Type | Choice: 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 Id | Integer | The identifier for each new building. |
| Default Color | Color | The color for new buildings. |
Building Settings
| Property | Type | Description |
|---|---|---|
| Probe Action | Choice: None, Reset Position, Add Building | Changes the current building’s center or adds a new building at the probed location. Only available when the viewer is connected. |
| Outline Current Building | Boolean | Turns on or off a bounding rectangle showing the current building being edited. |
| Delete Current Building | Button | Removes the currently selected building from the list of buildings. |
| Current Building | Choice | Selects a single building to edit. Options are the buildings currently in the module. |
| Current Building Values | Building | The values for the currently selected building: type, name, ID, offset, color, coordinates, length, width, height, and azimuth. |
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
| 0 | 0 | 10 | 50 | 50 | 20 | 0 | 0 | 1 | |||
|---|---|---|---|---|---|---|---|---|---|---|---|
| 0 | 100 | 0 | 50 | 50 | 30 | 30 | 0 | 2 | |||
| 0 | 100 | 30 | 60 | 50 | 20 | 30 | 1 | 2 | |||
| 0 | 200 | 0 | 50 | 50 | 30 | 10 | 0 | 3 | |||
| 0 | 200 | 30 | 50 | 50 | 25 | 10 | 2 | 3 | |||
| 200 | 0 | 0 | 50 | 50 | 50 | 0 | 3 | 4 | |||
| 100 | 100 | 0 | 40 | 40 | 20 | 15 | 4 | 5 | |||
| 200 | 100 | 0 | 40 | 40 | 30 | 30 | 5 | 6 | |||
| 200 | 200 | 0 | 50 | 50 | 50 | 0 | 6 | 7 | |||
| 100 | 200 | 0 | 40 | 60 | 20 | -45 | 7 | 8 | |||
| 100 | 0 | 0 | 50 | 50 | 40 | 0 | 8 | 9 | |||
| 300 | 0 | 0 | 60 | 20 | 20 | -45 | 9 | 0.8 | 0.6 | 0.4 | 10 |
| 300 | 100 | 0 | 50 | 50 | 30 | 0 | 10 | 0.4 | 0.6 | 0.4 | 11 |
| 0 | 300 | 0 | 50 | 50 | 50 | 0 | 11 | 1.0 | 0.4 | 0.4 | 12 |
| 100 | 300 | 0 | 50 | 50 | 50 | 0 | 12 | 0.4 | 1.0 | 0.4 | 13 |
| 200 | 300 | 0 | 50 | 50 | 50 | 0 | 13 | 0.4 | 0.4 | 1.0 | 14 |
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
| Direction | Name | Type | Description |
|---|---|---|---|
| Output | Output Field | Field | A field containing the line model. |
| Output | Output Object | Renderable | A renderable object displaying the line model. |
Properties
| Property | Type | Description |
|---|---|---|
| Filename | File | The file to process into lines. EVS Line Files (.elf) or Analytical Point Data Values (.apdv) files can be used as input. |
| Execute | Button | Forces the module to run. Available once a file has been selected. |
| Data Component | Integer | Controls which data value is used to color the lines. The default is -1. |
| Use Application Origin | Boolean | When 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
| Property | Type | Description |
|---|---|---|
| Log Process Nodal Data | Boolean | Sets the nodal data values to the log value of the input node data. |
| Log Process Cell Data | Boolean | Sets the cell data values to the log value of the input cell data. |
| Connectivity Component | Choice: SAD file lines connected by ID, SAD file lines connected by Data | Determines how SAD files are connected: by sample ID, or by data value. |
| Clip Min | Double | The 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
| Property | Type | Description |
|---|---|---|
| Create Glyphs | Boolean | Creates the selected glyph at each node in the input file. |
| Generated Glyph | Choice: Sphere, Cube, Cone, Cylinder, Polygon, Disk | Selects the type of glyph that is automatically generated. |
| Glyph Size | Double | Scales the glyphs in all directions. The default is automatically computed based on the input data. |
| Sphere Subdivisions | Integer | The number of subdivisions to use for spheres (0 to 3). Larger numbers create more detailed sphere representations. |
| Glyph Resolution | Integer | The resolution for generated cone, polygon, cylinder, and disk glyphs (1 to 64). |
| Primary Axis Factor | Double | The scale factor for the primary axis of the glyph, as a percentage. |
| Secondary Axis Factor | Double | The scale factor for the secondary axis of the glyph, as a percentage. |
| Heading Dip | Heading/Dip | Heading and dip values used to align the glyphs to a constant orientation. |
| Roll | Double | The roll of the glyph along its primary axis (0 to 360 degrees). |
| Include Center Data | Boolean | Includes 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 example64718.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
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
| Direction | Name | Type | Description |
|---|---|---|---|
| Output | Output | Field | A field containing the strike and dip model. |
| Output | Output Object | Renderable | A renderable object displaying the strike and dip model. |
Properties
| Property | Type | Description |
|---|---|---|
| Filename | File | The strike and dip file (*.sad) to read. |
| Execute | Button | Forces the module to run. Available once a file has been selected. |
Display Settings
| Property | Type | Description |
|---|---|---|
| Disk Thickness Percentage | Double | Sets the thickness of each disk as a percentage of the coordinate extents of the model. |
| Minimum Disk Radius | Double | The minimum radius for each disk, in model coordinates. |
| Radius Extent | Double | The disk radius as a percentage of the X, Y, and Z extents of the model (default 2). |
| Disk Resolution | Integer | The 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 Data | Boolean | Adds the dip angle as data so the dip lines can be colored by it. |
| Display Dip Lines | Boolean | Turns the dip lines on and off. |
| Include Strike As Data | Boolean | Adds the strike as data so the strike lines can be colored by it. |
| Display Strike Lines | Boolean | Turns the strike lines on and off. |
| Connectivity Component | Choice: SAD file lines connected by ID, SAD file lines connected by Data, Do not connect disks with lines | Determines how the disks are connected: by sample ID, by data value, or not at all. |
| Display As | Choice: None, Tubes, Wires | Controls how the connecting (boring) lines are displayed: turned off entirely, displayed as tubes, or displayed as wires. |
| Tube Radius | Double | The radius for the tubes. When linked, it is 50 percent of the minimum disk radius. |
| Tube Resolution | Integer | The number of sides each tube has. More sides produce more “round” tubes but may display more slowly. |
| Main Color | Color | The first of two colors used to divide each boring tube. |
| Secondary Color | Color | The second of two colors used to divide each boring tube. |
| Color Separation | Double | The 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 Data | Boolean | Includes 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:
- 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
- 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
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:
- .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, the same as .eff but in a zip archive
- .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
| Direction | Name | Type | Description |
|---|---|---|---|
| Output | Output | Field | A field containing the glyph. |
| Output | Output Object | Renderable | A renderable object displaying the glyph. |
Properties
| Property | Type | Description |
|---|---|---|
| Filename | File | The field file containing the glyph object. |
| Execute | Button | Forces the module to run. Available once a file has been selected. |
| Offset Base | Boolean | Changes the origin of the glyph from its centroid to its base. |
| Alignment | Choice: Orient For Vector, Align Vertically | Determines the orientation of the glyph. Align Vertically rotates the glyph so its directional axis points vertically. |
| Roll | Double | Controls the rotation about the roll axis (the glyph’s directional axis), from 0 to 180 degrees. |
| Length Factor | Double | Scales the length of the glyph (default 1). |
| Width Factor | Double | Scales the width of the glyph (default 1). |
| Height Factor | Double | Scales 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
| Direction | Name | Type | Description |
|---|---|---|---|
| Output | Output Field | Field | The main output field of the triangulated model. |
| Output | Output Object | Renderable | A renderable object displaying the triangulated model. |
Properties
| Property | Type | Description |
|---|---|---|
| Allow Run | Boolean | Prevents the module from running when turned off. |
| Filename | File | The file containing the triangulated geometry (.stl, .obj, .ply, or .g). |
| Execute | Button | Runs the module one time even if Allow Run is turned off. This allows multiple changes to be made with only one update. |
| Use Application Origin | Boolean | When true, the module applies the Application Origin. When false (the default), coordinates are left in internal model space. |
Transform Settings
| Property | Type | Description |
|---|---|---|
| Transform List | Transform List | The 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. |



