MGED CMD p

From BRL-CAD


p[edit]

Syntax[edit]

p <ValueList>


Argument(s)[edit]

<ValueList>
List of values.


Return Value(s)[edit]

No Return Values for this command.


Description[edit]

The "p" command provides precise control over primitive editing operations that would normally be done using the mouse or knobs. For example, a shape rotate may be performed by selecting rotate from the primitive edit menu, then providing the rotation angles with the p command. A command of "p 0 30 0" would rotate the edited shape through 30˚ about the y axis. Similarly, many of the individual parameters of the edited shape may be set exactly using the p command. If the scale H menu item is selected while editing a TGC, then the value1 supplied with a p command specifies the actual length of the height vector for that TGC. This method is the recommended technique to set precise values for shape parameters. The translate and rotobj commands provide a similar capability for object editing.


Example(s)[edit]

mged> p 30
Set the currently selected shape parameter of the currently edited shape to 30 units.


See Also[edit]

translate
rotobj
orot
oscale

Page Generated by David Loman on: 10/11/2007 at: 1:56:17 PM