| Input File Triangle Generation
The following sample input file is intended for
generating a triangulation of a surveyed detail model:
MOSS
COMPILED BY username,
date
SUBS
SYSDEL,TRIANGLES.PRN
999
OUTPUT,TRIANGLES
DELETE,TRIANGLES
COMPRESSMODELFILE
CREATE,TRIANGLES
TRIANGLE,"ground model"
TRIANGLE,TRIANGLES
019,L B ,4=1
019,EJB ,4=1
019,PMBX,4=1
019,BEB ,4=1
019,BDB ,4=1
019,PJCT,4=-1
019,PBDR,4=-1
019,PMAP,4=-1
019,PSGL,4=-1
019,PSTT,4=-1
019,PBMK,4=-1
019,PRJM,4=-1
019,PMON,4=-1
019,PGRV,4=-1
019,PBOR,4=-1
019,PDHL,4=-1
019,PWEL,4=-1
019,PPST,4=-1
019,PCCT,4=-1
019,PPBX,4=-1
019,SP ,4=-1
019,RR ,4=-1
019,U ,4=-1
019,PSSA,4=-1
019,PSDR,4=-1
019,DP ,4=-1
019,PSUM,4=-1
019,PMH ,4=-1
019,PCBD,4=-1
019,PDID,4=-1
019,PHYD,4=-1
019,PWSO,4=-1
019,PWGT,4=-1
019,PSTP,4=-1
019,PIPN,4=-1
019,PCON,4=-1
019,PBND,4=-1
019,BG ,4=-1
019,WD ,4=-1
019,HW ,4=-1
019,GA ,4=-1
019, B ,4=-1
019,PMDF,4=-1
019,PGAS,4=-1
019,PFTK,4=-1
019,FMV ,4=-1
019,PEVV,4=-1
019,PLIT,4=-1
019,PSIL,4=-1
019,JB ,4=-1
019,PSLM,4=-1
019,PARK,4=-1
019,PTLM,4=-1
019,BP ,4=-1
019,DS ,4=-1
019,AE ,4=-1
960,,,TX00
961,,TX00,TX00,10=1
999
OUTPUT
FINISH
If an output file already exists, MX will not
automatically overwrite or replace it. Therefore the beginning of this file contains commands to
clear the old output file. Major option Output creates a new output file
and begins recording.
If a triangle model exists, then it is necessary
to avoid appending model detail with itself. Therefore Delete the model
detail prior to new input (It never hurts to delete a model that is not
there). Since a potentially large model has just been deleted, take this
opportunity to Compress the model file. Then Create the triangle model
to prepare for the following input.
After the Triangle major option records are the
019 masking minor options. See String Masking
for more details about masking. This sample file contains most of the
recommended strings to mask. This list may vary from project to project.
The 960 minor option generates the initial
triangulation. The 961 minor option trims the triangulation to eliminate triangles
that span outside valid string data. Refer to the MX Command Language
Reference manual (or the Moss Quick Reference Guide) for details about
major and minor options.
Near the end of the file but before major option
Finish,
is major option Output. With no file specification, this option will
close the output file initiated at the beginning of this file.
Refer to MX Input Files
for a greater explanation of input files. Triangulation
models created from input files are not assigned style and feature sets.
The appropriate model defaults for triangulation models is MfW
Triangulation.pts/fns. Refer to Style Sets
for directions on assigning model defaults. |