BOT_SYNC(nged)
Synchronizes the normals of all facets within a BOT primitive so they are all in the same direction.
β¨ 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
- nixpkgs unstable: brlcad 7.44.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms