KILL(nged)

Deletes specified objects from the current database.

πŸ“… published 7.44.0, from nixpkgs unstable

πŸ’– KILL πŸ’–

okay bestie, welcome to the KILL(nged) page from the BRL-CAD User Commands collection. this one is short, powerful, and a little scary β€” main character energy with no undo, ngl. πŸ’…

🌸 NAME 🌸

kill β€” deletes specified objects from the current database. ✨

✨ SYNOPSIS ✨

kill [-f] [-n] [-q] {objects}

πŸ¦‹ DESCRIPTION πŸ¦‹

kill deletes the specified objects from the current database. she only affects the objects actually listed on the command line β€” no sneaky extras, no cap. if a combination is killed, its members are not affected. 🫢

okay so the flags, because iykyk:

  • -f β€” if -f is specified, then kill will not complain if some, or all, of the objects specified do not actually exist in the database. πŸ’€
  • -n β€” performs a dry-run style report of the supplied object list instead of deleting it. 🫢
  • -q β€” may be added to suppress database object lookup messages reporting failure, which will otherwise let the user know an invalid object was specified. πŸ™ˆ
⚠️ note that the objects are killed immediately. there is no need for a write file command in MGED, and there is no undo command. use this command with caution. 😭

other commands that remove objects from the database are killall and killtree β€” keep those in your back pocket. 🌈

🌈 EXAMPLES 🌈

the example shows the use of the kill command to delete specified objects from the database.

Example 1. Delete objects from the database.

mged> kill group1 region2 shapeb
    Deletes group1, region2, and shapeb from the database.

πŸ‘‘ AUTHOR πŸ‘‘

BRL-CAD Team β€” periodt. ✨

πŸ’Œ BUG REPORTS πŸ’Œ

reports of bugs or problems should be submitted via electronic mail to devs@brlcad.org β€” bestie, they want to hear it. πŸ’–

cute sign-off: BRL-CAD source/version, KILL(nged) edition β€” the original footer didn’t show a date, so that’s the date tea, and that’s the whole vibe πŸŽ€

πŸ“¦ where this page comes from