WIRE(1)

πŸ“¦
version 7.44.0 Β· 2 versions
, in nixpkgs unstable

✨ WIRE(1) β€” the BRL-CAD wire/fuel-line maker ✨

ok so this is wire, straight out of the BRL-CAD fam (that's the manual, bestie β€” welcome to WIRE(1)) 🫢


πŸŽ€ NAME πŸŽ€

wire β€” literally makes you a BRL-CAD database full of wires or fuel lines. that's it, that's the job πŸ’…


🌸 SYNOPSIS 🌸

wire

that's the whole thing. no flags. no args. just vibes ✨


πŸ¦‹ DESCRIPTION πŸ¦‹

okay so wire creates a BRL-CAD geometry database (.g file, you know the one) that describes a whole run of solid wires or fuel lines. and listen β€” it runs strictly interactively. like, no command-line options, no arguments, nothing. if you supply any argument at all it just prints a usage message and dips. periodt πŸ’€

so what does it actually prompt you for? buckle up:

  • the output database name β€” default is wire.g if you just leave it blank, king behavior πŸ‘‘
  • the number of wire segments β€” valid range is 1 to 100
  • the coordinates of the start and end points, plus the radius at each point of every segment

and here's the cute part: each segment gets built as a truncated general cone (that's the tgc primitive, iykyk) so the radius can taper from one end to the other 😌✨ and adjacent segments get joined with spheres to round off the joints. the resulting solids get collected into regions and unioned into a group named wires.

heads up bestie: all values are interpreted in millimeters. every single one. don't come crying to me when your hose is tiny 🌈

πŸ’– EXAMPLES πŸ’–

Example 1. Build a three-segment wire and raytrace it

wire <<EOF
hose.g
3
0 0 0
.25
0 5 -3
.25
0 10 -3
.25
0 12 -2
.25
EOF

rt -o hose.png hose.g wires

so basically feeding the interactive prompts from a here-document creates hose.g containing a three-segment wire of constant 0.25 mm radius whose segments are joined by spheres β€” then it renders the resulting wires group to an image with rt(1). iconic honestly πŸ”₯

and the lil detail you gotta remember: only the first segment requires a starting point β€” each later segment just continues from the previous endpoint. the way that saves you so much typing 😭🫢


⭐ SEE ALSO ⭐

go hang out with the rest of the crew:

brlcad(1), mged(1), rt(1), bolt(1), gastank(1), handle(1), window(1), window_frame(1)


πŸ’œ AUTHOR πŸ’œ

the BRL-CAD Team β€” legends, no cap πŸ‘‘


This software is Copyright (c) 1989-2026 by the United States Government as represented by U.S. Army Research Laboratory.


🧚 BUG REPORTS 🧚

found a bug? a problem? something lowkey cursed? πŸ“§ send it via electronic mail to devs@brlcad.org β€” they wanna hear it fr fr πŸ™ˆ


okay bye bestie, go make some wires πŸ’…βœ¨

that was WIRE(1) from BRL-CAD β€” mwah, see you in the next manpage πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from