RAW-G(1)
π RAW-G(1) β ok so this is the BRL-CAD manual page, bestie π
Welcome to the glow-up of raw-g, a BRL-CAD tool and honestly? lowkey iconic. It takes your RAW triangle files and turns them into a real BRL-CAD database. No cap. Let's get into it β¨
β¨ NAME β¨
raw-g β convert a RAW triangle geometry file to a BRL-CAD database π¦
πΈ SYNOPSIS πΈ
raw-g _RAW_file_ _database.g_
π DESCRIPTION π
raw-g reads an IABG RAW geometry file and writes the result to a brand-new database.g BRL-CAD file. And what even is an IABG RAW file, you ask? Bestie it's an ASCII listing of named objects, where each object is followed by triangles β and each triangle is given as nine whitespace-separated coordinates per line. That's it, that's the vibe fr fr β¨
Every named object in the input becomes a single BOT (Bag of Triangles) primitive and a region in the output database. Two for one, we love to see it π
By default the triangles are written as a solid (volumetric) BOT. But! If an object's name line carries a *thickf=*value attribute, then that object gets written as a plate-mode BOT instead, and its faces are given the thickness you specified. Which is super convenient for representing thin shell geometry β chef's kiss, honestly π§
The first argument names the input RAW file, and the second names the output database. That database gets created with a title of the form "Converted from <RAW_file>" so you always know where it came from π A summary of the conversion is printed when it's done β a little victory lap for you π
Once you've got your geometry, you can inspect it with mged(1) or keep the pipeline going with other BRL-CAD converters such as g-raw(1). Chain them, slay, repeat π
π EXAMPLES π
Example 1. Convert a RAW file and inspect the result
raw-g hull.raw hull.g
mged hull.g
This converts the triangle data in hull.raw into solid BOT regions inside the new database hull.g, then opens the result in mged(1) for viewing and editing. Literally the whole workflow in two lines π«Ά
π¦ SEE ALSO π¦
π AUTHOR π
BRL-CAD Team β the main characters, honestly π
β 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 β please do send them, they want to fix things, don't suffer in silence bestie π
ok that's the whole page!! every flag, every path, every name β nothing skipped, periodt π
πΈ So yeah, that's raw-g from the BRL-CAD docs, gen-Z edition. Stay slay, keep your triangles nine-coordinates wide, and remember: this page says BRL-CAD and RAW-G(1) at the bottom like a little signature, and that's the tea ππ
π¦ 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