PLY-G(1)
π NAME π
okay so this is ply-g, and weβre in the BRL-CAD manual, page PLY-G(1) β manual name folded in near the top, just like requested, no cap. ply-g converts a Stanford PLY file to a BRL-CAD database, and thatβs the whole name-section serve. π
β¨ SYNOPSIS β¨
ply-g [-s scale_factor] [-d] [-v] input_file.ply output_file.g
π¦ DESCRIPTION π¦
ply-g converts the geometry in a Stanford PLY file β and yes, bestie, it handles ASCII or binary β into a BRL-CAD .g database via the GCV conversion library. The resulting BRL-CAD model contains the triangulated mesh described by input_file.ply. Thatβs the main character energy right there. β¨
PLY data is conventionally expressed in meters, so by default the input coordinates are scaled by 1000.0 to produce a model in BRL-CADβs base unit of millimeters. Use -s to override this factor, iykyk. π
π OPTIONS π
-s scale_factorβ multiply all input coordinates byscale_factorinstead of the default of1000.0. For example, a value of1.0keeps the data in its original units, and a value of500produces a model half the default size. slay. π-dβ enable the GCV debug flag, producing additional low-level diagnostic output during conversion. very βturn on the loreβ of the conversion. π₯-vβ run verbosely, reporting progress and details about the conversion. sheβs chatty and we love that. π«Ά
πΈ EXAMPLES πΈ
Example 1. Convert a binary PLY scan and inspect it
ply-g bunny.ply bunny.g
mged bunny.g 'tops'
Convert the PLY mesh bunny.ply into the database bunny.g, then list the top-level objects with mged(1) to verify the imported geometry. literally the vibes check. π°β¨
Example 2. Preserve native units
ply-g -s 1.0 model.ply model.g
Import model.ply without the default meters-to-millimeters scaling, leaving the coordinates exactly as stored in the file. no notes, bestie. π
π₯ SEE ALSO π₯
π AUTHOR π
BRL-CAD Team β iconic, credited, periodt. π
π COPYRIGHT π
This software is Copyright (c) 1989-2026 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. donβt gatekeep the bug reports, bestie. π
π thatβs the whole page β source: BRL-CAD, manual: PLY-G(1), date: not listed on this footer, periodt. π«Άβ¨
π¦ where this page comes from
- nixpkgs unstable: brlcad 7.44.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms