'\" t
.\"     Title: EV
.\"    Author: [see the "AUTHOR" section]
.\" Generator: DocBook XSL-NS Stylesheets v1.76.1 <http://docbook.sf.net/>
.\"      Date: 04/13/2022
.\"    Manual: BRL-CAD User Commands
.\"    Source: BRL-CAD
.\"  Language: English
.\"
.TH "EV" "nged" "04/13/2022" "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"
ev \- Evaluates the \fIobjects\fR specified by tessellating all primitive shapes in the objects and then performing any Boolean operations specified in the \fIobjects\fR\&. The result is then displayed in the MGED display according to specified options\&.
.SH "SYNOPSIS"
.HP \w'\fBev\fR\ 'u
\fBev\fR [\-dfnrstuvwST] [\-P\ \fI#\fR] [\-C\ \fI#/#/#\fR] {objects} []
.SH "DESCRIPTION"
.PP
Evaluates the
\fIobjects\fR
specified by tessellating all primitive shapes in the objects and then performing any Boolean operations specified in them\&. The result is then displayed in the MGED display according to specified options\&.
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}

\fId\fR\-\-Do not perform Boolean operations or any checking; simply convert shapes to polygons and draw them\&. Useful for visualizing BOT and polysolid primitives\&.
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}

\fIf\fR\-\-Fast path for quickly visualizing polysolid primitives\&.
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}

\fIw\fR\-\-Draw wireframes (rather than polygons)\&.
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}

\fIn\fR\-\-Draw surface normals as little hairs\&.
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}

\fIs\fR\-\-Draw shape lines only (no dot\-dash for subtract and intersect)\&.
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}

\fIt\fR\-\-Perform CSG\-to\-tNURBS conversion (still under development)\&.
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}

\fIv\fR\-\-Shade using per\-vertex normals, when present\&.
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}

\fIu\fR\-\-Draw NMG edgeuses (for debugging)\&.
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}

\fIS\fR\-\-Draw tNURBS with trimming curves only, no surfaces\&.
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}

\fIT\fR\-\-Do not triangulate after evaluating the Boolean (may produce unexpected results if not used with the
\fIw\fR
option)\&.
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}

\fIP#\fR\-\-Use # processors in parallel\&. Default=1\&.
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}

\fIr\fR\-\-Draw all objects in red\&. Useful for examining objects colored black\&.
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}

\fIC#/#/#\fR\-\-Draw all objects in the specified rgb color\&.
.RE
.SH "EXAMPLES"
.PP
The first example shows the use of the
\fBev\fR
command to display two evaluated objects as shaded polygons\&. The second example shows the use of the
\fBev\fR
command to display an evaluated object as wireframe without triangulating\&.
.PP
\fBExample\ \&1.\ \&Display evaluated objects as polygons.\fR
.PP
mged> \fBev region1 shapea\fR
.RS 4
Displays evaluated
\fIregion1\fR
and
\fIshapea\fR
as shaded polygons\&.
.RE
.PP
\fBExample\ \&2.\ \&Display an evaluated object as wireframe without triangulation.\fR
.PP

mged>
\fBev \-wT region1\fR
.PP
Displays an evaluated object,
\fIregion1\fR, as wireframe without triangulation\&.
.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
