BOT_FUSE(nged)

fuse duplicate vertices and faces in a BOT mesh

πŸ“… published 7.44.0, from nixpkgs unstable

πŸ’… BOT_FUSE β€” fuse duplicate vertices and faces in a BOT mesh

okay bestie, welcome to the nged command page for bot_fuse ✨ this is the little cleanup gremlin that takes a BOT mesh and fuses its duplicate vertices and faces for you. no cap, it's giving β€œtidy up the group chat” energy. 🫢


🌸 NAME 🌸

bot_fuse β€” fuse duplicate vertices and faces in a BOT mesh


πŸŽ€ SYNOPSIS πŸŽ€

bot_fuse [-s|-p] new_bot old_bot

✨ DESCRIPTION ✨

so basically, bot_fuse removes duplicate vertices and faces from the BOT (Bag-of-Triangles) primitive named old_bot, and writes the result as a new BOT named new_bot. the original object is not modified β€” it just sits there looking pretty untouched. πŸ’–

duplicate vertices that are within the database tolerance get merged into a single vertex. duplicate faces β€” meaning triangles with the same three vertex indices β€” are similarly fused. slay. πŸ”₯

after fusing, open edges may be detected. by β€œopen edges” we mean edges shared by only one face. the optional -s and -p flags control how those open edges are reported:

πŸ’… Options πŸ’…

  • -s β€” show open edges by drawing them in the display as colored lines after the operation. ✨
  • -p β€” plot open edges to a temporary plot file for subsequent inspection. πŸŽ€

without either flag, open edge detection runs silently and results are not visualized. lowkey stealth mode. 🀫


🌈 EXAMPLES 🌈

Example 1. Fuse a BOT and save to a new name

mged> bot_fuse clean_hull.bot raw_hull.bot

fuses duplicate vertices and faces in raw_hull.bot and writes the cleaned result to clean_hull.bot. iconic behavior honestly. πŸ’…

Example 2. Fuse and display open edges

mged> bot_fuse -s clean_hull.bot raw_hull.bot

fuses the BOT and then highlights any open edges in the display. main character visualization moment. 🌟


πŸ¦‹ SEE ALSO πŸ¦‹

  • bot_merge(nged)
  • bot_smooth(nged)
  • bot_dump(nged)

πŸ‘‘ AUTHOR πŸ‘‘

BRL-CAD Team


πŸ› BUG REPORTS πŸ›

reports of bugs or problems should be submitted via electronic mail to devs@brlcad.org πŸ’Œ


and that’s the whole page, bestie 🫢 this one’s from BRL-CAD and it’s the BOT_FUSE(nged) manual page β€” periodt. πŸ’–βœ¨

πŸ“¦ where this page comes from