G-PLY 1 BRL-CAD BRL-CAD User Commands
g-ply Stanford PLY exporter (BRL-CAD to PLY)
`g-ply` -v -xX lvl -a abs_tess_tol -r rel_tess_tol -n norm_tess_tol -t type -s -D dist_calc_tol -o output_file_name database.g object(s)

## DESCRIPTION

`g-ply` converts the specifiedobject(s) from a BRL-CAD database.g file to the Stanfort PLY file format.

The following options are recognized.

`-o filename`

  Specify output file name.

`-s`

  Write out one object per file, instead of merging individual objects into a single ply file.

`-t` type (asc: ascii), (le: little endian), (be: big endian)

  Specify the type of PLY file to write.

`-D#`

  Specify a calculational distance tolerance (mm). Any two vertices that are less than this distance apart will be treated as the same vertex.

`-a#`

  Specify the absolute tesselation tolerance.

`-r#`

  Specify the relative tesselation tolerance.

`-n#`

  Specify the surface-normal tesselation tolerance.

`-x#`

  Specify an RT debug flag.

`-X#`

  Specify an NMG debug flag.

`-v`

  Enable verbose output.

## EXAMPLE

          $ g-ply -o sample.ply sample.g sample_object

## DIAGNOSTICS

Error messages are intended to be self-explanatory.

## AUTHOR

BRL-CAD Team

## COPYRIGHT

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