REID(nged)

Sequentially renumber the 'region_id' attribute of all regions within a group.

πŸ“… published 7.44.0, from nixpkgs unstable

πŸ’… REID (nged) β€” BRL-CAD User Commands, but make it a glow-up

okay so bestie, welcome to reid from the BRL-CAD fam ✨ this is the little command that goes through every single region inside a combination and hands out shiny new region_id numbers in order, one after another. no cap, it's giving "line leader energy" πŸ‘‘


✨ NAME ✨

reid β€” sequentially renumber the region_id attribute of all regions within a group πŸ’–


πŸŽ€ SYNOPSIS πŸŽ€

reid [-n {num}] {comb} {regionID}

that's the whole vibe, short and iconic πŸ’…


🌸 DESCRIPTION 🌸

so here's the tea β˜• the reid command sequentially assigns the region_id attribute value for all regions within a specified combination. literally just going down the list, one by one, slaying 🫢

optionally, the increment between consecutive region_ids can be specified β€” yes you can skip by whatever number you want, we love options πŸ’–

and once the command is complete, the highest region_id set is reported. so you get a little receipt at the end, periodt πŸ“‹βœ¨


πŸ¦‹ OPTIONS πŸ¦‹

  • -n num β€” the increment to use between consecutive region identifiers. the default is 1. so if you don't say anything, it just goes up by one each time, lowkey perfect πŸ™ˆ
  • comb β€” the name of the combination to search for regions. this is your hunting ground bestie 🎯
  • regionID β€” the region ID to start re-numbering with. your starting line, main character moment ⭐

🌈 EXAMPLES 🌈

🌸 Example 1. Renumber regions below a combination.

mged> reid vehicle.c 1000

this sets the first region below vehicle.c to region ID 1000 and increments each following region by 1. simple, clean, ate πŸ’…

πŸ“ Example 2. Renumber regions with a larger increment.

mged> reid -n 10 vehicle.c 2000

this sets region IDs below vehicle.c beginning at 2000 and incrementing by 10 for each subsequent region. big jumps, big energy, we love to see it πŸ”₯


πŸ‘‘ AUTHOR πŸ‘‘

BRL-CAD Team β€” the icons behind the whole thing 🫢


πŸ’€ BUG REPORTS πŸ’€

reports of bugs or problems should be submitted via electronic mail to devs@brlcad.org β€” fr fr if something's acting up, tell them, they wanna know πŸ˜­πŸ’–


ngl bestie, this page belongs to BRL-CAD and it's the REID(nged) one πŸŽ€ keep it cute, keep your region IDs cuter ✨
πŸ“¦ where this page comes from