Editing MGED CMD nmg
From BRL-CAD
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
− | |||
− | |||
=nmg ''design'' = | =nmg ''design'' = | ||
__TOC__ | __TOC__ | ||
==Syntax== | ==Syntax== | ||
− | :nmg object | + | :nmg subcommand object [suffix] |
− | ==Arguments== | + | ==Arguments(s)== |
: '''object''' | : '''object''' | ||
Line 15: | Line 13: | ||
:: Command specified to alter an NMG object. Each has it's own set of arguments. | :: Command specified to alter an NMG object. Each has it's own set of arguments. | ||
− | ==Subcommands== | + | ==Subcommands(s)== |
: '''mm''' | : '''mm''' | ||
Line 23: | Line 21: | ||
:: 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. | :: 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)== | |
− | + | : '''sface''' | |
− | + | :: 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.'' | |
− | + | : '''deselect''' | |
− | + | :: Deselects all prior selected parts of the nmg object. | |
− | :: | + | : '''kface''' |
− | + | :: Removes the geometry and faceuse of the currently selected face. | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | : ''' | ||
− | :: | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | :: | ||
− | |||
− | |||
==Return Value(s)== | ==Return Value(s)== | ||
Line 66: | Line 37: | ||
==Example(s)== | ==Example(s)== | ||
<!-- | <!-- | ||
+ | : '''mged>''' brep obj.brep info F 0 | ||
+ | :: Output information for the 0th face of obj.brep. | ||
+ | : '''mged>''' brep obj.brep plot S 0-2 | ||
+ | :: Plot the 0th to 2nd surfaces of obj.brep. | ||
+ | : '''mged>''' brep sph1.brep intersect sph2.brep 0 0 | ||
+ | :: Intersect sph1.brep's 0th surface with sph2.brep's 0th surface. (When there's no intersection type specified, we compute SS intersections) | ||
: '''mged>''' brep obj.s obj.brep | : '''mged>''' brep obj.s obj.brep | ||
:: Convert implicit primitive obj.s to BREP form named obj.brep. | :: Convert implicit primitive obj.s to BREP form named obj.brep. | ||
--> | --> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
==See Also== | ==See Also== | ||
− | |||
: [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] |
− |