Difference between revisions of "MGED CMD nmg"

(See Also)
Line 50: Line 50:
: [http://brlcad.org/wiki/NMG put] for use with NMG objects
: [http://brlcad.org/wiki/NMG put] for use with NMG objects
: [http://brlcad.org/wiki/MGED_CMD_brep brep]
: [http://brlcad.org/wiki/MGED_CMD_brep brep]
: [https://en.wikipedia.org/wiki/Polygon_mesh polygon mesh]

Revision as of 19:32, 15 July 2015

nmg design


nmg subcommand object [suffix]


Name for the primitive that you want to operate on.
Command specified to alter an NMG object. Each has it's own set of arguments.


Creates a new NMG model structure and fills the appropriate fields. The result is an empty model.
Generates a manifold face in the first encountered shell of the NMG object. Vertices are listed as the suffix and define the winding-order of the face. Faces require at least three specified vertices, each specified by three coordinates. In addition to creating a face, the subcommand will join edges of the new face with dangling edges of other faces in the same shell. This makes it easier for the application to generate topologically correct, closed, manifold objects.

Proposed subcommands(s)

Selects a face by highlighting it. Subsequent commands for manipulation or removal act on the selected face. By repeating this call, the currently selected face is advanced to the next face in the NMG object of the first encountered shell and region. If an (optional) point is specified, the subcommand finds the closest face to the point and selects that face instead.
Deselects all prior selected parts of the nmg object.
Removes the geometry and faceuse of the currently selected face.

Return Value(s)

No Return Values for this command.


The "nmg" command is a command for creating, adding geometry, and manipulating NMG objects in BRL-CAD. All operations are result in the addition of manifold geometry to the object.


See Also

put for use with NMG objects
polygon mesh