Difference between revisions of "MGED CMD nmg"

From BRL-CAD
(Argument(s))
Line 5: Line 5:
 
:nmg subcommand object [suffix]
 
:nmg subcommand object [suffix]
  
==Argument(s)==
+
==Arguments(s)==
<!--
+
 
 
: '''object'''
 
: '''object'''
 
:: Name for the primitive that you want to operate on.
 
:: Name for the primitive that you want to operate on.
  
: '''S'''
+
: '''subcommand'''
:: Plot or output info for a specific 'surface'.
+
:: Command specified to alter an NMG object. Each has it's own set of arguments.
 
 
: '''F'''
 
:: Plot or output info for a specific 'face'.
 
 
 
: '''T'''
 
:: Plot or output info for a specific 'trim'.
 
 
 
: '''E'''
 
:: Plot or output info for a specific 'edge'.
 
 
 
: '''SB'''
 
:: Output 'bezier' info for a specific 'surface'.
 
 
 
: '''TB'''
 
:: Output 'bezier' info for a specific 'trim'.
 
 
 
: '''I'''
 
:: Plot a specific 'iso-surface'.
 
 
 
: '''SN'''
 
:: Plot a specific 'surface normal'.
 
 
 
: '''KN'''
 
:: Plot a specific 'surface's knots'.
 
 
 
: '''F2d'''
 
:: Plot a specific 'face' in '2d-space'.
 
 
 
: '''SBB'''
 
:: Plot a specific 'surface's leafs' (surface tree).
 
 
 
: '''SBB2d'''
 
:: Plot a specific 'surface's leafs' in '2d-space'.
 
 
 
: '''TD'''
 
:: Plot a specific 'trim direction'.
 
 
 
: '''T2d'''
 
:: Plot a specific 'trim' in '2d-space'.
 
 
 
: '''TBB'''
 
:: Plot a specific 'trim's leafs' (curve tree).
 
 
 
: '''TBB2d'''
 
:: Plot a specific 'trim's leafs' in '2d-space'.
 
 
 
: '''SCV'''
 
:: Plot a specific 'surface's CV'.
 
 
 
: '''index'''
 
:: The index of the surface (face, edge, etc.) you want to plot or output info for. You can use a single number, 'number-number', or 'all'.
 
 
 
: '''object2'''
 
:: The other object to intersect 'object'.
 
 
 
: '''i'''
 
:: Intersect object's ith surface.
 
 
 
: '''j'''
 
:: Intersect object2's jth surface.
 
 
 
: '''PP'''
 
:: Point-point intersections.
 
 
 
: '''PC'''
 
:: Point-curve intersections.
 
 
 
: '''PS'''
 
:: Point-surface intersections.
 
 
 
: '''CC'''
 
:: curve-curve intersections.
 
 
 
: '''CS'''
 
:: curve-surface intersections.
 
  
: '''SS'''
+
==Subcommands(s)==
:: surface-surface intersections (default).
 
  
: '''brepname'''
+
: '''mm'''
:: When convert a non-BREP object to BREP, the result BREP's name.
+
:: Creates a new NMG model structure and fills the appropriate fields. The result is an empty model.
  
: '''comb'''
+
: '''cmface'''
:: The comb to be converted to non-evaluated BREP form.
+
:: 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.
  
: '''suffix'''
 
:: The suffix in the generated BREPs' names.
 
-->
 
 
==Return Value(s)==
 
==Return Value(s)==
 
: No Return Values for this command.
 
: No Return Values for this command.

Revision as of 17:51, 15 July 2015

nmg design

Syntax

nmg subcommand object [suffix]

Arguments(s)

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

Subcommands(s)

mm
Creates a new NMG model structure and fills the appropriate fields. The result is an empty model.
cmface
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.

Return Value(s)

No Return Values for this command.


Description

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.

Example(s)

See Also

put for use with NMG objects
brep