VNIRT(nged)

Interprets x and y as view coordinates (i.e., +-2047) and converts them to model coordinates (local units) using a value of 2047 for view z before passing them to nirt.

πŸ“… published 7.44.0, from nixpkgs unstable

πŸ’… VNIRT β€” the nged glow-up you didn't know you needed

okay so bestie, this is a page from the BRL-CAD MGED Commands manual β€” the nged manual, to be exact β€” and the command is vnirt. yes it's a weird name. no we're not changing it. let's go πŸŽ€


✨ NAME ✨

vnirt β€” takes your x and y, treats them like view coordinates (so like, +-2047 territory πŸ’«), converts them into model coordinates (local units, obvs) using a value of 2047 for view z, and then hands the whole lil package over to nirt. that's the whole vibe. no cap.


🌸 SYNOPSIS 🌸

vnirt [nirt args] {x y}

πŸ¦‹ DESCRIPTION πŸ¦‹

so here's the tea πŸ“: vnirt interprets x and y as view coordinates β€” think +-2047 β€” and converts them to model coordinates (local units) using a value of 2047 for view z. then it passes them straight to nirt. ✨

and everything else? every other argument you throw at it? it gets passed to nirt without modification. literally untouched. it's giving "i'm just the messenger" energy and honestly? iconic. πŸ‘‘


πŸ”₯ EXAMPLES πŸ”₯

Example 1 β€” shoot a ray at 1000 pixels up and centered left/right πŸ’–

mged>vnirt 0 1000

shoots a ray 1000 pixels up from center. slay. ⭐

Example 2 β€” shoot a ray centered top/bottom and 1000 pixels to the right πŸ¦‹

mged>vnirt 1000 0

shoots a ray 1000 pixels to the right of center. periodt. πŸ’…


πŸ‘‘ AUTHOR πŸ‘‘

the BRL-CAD Team did that. main character energy fr fr. 🫢


πŸ’€ BUG REPORTS πŸ’€

found a bug? a problem? something acting sus? 😭 report it via electronic mail to devs@brlcad.org β€” they wanna hear from you, bestie. don't be shy. πŸ™ˆ


okay tiny reminder: those nirt args you pass through? they reach nirt exactly as-is, no edits, no meddling. vnirt is a lover, not a fixer. 🧚

that's the whole page, bestie πŸ’œ it's from the BRL-CAD crew, and this lil slice of documentation is dated right there in the manual's footer β€” the VNIRT(nged) entry closing out the BRL-CAD MGED Commands manual. go shoot some rays. you got this. πŸŒˆπŸŽ€

πŸ“¦ where this page comes from