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 24: | Line 24: | ||
: '''kill V''' | : '''kill V''' | ||
− | :: Removes the vertexuse and vertex geometry of the selected vertex (via its coordinates). When specifying vertex to be removed, user generally will display vertex coordinates in object via the MGED command [http://brlcad.org/wiki/MGED_CMD_labelvert labelvert]. | + | :: Removes the vertexuse and vertex geometry of the selected vertex (via its coordinates). When specifying vertex to be removed, user generally will display vertex coordinates in object via the MGED command [http://brlcad.org/wiki/MGED_CMD_labelvert labelvert]. |
::For example: | ::For example: | ||
Line 37: | Line 37: | ||
::: '''mged>''' nmg myobj kill F 14 | ::: '''mged>''' nmg myobj kill F 14 | ||
− | : ''' | + | ==Proposed subcommands== |
− | :: | + | : ''' make F ''' |
− | + | :: Creates face(s) in first encountered region and shell. General usage is to label vertices with their index number using labelvertid (not labelvert which labels vertices with their coordinates instead). | |
− | ::For example: | + | |
− | ::: '''mged>''' nmg myobject | + | ::For example: |
+ | ::: '''mged>''' labelvertid myobject | ||
+ | ::: '''mged>''' nmg myobject make F 4 5 6 7 F 0 1 6 5 F 1 2 7 6 F 2 3 4 7 F 0 5 4 3 | ||
: ''' make V ''' ''vertex-list'' | : ''' make V ''' ''vertex-list'' | ||
− | :: Creates | + | :: Creates vertices in first encountered region and shell, using the ''vertex-list''. |
::For example: | ::For example: | ||
::: '''mged>''' nmg myobject make V 0 0 0 0 1 0 1 1 0 1 0 0 1 0 1 0 0 1 0 1 1 1 1 1 | ::: '''mged>''' nmg myobject make V 0 0 0 0 1 0 1 1 0 1 0 0 1 0 1 0 0 1 0 1 1 1 1 1 | ||
− | : ''' | + | : ''' move V ''' ''x_initial y_initial z_initial x_final y_final z_final'' |
− | :: | + | :: Moves an existing vertex specified by the coordinates ''x_initial y_initial z_initial'' to the position with coordinates ''x_final y_final z_final''. |
− | |||
− | |||
− | |||
− | |||
− | ''' | + | ::For example: |
+ | ::: '''mged>''' nmg myobject move V 1.0 1.0 1.0 2.0 2.0 2.0 | ||
==Return Value(s)== | ==Return Value(s)== |