DSKEXP User's Guide |
Table of ContentsDSKEXP User's Guide Abstract Summary DSKEXP output formats Running DSKEXP Examples DSKEXP User's Guide
Abstract
Summary
DSKEXP currently is limited to processing type 2 (plate model) DSK segments. If the input DSK file contains multiple segments, an output text file will be created for each segment. DSKEXP output formats
<vertex count NV> 1 <vertex 1 X value><Y value><Z value> ... NV <vertex NV X value><Y value><Z value> <plate count NP> 1 <plate 1 vertex 1 ID><vertex 2 ID><vertex 3 ID> ... NP <plate NP vertex 1 ID><vertex 2 ID><vertex 3 ID>
v <vertex 1 X value><Y value><Z value> ... v <vertex NV X value><Y value><Z value> f <plate 1 vertex 1 ID><vertex 2 ID><vertex 3 ID> ... f <plate NP vertex 1 ID><vertex 2 ID><vertex 3 ID>
<vertex count NV> <plate count NP> <vertex 1 X value><Y value><Z value> ... <vertex NV X value><Y value><Z value> 3 <plate 1 vertex 1 ID><vertex 2 ID><vertex 3 ID> ... 3 <plate NP vertex 1 ID><vertex 2 ID><vertex 3 ID>The Gaskell ICQ format (MKDSK code 2) is not supported as an export format. See the MKDSK User's Guide for further information on these text file formats. Running DSKEXP
dskexp -dsk <dsk> -text <output name> -format <MKDSK format code/name> [-prec <# of vertex mantissa digits (1:17)>]The parameters other than the output precision must be present in the command. The value associated with the keyword
-formatspecifies the output file format. All of the supported output formats are valid MKDSK input file formats. See the section ``DSKEXP output formats'' above for further information. Output formats may be specified by name or by integer code. If the input file contains multiple segments, an output file will be written for each segment. The file for the nth segment, where n is greater than 1, will have the string
_<n-1>appended to the output file name specified on the command line. For example, if the input DSK contains multiple segments and if the specified output file name is
phobos.pltthen the file for the first segment will have that name, the file for the second segment will be named
phobos.plt_1and so on. The optional output precision specification allows users to limit the precision of the double precision numbers representing components of plate model vertices. Reducing the output precision can significantly reduce the size of the output file. By default, full precision (17 mantissa digits) is used. The command
dskexp(without parameters) causes DSKEXP to dump a usage summary, as do the commands
dskexp -usage dskexp -u dskexp -help dskexp -h Examples
dskexp -dsk phobos.bds -text phobos.obj -format vertex-facet
dskexp -dsk phobos.bds -text phobos.obj -format obj -prec 9
dskexp -dsk phobos.bds -text phobos.obj -format 3 -prec 9
dskexp -dsk phobos.bds -text phobos.obj -format plate-vertex
dskexp -dsk phobos.bds -text phobos.obj -format 1
dskexp -dsk phobos.bds -text phobos.obj -format ver
dskexp -dsk phobos.bds -text phobos.obj -format 4 |