RAW-G(1)

πŸ“¦ version 7.44.0, in nixpkgs unstable

πŸ’… 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 πŸ’œ


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