PLY-G(1)

NAME

ply-g - Stanford PLY format Translator (PLY to BRL-CAD)

SYNOPSIS

ply-g [-s scale_factor] [-v] [-d] file.ply file.g

DESCRIPTION

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).

EXAMPLE

$ ply-g sample.ply sample.g

DIAGNOSTICS

Error messages are intended to be self-explanatory.

AUTHOR

BRL-CAD Team

This software is Copyright (c) 1989-2021 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