Name

euclid-g — EUCLID Translator (EUCLID to BRL-CAD)

Synopsis

euclid-g [options...] [< euclid_file]

DESCRIPTION

euclid-g converts the specified euclid_file to a BRL-CAD database.g file. The euclid_file is expected to be an ASCII file format that is the "decoded" version of the Euclid file. The decoded file represents each object as a series of polygonal faces. Each face may be one of either a simple face (no holes), a complex face (contains at least one hole), or a simple hole. This converter creates a region for each object ID number by unioning together all the objects with the same ID number.

The following options are recognized:

-d tolerance

sets tolerance (units of mm); default value is 0.0005

-v

turns on verbose mode, for debugging; its output is to standard error

-i euclid_file_name

sets input file name; default is to take standard input

-o filename.g

sets output file name; default file name is euclid.g

-n

indicates NOT to write as polysolids; opposite of -p

-p

indicates to write as polysolids (this is default); opposite of -n

-x # and -X #

sets debug flags

EXAMPLE

$ euclid-g sample.euclid sample.g

DIAGNOSTICS

Error messages are intended to be self-explanatory.

AUTHOR

BRL-CAD Team

COPYRIGHT

This software is Copyright (c) 1993-2016 by the United States Government as represented by U.S. Army Research Laboratory.

BUG REPORTS

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