'\" t
.\"     Title: NMG_SIMPLIFY
.\"    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 "NMG_SIMPLIFY" "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"
nmg_simplify \- Attempts to convert an existing nmg_shape to a simpler primitive shape type\&.
.SH "SYNOPSIS"
.HP \w'\fBnmg_simplify\fR\ 'u
\fBnmg_simplify\fR [[arb] | [tgc] | [poly]] {\fInew_shape\ nmg_shape\fR}
.SH "DESCRIPTION"
.PP
Attempts to convert an existing nmg_shape to a simpler primitive shape type\&. The user may specify which type to attempt by including
\fIarb, tgc,\fR
or
\fIpoly\fR
on the command line\&. If no shape type is specified, all will be attempted in the above order\&. If
\fItgc\fR
is specified, the code will attempt to determine if the
\fInmg_shape\fR
is an approximation of a TGC shape\&.
.SH "EXAMPLES"
.PP
The example shows the use of the
\fBnmg_simplify\fR
command to convert an existing nmg shape to a polysolid\&.
.PP
\fBExample\ \&1.\ \&Convert an existing shape to a polysolid.\fR
.PP

mged>\fBnmg_simplify poly shapea\&.poly shapea\&.nmg\fR
.PP
Converts the nmg shape named
\fIshapea\&.nmg\fR
to a polysolid named
\fI shapea\&.poly\fR\&.
.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
