DBOT_DUMP(nged)
export currently displayed BOT objects to a mesh file format
๐ NAME โ DBOT_DUMP(nged)
dbot_dump โ export currently displayed BOT objects to a mesh file format โจ
๐ฆ SYNOPSIS
dbot_dump [-b] [-n|--normals] [-F|--full-precision]
[-m|--output-directory dir] [-o|--output-file file]
[-t dxf|glb|gltf|obj|sat|stl] [-u unit]
[--no-materials]
๐ DESCRIPTION
Okay so the dbot_dump command exports the currently displayed BOT (Bag-of-Triangles) objects to an external mesh file. Itโs giving โdisplay-list-onlyโ main character energy: unlike bot_dump, which takes explicit object names or operates on all BOTs in the database, dbot_dump operates on the set of objects currently drawn in the MGED display.
It automatically passes โdisplayed, โviewdata, and โmaterials to the underlying bot_dump implementation:
โdisplayedโ restricts export to currently drawn objects.โviewdataโ writes view-related metadata alongside the geometry output.โmaterialsโ includes displayed color/material information in the output.
No BOT names are taken as arguments; the set of objects to export is determined by the display list. Periodt.
All other options are identical to bot_dump, including โno-materials (--no-materials in the synopsis) to explicitly suppress color/material export. Ngl, thatโs the โno color dramaโ button.
๐ธ Options ๐ธ
-bโ write output in binary format where supported.-n,--normalsโ write per-vertex normals if the output format supports them.-F,--full-precisionโ write full floating-point precision for coordinate values.-m dir,--output-directory dirโ write each BOT to a separate file in the specified directorydir. Mutually exclusive with-o.-o file,--output-file fileโ write all output to the single specified file. Mutually exclusive with-m.-t fmtโ specify the output format type:dxf,glb,gltf,obj,sat, orstl(default:stl).-u unitโ output coordinate units (e.g.,mm,cm,in,ft).--no-materialsโ explicitly suppress color/material export (also spelledโno-materialsin the description above, bestie).
๐ฅ EXAMPLES
๐ซ Example 1. Export all currently displayed BOTs to STL
mged> draw hull.bot turret.bot mged> dbot_dump -o displayed.stl
Draws two BOTs, then exports them both (with view data and displayed color/material info) to displayed.stl.
๐ซ Example 2. Export displayed geometry to OBJ format
mged> dbot_dump -t obj -o scene.obj
Exports all currently drawn BOT objects to Wavefront OBJ format, including displayed color/material properties.
๐ฆ SEE ALSO
bot_dump(nged), who(nged), draw(nged) โ go read these next, bestie. Iykyk.
๐ AUTHOR
BRL-CAD Team
๐ BUG REPORTS
Reports of bugs or problems should be submitted via electronic mail to devs@brlcad.org.
๐ Thatโs the whole page. Source/version: BRL-CAD; page: DBOT_DUMP(nged). The footer date slot is giving empty on this one, so Iโm not inventing a date โ no cap. ๐ซถ
๐ฆ 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