WINDOW(1)
π WINDOW(1) β the BRL-CAD one, bestie πͺβ¨
okay so real talk, this is window from the BRL-CAD manual, and it's literally the cutest way to conjure a .g file full of rounded lil windows. no cap. let's get into it π«Ά
β¨ NAME β¨
window β makes a BRL-CAD geometry database stuffed with rounded windows π
πΈ SYNOPSIS πΈ
window [-h] [-f_name.g_] [-n_count_] [-H_height_] [-w_width_] [-d_depth_] [-r_radius_]
π¦ DESCRIPTION π¦
okay so window creates a BRL-CAD geometry database (that's a .g file, iykyk) and fills it up with one or more identical window models, each one having rounded edges and corners. it's giving cozy architecture β¨
every single window is built from two arb8 solids and four cylinders. the front face is centered at the origin (0, 0, 0), and the window extends in the negative X direction by its depth. geometry queen behavior.
you can make up to 256 windows in a single run β that's the ceiling, periodt. window uses the libwdb library to write the database, and it's a great starting point for further editing in mged(1). main character energy fr fr π
if you invoke it with no arguments, window prints a usage message and then prompts you interactively for the database name, window count, dimensions, and corner radius. super chill. but the moment you supply any argument, all parameters get read from the command line and no prompting occurs. zero questions asked π
β οΈ important vibe check: an option and its value are written together with no intervening space. so it's-n3, not-n 3. don't do the space thing, it will not slay.
π OPTIONS π
-hβ print a brief usage and explanation message, then exit. (-?behaves the same, they're twins π)-fname.g β name of the output BRL-CAD database to create. defaults towindow.gin interactive mode if left blank π-ncount β number of windows to create. values greater than256are clamped to256(so yes, 256 is the moment, the limit, the icon π)-Hheight β height of each window, in millimeters π-wwidth β width of each window, in millimeters π-ddepth β depth of each window, in millimeters π³οΈ-rradius β radius of the rounded corners, in millimeters π (this is the part that makes it soft, obsessed)
π₯ EXAMPLES π₯
Example 1. Generate a set of windows and raytrace them β
window -fwindows.g -n3 -H200 -w300 -d20 -r30
rt -o windows.png -s512 windows.g wina winb winc
creates a database named windows.g containing three identical windows, each 200 mm high, 300 mm wide, 20 mm deep, with 30 mm rounded corners β then renders the three resulting groups (wina, winb, winc) to an image with rt(1). absolutely ate. π
β¨
π SEE ALSO π
brlcad(1), mged(1), rt(1), window_frame(1), gastank(1), handle(1), bolt(1)
like go read those too, they're all part of the family π«Ά
π AUTHOR π
BRL-CAD Team β iconic, no notes π
π 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 be shy, they wanna know π
okay that's the whole page bestie, go forth and make rounded windows πΈπβ¨
sign-off: this was the window page from the BRL-CAD manual set β source/version BRL-CAD, dated 1989-2026 on the copyright tip. 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