REDRAW(nged)

refresh the display geometry for currently displayed objects

πŸ“… published 7.44.0, from nixpkgs unstable

πŸ’… REDRAW (nged) ✨

okay bestie, so this is the redraw command from the nged manual β€” BRL-CAD User Commands, mged's very own little refresh button. let's get into it 🫢


✨ NAME ✨

redraw β€” refreshes the display geometry for the objects that are already up on your screen πŸ’– like, it doesn't add anybody new to the party, it just makes sure everyone already there looks correct.


🌸 SYNOPSIS 🌸

redraw
redraw path [path ...]

like, either you say redraw and it's giving "do everybody", or you list out some paths and it's giving "just these ones, thanks" πŸŽ€


πŸ¦‹ DESCRIPTION πŸ¦‹

so redraw regenerates the view geometry for objects that are already in the display list β€” no re-adding them, no re-evaluating them from scratch. it's literally just "hey, re-look at what's there." the glow-up, not the makeover πŸ’…

this is the move when geometry has been modified in the database and the display needs to be refreshed so it actually shows the updated shape. no cap, that's the whole vibe.

  • no arguments at all β€” redraws all objects currently chillin' in the display list. every displayed path gets its visual representation regenerated. every single one. periodt ✨
  • one or more paths β€” redraws only the paths you named. each path must already be displayed (like, added via draw or e). if a path is valid but isn't currently displayed? yeah, that's an error 😭 the path matching uses prefix matching β€” if a display list entry begins with, or is a prefix of, the specified path, it gets redrawn. iykyk 🧚

okay so important vibe check: redraw does not change what is displayed (no objects get added or removed), it does not accept drawing options (so no color, no shading mode, none of that πŸ™ˆ), and it does not trigger an autoview. it only regenerates the plot vectors for objects already in the scene, using their current database state. that's it, that's the whole job πŸ‘‘

want to add a new object to the display? that's draw or e, bestie. want to force an update with different display options? use draw again β€” it first erases then re-draws the object. redraw is not that girl πŸ’€

πŸŽ€ EXAMPLES πŸŽ€

⭐ Example 1. Redraw all displayed geometry

mged> redraw

regenerates the display for all objects currently shown in the view. super useful after batch database edits when you need to refresh all the visible geometry at once. one command, everybody updated, slay 🌈

⭐ Example 2. Redraw a specific object after editing

mged> redraw component/part.s

redraws only component/part.s, which must already be displayed. if the object's geometry was modified since it was last drawn, the view gets updated to reflect the changes. chef's kiss πŸ“

⭐ Example 3. Redraw multiple paths

mged> redraw body.s wing.s engine.s

refreshes the display for three separately named objects simultaneously. group chat refresh, no notes πŸ’œ


πŸ‘‘ AUTHOR πŸ‘‘

BRL-CAD Team β€” icons only, we stan 🫢


πŸ’€ BUG REPORTS πŸ’€

found a bug or got a problem? don't suffer in silence, bestie β€” reports of bugs or problems should be submitted via electronic mail to devs@brlcad.org πŸ“§ they literally want to hear from you.


and that's the page!! BRL-CAD made it, it lives in the BRL-CAD User Commands section as REDRAW(nged), and that footer is the whole sign-off β€” BRL-CAD, baby βœ¨πŸ’– go forth and refresh πŸ”₯

πŸ“¦ where this page comes from