|
Miscellaneous Commands
|
|
|
CURSOR Visibility
cursor disable
cursor enable
|
These commands control the visibility of the cursor.
|
|
|
|
CURSOR Type
cursor arrow-triad
cursor triad
cursor cross-hairs
cursor small-cross
cursor box
|
When the world cursor is enabled, these commands control the type of cursor that is displayed.
|
|
|
|
ID RESET
id reset <bos path>
|
This command renumbers all primitive id's within a block or object. For each object, primitives are each given an integer id. This command will give these primitives an unbroken series of id’s starting at 1.
|
|
|
|
COPY OBJECT TO BLOCK
COPY PRIMITIVE TO OBJECT
copy object <path1> to block <path2> name <new name>
copy from polygon <path1> to object <path2>
copy primitive <primitive> to object <path2>
|
The first command above places a copy of the object at <path1> in the block <path2>, giving it the name <new name>.
The second and third commands place a copy of the polygon/primitive in the object at <path2>.
|
|
|
|
E-SPACE Transformations
move <bos> e-space <displacement>
scale <bos> e-space relative <scaling factors>
scale <bos> e-space absolute <scaling factors>
rotate <bos> e-space angles <angles of rotation>
shear <bos> e-space angles <angles of shear>
|
These e-space commands are not available in the SilverScreen menu system.
|
|
|
|
RELOCATE
relocate <bos> front
relocate <bos> rear
|
This variation of the RELOCATE command that allows an entity to be moved to the front or rear of its enclosing block. Since entities are displayed from front to rear, this command has the effect of altering the display sequence:
|
|
|
|
NOTE
note <message>
|
The note command displays a message on the help line and waits for a key press. The note command is sometimes used as a simple debugging tool. Examples:
ss_command (“note the area of the object is %g”,area);
ss_command (“note the location of the point is %z”,p);
|
|
|
|
WAIT
wait <seconds> <message>
|
This is a variation of the NOTE command. It causes a message to be displayed on the screen for a fixed amount of time. Examples:
ss_command (“wait 5 Volume = %g”,area);
ss_command (“wait 3 Centroid at %z”,centroid);
|
|
|
|
TEXT-EDIT
text-edit <file name> simple
|
This command invokes the text editor for the text file <file name>.
|
|
|