|ply-g [-s scale_factor] [-v] [-d] file.ply file.g|
ply-g converts the specified file.ply to a BRL-CAD file.g file. The -v option (verbose) prints much information about what the process is doing. The -d option sets a debug flag which will cause a core dump on error. The -s option specifies a scale factor to be applied to the PLY data. By convention, PLY data is typically in meters, so the default scale factor is 1000. The scale factor supplied on the command line will replace the default scale factor. So, for example, specifying a scale factor of 500 will halve the size of the resulting BRL-CAD model as compared to converting it without specifying a scale factor. The file.ply file is expected to be in the Stanford PLY format (ASCII or binary).
$ ply-g sample.ply sample.g
Error messages are intended to be self-explanatory.
This software is Copyright (c) 2003-2013 by the United States Government as represented by U.S. Army Research Laboratory.
Reports of bugs or problems should be submitted via electronic mail to <firstname.lastname@example.org>.