top2dxf - BSU reads a survey file (*.nez) and converts it to a (*.dxf) CAD file
top2dxf [ -h | infile | isw1 | ilabel | txtsiz ]
Basic Seismic Utilities (BSU) reads a Northing, Easting, Elevation (*.nez) survey file and converts coordinates and labels to a Digital Exchange Format (*.dxf) file. The *.nez file is assumed to have 5 fields, 12 characters per field. (ignores sequence number, reads Y-coord, X-coord, and Z-coord., alpha-numeric label). The *.dxf file can then be read by MicroStation, AutoCad, or any other CAD program that can import *.dxf files. Code is designed for UNIX file conventions. Fortran 77.
Options
-h |
Online help giving details on command line arguments | ||
infile |
Input file name | ||
isw1 |
Switch to select option. |
0=no limits header written (recommended if input into an existing CAD drawing)
1=write max and minimum limits to *.dxf file
ilabel |
Switch to select label option. |
0=do not print labels (5th field from *.nez file)
1=do print labels
txtsiz |
Size of text labels in drawing units. |
NOTE:
If invoked with no options, will prompt user for input
parameters.
EXAMPLE:
top2dxf STP001.nez 0 1 2.
Read survey data from STP001.nez and don’t write drawing limits. Do write labels next to points in the CAD *.dxf file, and draw the letters 2 meters high (assuming the *.nez file was in SI units).
in_file.dxf
Name convention is input file name with .dxf added. For example above, STP001.dxf would be the output file name. This is the file to be imported by a CAD program.
standard output
produces a progress bar
in_file.lst
echo check of input parameters.
bhelp(1), bcad(1)
No known bugs.
Copyright © 2024 by Paul Michaels
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
P. Michaels, PE. <paulmichaels@.boisestate.edu>