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] |
− | |||
− | |||
+ | ==Argument(s)== | ||
+ | <!-- | ||
: '''object''' | : '''object''' | ||
:: Name for the primitive that you want to operate on. | :: Name for the primitive that you want to operate on. | ||
− | : ''' | + | : '''S''' |
− | :: | + | :: Plot or output info for a specific 'surface'. |
+ | |||
+ | : '''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''' | ||
+ | :: surface-surface intersections (default). | ||
+ | |||
+ | : '''brepname''' | ||
+ | :: When convert a non-BREP object to BREP, the result BREP's name. | ||
+ | |||
+ | : '''comb''' | ||
+ | :: The comb to be converted to non-evaluated BREP form. | ||
+ | |||
+ | : '''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. | ||
+ | |||
==Description== | ==Description== | ||
Line 66: | Line 109: | ||
==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] |
− |