SCREENGRAB(nged)
Save the current MGED display visual or framebuffer contents to an image file.
π SCREENGRAB π
okay so bestie, welcome to the nged manual page for screengrab (part of the BRL-CAD User Commands, in case you were wondering where you wandered in from π¦). she's a little glamour shot tool for your MGED display and honestly? iconic.
β¨ NAME β¨
screengrab, screen_grab β literally just save whatever's on your MGED display, the visual or the framebuffer contents, straight to an image file. no cap. πΈ
π SYNOPSIS π
screengrab [-F] [-D name] [--format fmt] image_file
π DESCRIPTION π
so the way this works: screengrab generates an image file containing the current display manager's rendered scene. that's the default vibe, main character energy, no flags needed π
and then, if you pass -F, she captures the embedded framebuffer instead. different girl, different energy. π«Ά
image_file is required β like, actually required, not optional-required. the output format gets inferred from the file extension, and you can use βformat to override that if the extension is giving nothing. π
also: this command is also available as screen_grab (with an underscore). both names invoke identical behavior. same girl, two nicknames. periodt. π
πΈ Options πΈ
-F,βfbβ captures the embedded framebuffer instead of the display manager scene. classic swap. π₯-D name,βdm nameβ specify the name of the display manager to capture. if you omit it, the active display manager is used, which is usually what you want ngl.βformat fmtβ force the output image format (likepng,jpg). if you don't specify it, the format is inferred from the file extension. you're the boss π-hβ prints usage help. the "help me help you" flag π
β EXAMPLES β
Example 1. Write a PNG image file of the MGED framebuffer contents.
mged> screengrab -F fb.png
writes the contents of the active MGED framebuffer to the image file fb.png. chef's kiss. π
Example 2. Capture a specific named display manager
mged> screengrab -D Mged0 output.png
captures the display manager named Mged0 to output.png. call her by name, she'll come. π
Example 3. Capture the scene display (default, no flags needed)
mged> screengrab scene.png
writes the current display manager's rendered scene to scene.png. zero flags, maximum slay. β¨
Example 4. Force JPEG format regardless of extension
mged> screengrab βformat jpg view.img
writes the display manager scene to view.img in JPEG format. yes, the extension is lying, and yes, we're overriding her. π¦
lowkey a warning-adjacent note: the extension is only a suggestion β if you want the format locked in, say it with βformat. iykyk.
π AUTHOR π
BRL-CAD Team
π BUG REPORTS π
reports of bugs or problems should be submitted via electronic mail to devs@brlcad.org β pls be nice, they're doing their best π
okay that's the whole page, bestie!! π you just read SCREENGRAB(nged) from the BRL-CAD User Commands β go forth and screenshot the absolute heck out of your scene. mwah π«Άπβ¨
π¦ 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