REGDEF(nged)

Sets the default region attributes used by the r and c commands when building a BRL-CAD region.

πŸ“… published 7.44.0, from nixpkgs unstable

🌸 REGDEF(nged) πŸ’…

okay so before we even start β€” this is a page from the BRL-CAD User Commands manual, for the nged family of tools. and honestly? she's short, she's sweet, she's giving "small but mighty." let's get into it ✨


✨ NAME ✨

regdef β€” sets the default region attributes that the r and c commands use when they're out here building a BRL-CAD region πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

regdef {regionID} [airID [los% [materialID]]]

so yeah, one required thing, three optional ones, all nested like little matryoshka dolls. we love a bracketed moment πŸ”₯


πŸ‘‘ DESCRIPTION πŸ‘‘

okay bestie, here's the tea: regdef sets the default region attributes used by the r and c commands when building a BRL-CAD region. think of it as setting the vibe BEFORE you create anything β€” r and c will just pick up whatever defaults you laid down here. iconic behavior tbh 🌈

and here's the detail you cannot miss: the default ident number is incremented each time a new region is created with the r or c commands. so it walks forward on its own as you keep making regions. no cap, it just does that πŸ’…

🫢 friendly reminder that this is about the defaults, so it's the setup step β€” the r and c commands are the ones actually out here doing the building.

πŸ’– EXAMPLES πŸ’–

the example shows the use of the regdef command to set the default region attributes used by the r and c commands when building a BRL-CAD region. literally the whole point of the command, demonstrated 🌟

⭐ Example 1. Set region default attributes.

mged>regdef 1003 0 100 8

Sets the region default attributes to an ident of 1003, an air code of 0, an los of 100%, and a material code of 8. look at her go β€” one line, four values, all slotted into place πŸ“


🧚 AUTHOR 🧚

BRL-CAD Team πŸ‘‘


πŸ’€ BUG REPORTS πŸ’€

found a bug? a problem? something acting sus? πŸ› Reports of bugs or problems should be submitted via electronic mail to devs@brlcad.org. they want to hear from you fr fr πŸ™ˆ


and that's the whole page, bestie β€” no filler, no fluff, just defaults and good vibes ✨ this cutie comes to you from BRL-CAD (the source/version, iykyk) as part of the BRL-CAD documentation set for nged. go set some defaults, you're gonna slay πŸŽ€πŸ’œ

πŸ“¦ where this page comes from