FIND_BOT_EDGE(nged)

find and identify a BOT (Bag of Triangles) edge

πŸ“… published 7.44.0, from nixpkgs unstable

πŸ’… FIND_BOT_EDGE (nged) πŸ’…

okay bestie, welcome to the nged manual page for find_bot_edge β€” yes it's a BRL-CAD User Command, yes it's niche, and yes it absolutely slays at one specific job.


✨ NAME ✨

find_bot_edge β€” find and identify a BOT (Bag of Triangles) edge πŸŽ€

🌸 SYNOPSIS 🌸

find_bot_edge bot "view_x view_y view_z"

that's it. that's the whole vibe. two args, one edge, no cap πŸ’…

πŸ¦‹ DESCRIPTION πŸ¦‹

so the find_bot_edge command goes rummaging around inside a BOT (Bag of Triangles) primitive and finds the edge that's closest to a view coordinate you hand it. literally its whole personality. πŸ”₯

if it succeeds, it gives you back two integers:

  1. the numeric ID of the first vertex (vi1) that forms the edge
  2. the numeric ID of the second vertex (vi2) that forms the edge

not to be dramatic but that's the good stuff right there 🫢

the arguments are:

  • bot β€” the name of the BOT primitive you want it to search. yep, you gotta tell it where to look πŸŽ€
  • "view_x view_y view_z" β€” one single quoted string holding the X, Y, and Z coordinates (in view space, iykyk) that it tests against. keep it quoted, keep it together, don't be out here passing three separate things πŸ™ˆ

⭐ EXAMPLES ⭐

🌈 Example 1. Identify a BOT edge near a view coordinate

mged> find_bot_edge bot.s "0 0 1"

this searches bot.s for the edge closest to the view coordinate (0, 0, 1) and returns the IDs of the two vertices that form that edge. iconic behavior, honestly. πŸ‘‘

πŸ’œ AUTHOR πŸ’œ

BRL-CAD Team β€” yeah, the whole team. legends only. 🫢

πŸ“ BUG REPORTS πŸ“

found a bug or a problem? don't suffer in silence bestie, send it via electronic mail to devs@brlcad.org β€” they genuinely want to hear it, fr fr πŸ˜­πŸ’–


that's the whole page, no notes 🧚 from the BRL-CAD crew (source: BRL-CAD), and hey β€” if you ever need the date on this thing, this copy is keeping it mysterious πŸ’€βœ¨

πŸ“¦ where this page comes from