## Name

g-nff — NFF Translator (BRL-CAD to NFF)

## Synopsis

`g-nff` [-v ] [-i ] [-xX `lvl`] [-e `error_file`] [-D `calculation_tolerance`] [-a `abs_tol`] [-r `rel_tol`] [-n `norm_tol`] [-o `output.nff`] `database.g` `object(s)`

## DESCRIPTION

g-nff converts the specified object(s) from a BRL-CAD database.g file to the NFF file format. The `-x` option specifies an RT debug flag and the `-X` option specifies an NMG debug flag. The `-a` , `-r` , and `-n` options specify tessellation tolerances. The `-D` option specifies a calculational distance tolerance (mm). Any two vertices that are less than this distance apart will be treated as the same vertex. The `-v` option requests verbose output. The `-i` option requests the output file units to be inches (the default is mm). The `-o` option specifies the name of the file to receive the output (stdout is the default). The `-e` option specifies a file for receiving the error messages.

## EXAMPLE

    $ g-nff -o sample.nff sample.g sample_object

## DIAGNOSTICS

Error messages are intended to be self-explanatory.

## AUTHOR

BRL-CAD Team

## COPYRIGHT

This software is Copyright (c) 2003-2013 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>.