Location, Direction, Plane and Axis Specification

Many commands require that a location or a direction be specified. Although entering the three floating point numbers required to uniquely define a vector is perfectly acceptable, it may be more convenient to specify the direction or location with respect to existing entities in the model.

For example, the following commands might be used for creating straight curves using location and direction specification described here:

Create Curve [From] Location {options} Direction {options} length <value>

Command Panels for Specifying Location, Direction, Plane, and Axis

The command syntax for specifying location, direction, plane, and axis are some of the most powerful, yet complex in the Trelis command language. On those command panels where this information is required popup dialogs are available to assist the user define needed information. The dialogs are each derived from the same base parent, so their behavior is similar.

For example, the command for creating a simple curve (shown above)  includes options for specifying a location and direction for the curve. The command panel for this command is shown below. Notice the fields for specifying location and direction. Each includes a button which, when pressed, will launch a dialog that includes all the details for a simple location of direction, or a very complicated location and direction. The dialogs are shown below.

        

The location, direction, plane, and axis commands often allow additional location, direction, plane, and axis syntax tokens as part of the definition. When this happens the 'child' dialog' will spawn a new tab. As the user hits the Apply button, the tokens will be written to the appropriate field on the parent dialog. An example below shows a direction dialog shown as a new tab in the location dialog. The new direction tab is highlighted in yellow.