HANDLE(1)
π handle(1) β the BRL-CAD handle maker, but make it make sense π
okay so bestie, you know the BRL-CAD manual, right? this is one of those pages from there. sit down, grab a strawberry π, and let me tell you about handle. it's giving "tiny utility, big energy."
β¨ NAME β¨
handle β makes a BRL-CAD .g database full of handle shapes π
πΈ SYNOPSIS πΈ
handle [-h | -?]
handle [-f _name.g_] [-n _count_] [-l _length_] [-H _height_] [-r1 _torus_radius_] [-r2 _cylinder_radius_]
π¦ DESCRIPTION π¦
so handle literally just creates a BRL-CAD database (that's a mged(1) .g file, iykyk) containing one or more handle shapes, all built with libwdb. no cap.
each handle is composed of three cylinders, two tori, and two arb8s β that's the lineup, that's the squad. π
the base of each handle is centered at (0, 0, 0) and the height extends in the positive z-direction. all dimensions are in millimeters, periodt.
if you invoke it with no arguments, handle enters interactive mode and prompts you for each parameter (main character energy: it asks, you answer π
). otherwise the values are taken from the command-line options.
between 1 and 256 handles of identical dimensions may be created per run; values outside that range are clamped. (yes, clamped. it's not gonna let you go feral with -n 9999 π)
β¨ OPTIONS β¨
-h,-?β prints a usage message and exits. that's it, that's the whole job π«Ά-f_name.g_ β the name of the.gdatabase file to create. defaults tohandle.gin interactive mode.-n_count_ β number of handles to create (1 to 256, default1).-l_length_ β length of the handle, in millimeters.-H_height_ β height of the handle, in millimeters. (capitalH, bestie β lowercasehis a whole different vibe)-r1_torus_radius_ β radius r1 of the two tori, in millimeters (it's the rounding of the corners π).-r2_cylinder_radius_ β radius r2 of the three cylinders, in millimeters.
π EXAMPLES π
Example 1. Generate handles and raytrace them
handle -fhandle.g -n3 -l200 -H100 -r120 -r210
rt -s 1024 -o handle.png handle.g hana
creates handle.g containing three handles, each 200 mm long and 100 mm tall, with a torus rounding radius of 20 mm and a cylinder radius of 10 mm. π₯
β οΈ note that the option value is appended directly to the flag (for example-l200and-r120). no space, no drama, just vibes. don't come at it with-l 200and expect it to slay.
the grouped handles can then be rendered with rt(1). iconic behavior honestly.
π SEE ALSO π
brlcad(1), mged(1), rt(1), bolt(1), gastank(1), window(1), window_frame(1)
(the whole friend group π«Ά)
π AUTHOR π
BRL-CAD Team
β 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
(be nice to them, they're doing their best π)
okay that's the page!! shoutout to BRL-CAD and this HANDLE(1) page, fr fr β go make some handles, bestie, you're gonna ate ππ§β¨
π¦ 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