BOT_SYNC(nged)

Synchronizes the normals of all facets within a BOT primitive so they are all in the same direction.

πŸ“… published 7.44.0, from nixpkgs unstable

✨ BOT_SYNC πŸ’…

okay so bestie, welcome to BOT_SYNC(nged) β€” a page from the BRL-CAD User Commands manual, and honestly? it's a little glow-up tool for your BOT primitives. let's get into it πŸŽ€


✨ NAME ✨

bot_sync β€” synchronizes the normals of all facets within a BOT primitive so they're all pointing the same direction. that's it. that's the whole job. and it slays at it 🫢


✨ SYNOPSIS ✨

bot_sync {bot} [bot2 bot3]...

so you give it a {bot} to start with, and then like… as many more as you want: [bot2 bot3]... β€” the more the merrier, no cap 🌸


✨ DESCRIPTION ✨

okay so picture this: you've got a BOT primitive, and its facets are all arguing about which way is "out." bot_sync steps in and synchronizes the normals of all facets within that BOT primitive so they're all in the same direction. group chat harmony restored πŸ’–

here's the vibe check though β€” when you're viewing a BOT with the MGED e -m1 or draw -m1 command and some of the exterior facets are black while some are shaded (red by default), that's the tell πŸ‘€ the black facets have their normal in the wrong direction. literally them acting out.

to correct this, the recommended order is: first run bot_vertex_fuse, then bot_face_fuse, and then bot_sync. in that order, bestie, don't freestyle it πŸ™ˆ

and if after all that the result is all exterior facets being black? then hit the MGED bot_flip command to reverse (i.e. flip) all the BOT facet normals. the result should be that all exterior facets become shaded. main character transformation arc ⭐

✨ EXAMPLES ✨

Example 1. Normalize facet winding before checking overall orientation.

mged>bot_sync imported_mesh.bot

this synchronizes neighboring facet normals in imported_mesh.bot so they all point consistently β€” which makes it way easier to see whether a later bot_flip is needed. it's giving "let me get everything on the same page first" energy πŸ”₯


✨ AUTHOR ✨

BRL-CAD Team πŸ‘‘ (genuinely iconic of them)


✨ BUG REPORTS ✨

found a bug? a problem? something sus? πŸ¦‹ reports of bugs or problems should be submitted via electronic mail to devs@brlcad.org β€” they wanna hear it, fr fr πŸ’œ


and that's the page!! go forth and sync those normals, bestie 🌈

mwah πŸ’‹ β€” this has been BOT_SYNC(nged) from the BRL-CAD manual set. bye pookie, see you in the next manpage πŸŽ€βœ¨

πŸ“¦ where this page comes from