'\" t
.\"     Title: BOT_SYNC
.\"    Author: [see the "AUTHOR" section]
.\" Generator: DocBook XSL-NS Stylesheets v1.76.1 <http://docbook.sf.net/>
.\"      Date: 08/28/2023
.\"    Manual: BRL-CAD User Commands
.\"    Source: BRL-CAD
.\"  Language: English
.\"
.TH "BOT_SYNC" "nged" "08/28/2023" "BRL\-CAD" "BRL\-CAD User Commands"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.\" http://bugs.debian.org/507673
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.ie \n(.g .ds Aq \(aq
.el       .ds Aq '
.\" -----------------------------------------------------------------
.\" * set default formatting
.\" -----------------------------------------------------------------
.\" disable hyphenation
.nh
.\" disable justification (adjust text to left margin only)
.ad l
.\" -----------------------------------------------------------------
.\" * MAIN CONTENT STARTS HERE *
.\" -----------------------------------------------------------------
.SH "NAME"
bot_sync \- Synchronizes the normals of all facets within a BOT primitive so they are all in the same direction\&.
.SH "SYNOPSIS"
.HP \w'\fBbot_sync\fR\ 'u
\fBbot_sync\fR {\fIbot\fR} [\fIbot2\ bot3\fR...]
.SH "DESCRIPTION"
.PP
Synchronizes the normals of all facets within a BOT primitive so they are all in the same direction\&. When viewing a BOT with the MGED \*(Aqe \-m1\*(Aq or \*(Aqdraw \-m1\*(Aq command, if some of the exterior facets are black and some shaded (red by default), this indicates the black facets have their normal in the wrong direction\&. To correct this, it is recommended to first run the commands \*(Aqbot_vertex_fuse\*(Aq then \*(Aqbot_face_fuse\*(Aq followed by \*(Aqbot_sync\*(Aq\&. If the result is all exterior facets are black, then use the MGED \*(Aqbot_flip\*(Aq command to reverse (i\&.e\&. flip) all the BOT facet normals\&. The result should be all exterior facets become shaded\&.
.SH "AUTHOR"
.PP
BRL\-CAD Team
.SH "BUG REPORTS"
.PP
Reports of bugs or problems should be submitted via electronic mail to
devs@brlcad\&.org
