BOT_MERGE(nged)

merge multiple BOT meshes into a single BOT object

πŸ“… published 7.44.0, from nixpkgs unstable

πŸ’… BOT_MERGE (nged) β€” the glow-up your triangle soup deserves ✨

okay so real talk, bestie: this is the nged manual page for bot_merge, and it's genuinely one of the most satisfying little commands in the whole toolkit. let's get into it 🫢


✨ NAME ✨

bot_merge β€” merges a bunch of BOT meshes together into one single BOT object. it's giving "combine and conquer" πŸ‘‘


🌸 SYNOPSIS 🌸

bot_merge bot_dest bot1_src [botn_src ...]

πŸ¦‹ DESCRIPTION πŸ¦‹

So here's the vibe: bot_merge takes two or more BOT (Bag-of-Triangles) primitive objects and smushes them together into one brand-new BOT named bot_dest. πŸ’–

How does it do it? By concatenating their vertex lists and face lists β€” all the sources (bot1_src, botn_src, …) get stacked up end-to-end into one glorious combined mesh.

and the important part, no cap: the source objects are not modified or deleted. they stay exactly where they are, untouched, living their best lives. πŸ™ˆ

You gotta give it at least one source BOT in addition to the destination name β€” a destination alone is not it, bestie. πŸ’…

⚠️ note β€” read this one, fr fr: bot_merge just concatenates vertex lists without fusing shared vertices. so if your input BOTs happen to have vertices sitting at the same position, those vertices will get duplicated in the result. it's not broken β€” it's just doing exactly what it says. if you want a clean mesh, run bot_fuse afterward to merge those duplicate vertices. 🧚

πŸŽ€ EXAMPLES πŸŽ€

Example 1 β€” merge two BOTs πŸ’«

mged> bot_merge combined.bot left_half.bot right_half.bot

This creates combined.bot by merging the vertex and face lists from left_half.bot and right_half.bot. two halves, one icon πŸ‘‘

Example 2 β€” merge multiple BOTs and then clean up 🧼

mged> bot_merge raw_merged.bot part1.bot part2.bot part3.bot
mged> bot_fuse fused_merged.bot raw_merged.bot

Three BOTs get merged into one, and then bot_fuse fuses the duplicate vertices so you end up with a nice clean mesh. that's the self-care routine: merge, then fuse. ✨


πŸ”₯ SEE ALSO πŸ”₯

  • bot_fuse(nged)
  • bot_dump(nged)

(go read those next, iykyk πŸ’…)


πŸ‘‘ AUTHOR πŸ‘‘

BRL-CAD Team β€” legends, honestly. 🫢


πŸ’€ BUG REPORTS πŸ’€

Found a bug? Spotted a problem? don't suffer in silence, bestie β€” reports of bugs or problems should be submitted via electronic mail to devs@brlcad.org. πŸ“§


and that's the whole page, bestie!! this gem comes to you from BRL-CAD β€” the source of the BOT_MERGE(nged) manual page itself, so you know it's official πŸ’œ go forth and merge responsibly, and remember: concatenate now, bot_fuse later. periodt. πŸ¦‹βœ¨

πŸ“¦ where this page comes from