'\" t
.\"     Title: G
.\"    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 "G" "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"
g \- Creates a special type of combination often referred to as a group\&. This builds a combination by unioning together all the listed \fIobjects\fR\&.
.SH "SYNOPSIS"
.HP \w'\fBg\fR\ 'u
\fBg\fR {\fIgroupname\fR} {\fIobjects\fR}
.SH "DESCRIPTION"
.PP
Creates a special type of combination often referred to as a group\&. This builds a combination by unioning together all the listed
\fIobjects\fR\&. If
\fI groupname\fR
already exists, then the list of objects will be unioned to the end of it\&. (Note that an existing groupname is not restricted to being a group; any combination is legal\&.) Other commands to build combinations are
\fBc\fR,
\fBr\fR, or
\fBcomb\fR\&.
.SH "EXAMPLES"
.PP
The example shows the use of the
\fBg\fR
command to create or extend a specified group by unioning it with specified objects\&.
.PP
\fBExample\ \&1.\ \&Create a group with a \fIgroupname\fR and specified objects.\fR
.PP
mged> \fBg shape1\&.nmg f\fR
.RS 4
Creates or extends shape1\&.nmg by unioning in
\fIf\fR\&.
.RE
.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
