Batch (Command Line) Positioning
Batch (Command Line) Positioning
A subset of the interactive positioning commands described above are also available in command-line line form. While these can be used interactively the main purpose of them is to enable positioning to be performed in batch mode. These commands will provide visual feedback if the graphical user interface is running, but if it is not ( PRIMER started with "-d=batch" command line option) they will still function. A full listing of command-line commands is given in Appendix L.
The positioning commands are invoked by the [PRIMER >] DUMMY command, and occupy a hierarchy as follows:
| At DUMMY > level | ||||||||||||||
|
ASSEMBLY
|
Select an assembly by name or number, then perform one of the following operations upon it: |
|
||||||||||||
|
POINT
|
Select a point by name or number, then perform one of the following operations
upon it:
(Note: moving the point implicitly moves its "owner" assembly.) |
|
||||||||||||
| CONNECTION | Select a connection by name or number |
|
||||||||||||
| POSITION | Specify a position name or id | Retrieves and applies the stored position name or id | ||||||||||||
| SAVE | Specify a position id and (optional) name | Saves the current configuration as a saved position id, with optional name . | ||||||||||||
| H_POINT | Specify coordinate x, y, z | Will move the Dummy H-Point to coord x, y, z | ||||||||||||
| READ_CONFIG | Specify a filename | Retrieves a free-standing dummy configuration file (the keywords and data between *DUMMY_START and *DUMMY_END ). Filename will usually have the extension .dcf | ||||||||||||
| READ_DUMMY_ANGLE | Specify a filename | Retrieves and applies the overall orientation, H-Point and joint angles stored in a Dummy Angles File (usually extension .daf). | ||||||||||||
| WRITE_DUMMY_ANGLE | Specify a filename | Writes out the Dummy Angles File, for the selected Dummy, with the specified filename. | ||||||||||||
| ACCURACY | Specify a value | Global factor on the accuracy of the mechanism positioning process. Value must lie in the range 0.1 to 100.0 | ||||||||||||
|
ACCEPT
|
Accept the current dummy position, save its updated geometry and return to the main [PRIMER >] prompt. | |||||||||||||
|
RESET
|
Undo all transformations and restore the initial geometry of the dummy, remaining at this prompt level. | |||||||||||||
|
QUIT
|
Undo all transformations and restore the initial geometry of the dummy, then return to the main [PRIMER >] prompt. | |||||||||||||