TRIDM

Use this to convert a Datamine triangulation into a Vulcan triangulation(s).

Datamine wire frames consist of two files:

ASCII wire frames
<filename>tr.asc
<filename>pt.asc

Binary wire frames
<filename>tr.dm
<filename>pt.dm

The " tr " file contains the triangle data, the " pt " file contains the point data. This program combines both these files.


Usage:

tridm [options] <datamine triangulation>

<> indicates a mandatory switch.
[ ] indicates an optional switch


Where:

Option

Description

[options]

The [options] for this executable are:

-a
or
--ascii

Interpret the nominated Datamine triangulation as an ASCII file. If this switch is not specified, then the nominated triangulation will be interpreted as a binary file.

-c <start_col> [end_col]
or
--colour <start_col> [end_col]

Colour limits used (between 1 and 32).

Important This switch will be ignored if -s or -- split is not used.

-d <directory>
or
--output directory <directory>

Refers to the directory that will store the resulting Vulcan triangulations. If this switch is omitted, then the resulting triangulations will be saved to the current working directory.

-m <digits>
or
--min_digits <digits>

Minimum number of digits (padded with 0s) in tri name when splitting.

Enter the number of digits (between 0-9) that will be used when naming the resulting triangulations. The specified value will be used to naming the triangulations in the following format:

<Datamine>_<digits><Colour>dm.00t

where <Datamine> refers to the name of the imported Datamine triangulation; <digits> refers to the number of zeros used to name the resulting triangulation; <Colour> refers to the Datamine Colour field value and 'dm' indicates that the triangulation was created from a Datamine triangulation.

Example

Datamine triangulation name: TEST
Colour field values: 1, 13, 17 and 20
Minimum number of digits: 3
Resulting Vulcan triangulations: TEST_001dm.00t, TEST_013dm.00t, TEST_017dm.00t and TEST_020dm.00t

-s
or
--split

Split triangulation based upon Datamine Colour field.

-v
or
--verbose

Print out messages.

<datamine triangulation>

Refers to the name of the Datamine triangulation that you want to import into Vulcan.