PLOTTER
- Last UpdatedOct 06, 2023
- 4 minute read
Purpose
Define and generate a general plot file.
Syntax
PLOTTER ( MEDIA ( A0 ! A1 ! A2 ! A3 ! A4 ! USER $N $N ) !
DEFINE VIEW $L !
VIEW $L ( SCALE $N !
EXTENTS $N $N $N $N !
ORIGIN $N $N !
TYPE ( SECTION < /REFLECT > !
WATERLINE < /REFLECT > !
BUTTOCK !
ISOMETRIC !
WORKPLANE ) !
EYE $N $N $N !
TARGET $N $N $N !
LAYER ( $N < $S > ! /ALL ) !
MODE ( MESH < $N > ! BOUNDARY ! PRINCIPAL ) !
GRID ( NONE ! AUTO ! CURVE < INC $N $N > !
NUMBERS ( ON ! OFF ) ) !
HLR !
CHARACTER $N $N ) !
PEN ( AXES ! PATCH ! TBHD ! LBHD ! DECK ! COMPARTMENT ! SECTION !
WATERLINE ! BUTTOCK ! DIAGONAL ! CLINE ! CURVE) $N !
BORDER ( OFF ! ON $N $N $N $N ) !
TABLE ( DRAWING ! GP ! HULLFORM ! FRAME ) ( ON !
OFF !
ORIGIN $N $N !
JUSTIFICATION ( TOPLEF ! TOPCEN !
TOPRGT ! CENLEF !
CENCEN ! CENRGT !
BOTLEF ! BOTCEN !
BOTRGT ) !
WIDTH ( OFF ! ON $N ) !
CHARACTER $N $N ) !
EXECUTE < $F > !
CLEAR )
Description
The Plotter command is used to define the layout of the plot and to output the general plot file.
The basic sequence of use is to first define the size of the plot media. The user can then specify which pen numbers will be used for each entity type. The user then defines a number of views and their position on the media, extent, scale, contents, The plot can at any stage be previewed in one of the graphic display windows. When everything is correct the plot can be output to a file.
At any stage all current plot specifications can be cleared to allow for a new plot layout.
Command Qualifiers
|
MEDIA |
Specifies a standard paper size, A0...A4 or a user defined paper size. |
|
USER $N $N |
Used with Media, $N $N specify the U and V dimensions of the media respectively. |
|
DEFINE VIEW $L |
Creates a list of one or more named views. |
|
VIEW $L |
Specifies a list of one or more existing views to which the associated property is applied. The view properties are as follows; |
|
SCALE $N |
Defines the scale of the drawing as 1/$N. |
|
EXTENTS $N $N $N $N |
Defines the overall size of the view as minimum U, maximum U, minimum V and maximum V respectively. The values are given in the model units. |
|
ORIGIN $N $N |
Defines the position of the drawing origin (bottom left corner) in the media coordinate system. |
|
TYPE |
Defines the orientation of the view as either SECTION, WATERLINE, BUTTOCK, WORKPLANE or ISOMETRIC. For Section AND Waterline the /REFLECT qualifier can optionally be included. |
|
EYE $N $N $N |
For the orientation of isometric views, defines the X, Y, Z coordinates respectively, of the position the model is viewed from. |
|
TARGET $N $N $N |
For the orientation of isometric views, defines the X, Y, Z coordinates respectively, of the view point of the model. |
|
LAYER |
Controls which layers are visible in the view. The views are specified by the qualifiers $N for a single view, $S for a list of view numbers or /ALL. By default the command turns views on, optionally the qualifier /OFF can be included. |
|
MODE |
Controls how patches or curves are displayed in a view. The function of the available options is the same as for the options in the Mode command. Note: |
|
GRID |
Controls the type of grid applied to a view. This can be NONE, AUTO which uses system
defined spacings within the overall view size or CURVE which defines the grid based
on all stored orthogonal curves. |
|
HLR |
Specifies that the view is to be processed through the hidden line removal algorithm. Note: |
|
CHARACTER $N $N |
Define the width and height respectively, of characters, in media units. |
|
PEN |
Controls the number of the pen to be used for the particular element, either AXES, PATCH, TBHD, LBHD, DECK, COMPARTMENT, SECTION, WATERLINE, BUTTOCK, DIAGONAL, CLINE or CURVE. |
|
BORDER |
Use ON $N $N $N $N, to specify that a border should be included and give the margin values of top, bottom, right and left respectively. Simply use OFF to remove the border. |
|
TABLE |
Four types of table can be defined and include in the plot:
|
|
EXECUTE $F |
Outputs the complete plot to the specified file. If the file name is omitted the plot is previewed in a selected graphic display window. |
|
CLEAR |
Deletes all existing plot settings. |