BUILD_REGION(nged)

Builds a region from existing solids that have specifically formatted names based on the provided tags and numbers.

πŸ“… published 7.44.0, from nixpkgs unstable

🌸 NAME 🌸

Okay so bestie, this is build_region from the nged manual β€” the BRL-CAD User Commands corner of the universe. It builds a region from existing solids that have specifically formatted names based on the tags and numbers you provide. It’s giving β€œassemble the squad from pre-named solids” energy πŸ’…βœ¨.

✨ SYNOPSIS ✨

build_region [-a region_num] {tag start_num end_num}

πŸ’– DESCRIPTION πŸ’–

build_region takes existing solids with specially formatted names and builds a region out of them, based on the tags and numbers you give it. The created region will be named "tag.rx," as written on the page (comma included, iykyk), where x is the first number starting from 1 that produces an unused region name.

If the -a option is used, then the region_num you specify is used for x. If that region already exists, this operation appends the new geometry to the existing region definition. If that region does not exist, a new one gets created. Main character behavior, honestly πŸ‘‘.

The solids involved in this operation are those with names of the form tag.s# or tag.s#o@, where # is a number between start_num and end_num inclusive, o is either u, -, or +, and @ is any number. The operators and numbers coded into the solid names are used to build the region. No cap 🧚.

πŸ¦‹ EXAMPLES πŸ¦‹

This example demonstrates how to use the build_region command to build a region from existing solids. Slay.

πŸŽ€ Example 1. Build a region from existing solids πŸŽ€

mged> build_region abc 1 2

Creates a region named "abc.r1" consisting of:

  • u abc.s1
  • u abc.s2
  • + abc.s2+1
  • - abc.s2-1

provided that the above shapes already exist in the database. Like, they have to be in the database already, bestie β€” no spontaneous shape generation here πŸ™ˆπŸ’–.

πŸ‘‘ AUTHOR πŸ‘‘

BRL-CAD Team β€” icons only, fr fr.

πŸ’Œ BUG REPORTS πŸ’Œ

Reports of bugs or problems should be submitted via electronic mail to devs@brlcad.org. Do not gatekeep the bug reports, bestie 🫢.


source/version: BRL-CAD; page: BUILD_REGION(nged); date: not listed in this footer, so that’s the whole sign-off vibe. Periodt. πŸ’…πŸ’–

πŸ“¦ where this page comes from