DXF-G(1)

NAME
dxf-g - DXF Translator (DXF to BRL-CAD)

SYNOPSIS
dxf-g [-c] [-d] [-v] [-s scale_factor] [-t tolerance] file.dxf database.g

DESCRIPTION
dxf-g converts the specified file.dxf to a BRL-CAD database.g file. The -c option specifies that only the first color seen for a layer should be used. Without this option, layers may be broken into seperate BOT primitives according to color assigned. The -d option sets a debug flag. The only effect is to cause a core dump on failure. This is probably not useful except for developers. The -v option produces very verbose output on stderr. The -s option provides a scale factor to be applied to the DXF input. This can be used for DXF files that do not provide units information. The -t option specifies the maximum distance (in mm) between two vertices at which the two vertices will be considered to be the same vertex. The file.dxf file is expected to be in the Autodesk DXF format as defined in the Autocad 2000 manuals. This converter handles entities of type POLYLINE, VERTEX, LINE, CIRCLE, ARC, and 3DFACE. The POLYLINE entities in AUTOCAD are actually a container for numerous different entity types. The types of POLYLINE entities converted include 3D polylines, 3D polygon meshes, and polyface meshes. Each layer is converted to a seperate object. Colors are also converted.

EXAMPLE
    $ dxf-g sample.dxf sample.g

SEE ALSO
http://www.autodesk.com/techpubs/autocad/acad2000/dxf/index.htm

DIAGNOSTICS
Error messages are intended to be self-explanatory.

AUTHOR
John Anderson

SOURCE
SLAD/BVLD/VMB Advanced Computer Systems Team
The U. S. Army Research Laboratory
Aberdeen Proving Ground, MD 21005

BUG REPORTS
Reports of bugs or problems should be submitted via electronic mail to <devs@brlcad.org>.