Beruflich Dokumente
Kultur Dokumente
Chapter 1
Visual DRAW is a general purpose, three dimensional CAD software for
Windows. With Draw, complex engineering drawings can be created and
plotted. This chapter gives an overall picture of the features supported in Draw
and describes the user interface tools and basic input techniques.
Visual DRAW entities, their attributes, and coordinate systems are introduced in
the following sections. Parts, Records, Draw models, and Model files are
described.
All drawings and models consist of geometric figures and related annotations.
Visual DRAW provides a set of predefined primitives for generating geometry
and annotations. These predefined primitives are called entities. Entities are
classified into the following groups.
Basic geometric entities: These are curvilinear entities which form the building
blocks of a drawing.
Construction entities: These are underlying or guiding entities which are used
for constructing true geometry.
Surfaces: These are the basic entities with which 3-D objects are modeled.
- Visual Draw - - Back to STAAD/Pro ->
. Introduction
2 Chapter 1
Chapter 1 3
Each entity has predefined class specific and entity specific characteristics.
These are known as attributes of the entity.
- Visual Draw - - Back to STAAD/Pro ->
. Introduction
4 Chapter 1
A model is the primary object that Draw operates on. It can be thought of as the
collection of all entities, parts, and current settings. For example, a complete
drawing is a model.
Visual DRAW saves the model data in a specific file format. A file in which
Draw model data is stored is called a model file.
1.1.3 Layers
Layers are resources in a model or drawing which are used by entities. Each
entity has a layer associated with it. The visibility of a layer can be controlled.
Layer visibility can be ON or OFF in each view independently. If layer visibility
is OFF for a specific view, then entities on that layer are not seen in that view.
Entities which lie on invisible layers can not be selected for operations.
Chapter 1 5
A model may be viewed from different eye points and with different zoom scale
factors in various windows. For example, if a complex assembly drawing is
being worked on, the entire assembly can be viewed in one window and the
detail can be seen in another window.
All newly created view windows display a title bar by default. The title bar
contains the view window number, a control menu and buttons for minimizing,
maximizing and closing the view window.
A single view window can show, one, two or four related views. The views are
related since they display various projections of the same model in space.
- Visual Draw - - Back to STAAD/Pro ->
. Introduction
6 Chapter 1
The cross zoom feature in Visual DRAW allows the contents of a rectangular
zoom region to be seen in another window. For example, during an assembly
drawing, using the facility of cross zoom, a small region can be selected from the
assembly window and the fine details can be seen in the detail window.
By default the UCS is aligned to the WCS. There are various UCS manipulation
functions which can be used to locate a UCS anywhere in space. The UCS follow
technique allows the origin of the UCS to be changed to the last point input or
output. This is useful when dimensions are known relative to each other.
- Visual Draw - - Back to STAAD/Pro ->
Chapter 1 7
Limits
Typical drafting applications involve creating and editing geometry within the
limits of the drawing paper and plotting the contents within these limits. The
limits of the drawing paper on which the drawing or model is plotted are called
drawing limits. The drawing limits are denoted by a rectangle lying in the X-Y
plane of the WCS. The rectangle is located at the origin and extends in to the
first quadrant of the WCS. The limits can be set to any paper size, standard or
non-standard. The plot-dwg-lim command creates a plot the size of the current
drawing limits.
Note that the drawing limits do not restrict entities from being created beyond
the limits. The drawing limits are only applicable during plotting.
Extents
The smallest box in space which has its faces parallel to the axes of the
coordinate system and in which an entity lies completely is called the extent box
of the entity in that coordinate system. In a 2-D application, this box is a
rectangle.
The smallest box encompassing the extent boxes of all the entities in the model
is called the model extent box. If there are no entities in the model, the model
extents are the same as the drawing limits with a nominal depth.
Since construction lines are infinite in length, their extent boxes are also infinite.
If construction lines are present in the model, then the extent box of the model is
the box encompassing the extent boxes of all entities excluding the construction
lines.
For a marker having zero area (for example, a point marker), the extent box
defaults to a single point. If there is only a single marker of this type in the
model, the model extent box is the same as that of the drawing limits with a
nominal depth, centered at the position of the marker.
- Visual Draw - - Back to STAAD/Pro ->
Chapter 1 9
1.1.7 Parts
1.1.8 Plotting
Draw uses the Windows Print mechanism and generates output for the device set
as the default printer. The Print Setup facility allows the printer, paper size and
orientation to be set. The print output may be redirected to a file. For more
information, refer to Chapter 10, PLOTTING and Appendix A, SETTING UP
PLOTTERS AND PRINTERS. Visual DRAW provides two plotting
mechanisms.
Scene Plotting
- Visual Draw - - Back to STAAD/Pro ->
. Introduction
10 Chapter 1
In this method a scene is plotted. The windows and views on the screen are
plotted as they are seen. The size of the plot is determined by the scene plot
limits. Thus if a model has been created and is viewed in multiple windows from
various eye points, all views are plotted as they appear.
Identifiers
When working with Visual DRAW, many named objects are referred to. For
example, the color named white, the part named $world, the layer named 27,
and so on. All such names are called identifiers. A general Draw identifier is a
string containing between 1 and 31 characters. Each character in the identifier
string must be one of the following:
• a to z
• A to Z
• 0 to 9
• _ (underscore character)
• - (hyphen character)
• . (dot character)
• $ (dollar character)
Patterns
A sub-set of names can be selected from a given list. There may be common
characteristics by which the names can be identified. For example, one might be
interested in all the names which have the prefix dim. Such strings are addressed
by a single string, called a pattern. The characters in the string being selected
and the pattern are processed from left to right. Each character in the pattern is
either a simple character or a metacharacter. A simple character matches itself.
A metacharacter can match one or more characters which may be the same or
- Visual Draw - - Back to STAAD/Pro ->
Chapter 1 11
different from itself. Following are the metacharacters which can appear in a
pattern:
Extended entities are the infinite entities underlying the finite entities. For
example, the infinite line on which a line entity lies is the extended line entity.
Similarly, the circle of which a circular arc is a portion is the extended circ-arc
entity.
For lines, the approximate point is projected along the normal from the point to
the line. For circles, the approximate point is projected along the line drawn
from the point to the center of the circle. For curves, the approximate point is
projected along the line drawn from the point to the closest point on the curve.
- Visual Draw - - Back to STAAD/Pro ->
. Introduction
12 Chapter 1
1.1.11 Settings
All entity attributes in Visual DRAW are settings. They are taken from preset
values or attribute settings. There are settings other than the attributes. Some
settings are associated with the model and are called model settings. Others are
associated with the environment and are called environment settings. A list of all
settings is available in Appendix C, SETTINGS.
1.1.12 Undo
Almost everything that is done in Visual DRAW can be undone. Undone steps
can be redone as well. Undo and redo can be performed on any number of steps.
Undo and redo work in sequential manner. When undo is implemented, the last
action performed is undone. If undo is implemented again, the one before that is
undone, and so on. Similarly with redo, the last undone action is redone, then
the previous one, and so on.
Visual DRAW provides a feature for copying the screen contents to the clipboard
in a picture format. The picture can be pasted into documents using other
Window applications.
- Visual Draw - - Back to STAAD/Pro ->
Chapter 1 13
Detailed descriptions of commands may be found on-line using the help feature
of Draw. On-line help is described later in this chapter.
Now that the basic concepts underlying Visual DRAW have been described you
can start working with Draw. This section briefly describes the tools and areas
on the screen. It also teaches how to start and end a Draw session.
To run Visual DRAW, double click on the Visual DRAW icon in the RE 3D
Engineering Suite Program Group.
A startup screen appears indicating that Visual DRAW is being loaded. Once
Visual DRAW is completely loaded, the startup screen disappears and the
program waits for user input.
- Visual Draw - - Back to STAAD/Pro ->
. Introduction
14 Chapter 1
When the Visual DRAW screen appears and the startup screen disappears,
Visual DRAW is ready to accept commands. Before starting the session, take
note of the major components on the screen. The screen layout consists of
menus, icon toolboxes, text windows and graphic view windows. The screen can
be divided into the following areas.
Title Bar
Menu Bar
Paged Tool Bar
File optionsFile
Construction
optionsFile
Client Area
Transparent
optionsFile
Auxiliary
option area
Command Line
Information
Chapter 1 15
Title Bar
This bar, located at the top of each window indicates the application running in
that window. It is unique to each window. The title bar string consists of the
name of the application and the name of the drawing file separated by an
hyphen. The Visual DRAW window is of the form
where <filename> is the name of the drawing file currently loaded. For a Draw
session without a specified filename, the string [Untitled] appears,
indicating that the filename has not been specified.
The Control menu on the left of the title bar contains commands for moving,
resizing, minimizing, maximizing, restoring and closing the application
window. Three buttons, Minimize, Maximize and exit, on the right side of the
title bar, are graphic equivalents of the corresponding commands in the Control
menu.
Menu Bar
The area below the title bar is the menu bar. It contains menu titles which bring
up drop-down menus for invoking commands. The menu bar is classified
depending on the functionality of the options under a particular menu bar option.
File:
Options to read, clear, save and delete Visual DRAW files are located under this
title. Options for loading LISP programs and accessing plot related operations
are here. This menu also contains the Exit option for terminating the Draw
session.
- Visual Draw - - Back to STAAD/Pro ->
. Introduction
16 Chapter 1
Edit:
General editing operations such as move, copy, rotate, scale, and special editing
operations like trim, chamfer and fillet are located under this title. The undo and
redo commands are present here. This menu contains the Copy Image option for
transferring data to the clipboard. Also present are commands to edit text and
curves and a sub-menu to modify attributes of entities, dimensions and surfaces.
Create:
Construction options for entities are present here. Lines, circles, circular arcs,
ellipses and curve commands are accessible from this menu. This menu also has
sub-menus for creating biarcs, surface entities and blocks.
View:
Display control operations such as zoom, pan, regenerate and refresh are located
under this title. Changing views and viewing 3-D objects with their hidden lines
eliminated are possible using the commands in this menu.
Settings:
General attribute settings such as color and line style are located in this menu.
Entity specific attributes for markers, hatch and text are also provided. There are
also paper size and work scale settings, and commands to access UCS, grid and
snap related parameters.
Utility:
Sub-menus for undo, layers and parts related options are classified under this
menu title. Automatic symbol generation and sketch update features are also
included in the utility menu.
Annotate:
Dimensioning is done using commands from this menu. Commands to place
text, hatch, center lines, markers and leaders supplement the dimension features.
Window:
Windows are created using the new window command in this menu. Options for
arranging multiple windows are also present under this menu.
Help:
Commands for accessing documentation on Visual DRAW commands and
guidelines for using on-line help are placed under this menu title. The About
Visual DRAW command displays package related information like version
number.
- Visual Draw - - Back to STAAD/Pro ->
Chapter 1 17
Client Area
This is the working area where visual feedback of operations on the drawing
data is seen. Graphical input such as point input or picking entities is done in
this area. On invoking Visual DRAW, one view window is present in this client
area. More view windows may be created and arranged inside the client area.
The paged tool bar is located next to these. This tool bar is a collection of icons
which invoke frequently used commands. It toggles two pages of commands.
Edit Page
Dimensioning Page
The edit page of the toolbar contains editing commands. The dimensioning page
of the toolbar contain commands for dimensioning. On the right is an icon to
toggle between these two pages.
The icons for entity construction are located on the right hand side of the screen.
The large range of commands available for constructing lines, circles, arcs,
polylines, curves and construction entities are contained in several tool boxes.
The icons for various tool boxes appear upon clicking the left arrow icon. To
select the desired tool box, click on the respective icon.
- Visual Draw - - Back to STAAD/Pro ->
. Introduction
18 Chapter 1
Command Line
This area is used for entering input through the keyboard. In the idle state,
typing valid command names invokes appropriate interactions. Once inside a
particular interaction, this area is useful for providing text input, point
coordinates or numerical values through the keyboard. The up arrow button at
the right of the command line invokes the history window, showing all
previously typed inputs.
- Visual Draw - - Back to STAAD/Pro ->
Chapter 1 19
Status Bar
a. Message Area
Requests for information or status information about a selection, command or
process are displayed in the message area. A new message string causes the
previous string to scroll up. The up arrow button on the message area invokes
the Message window, where previous messages can be seen. The Message
window is closed using its control menu or by clicking the up arrow of the
message bar again.
c. Setting Information
This area displays information on the entities present in the current drawing.
The information bar gives feedback on some of the important state variables of
Visual DRAW. The values of these variables can be changed by selecting the
menu option in which that variable is displayed.
Variable Description
ln-style Shows the line-style set and provides to set a new style
work-scale Shows work scale and allows setting new scale factor
- Visual Draw - - Back to STAAD/Pro ->
. Introduction
20 Chapter 1
Variable Description
The status bar itself may be set ON or OFF using the i button at the bottom right
corner of the screen.
The icon for plotting is located to the right of the paged toolbar. Use the
command plot-dwg-lim to plot the drawing limits, or plot-scn to plot the scene.
- Visual Draw - - Back to STAAD/Pro ->
Chapter 1 21
Refer to chapter 10, PLOTTING and Appendix A, SETTING UP PLOTTERS
AND PRINTERS for details.
To exit a Visual DRAW session, use the end command. If the current model has
not been saved, Draw prompts to save the current model. Options are available
to save the model or to quit without saving.
The menu bar shows several menu titles containing classified command items.
For example, all file related commands are located under the menu title File.
Drop-down menus appear upon clicking the menu title or by pressing an
ALT+<KEY> combination, where <KEY> is the letter underlined in the menu
title.
• Some menus have ellipses (...) appended to the command name. This
indicates that further input is required to completely execute the command.
• Menu items which toggle settings have a check mark ( ) before the menu
item name. The presence of a indicates that the setting is ON. Clicking
the option turns the setting OFF and the mark vanishes.
• Some commands are preceded by an asterisk (*). This indicates that these
are transparent commands. Transparent commands can be executed from
within other interactions without terminating the current interaction.
- Visual Draw - - Back to STAAD/Pro ->
. Introduction
22 Chapter 1
A toolbar containing many icons is located under the menu bar. The icons
represent various commands. These commands can be invoked by clicking on
the icon.
Icons are graphical representations of the commands. Note that not all
commands are represented by an icon toolbox. The various types of toolboxes are
as follows.
Auxiliary Options
Auxiliary options are a means for providing access to related settings when a
command is in progress. For example, to set text height after invoking the text
command it is not necessary to terminate the command. The toolbox appearing
in the auxiliary area contains the option to do so.
- Visual Draw - - Back to STAAD/Pro ->
Chapter 1 23
For some commands, Visual DRAW provides list boxes containing valid input.
It is possible to scroll through the list and select the entry. In an interaction
displaying a list box, the desired value can also be typed through the keyboard if
selecting through the list box is not convenient. Typically, input other than that
listed is invalid.
This section describes the organization and use of on-line help. Visual DRAW
On-line Help provides descriptions of various concepts and commands present in
the package.
1. Contents
Selecting this entry displays the Contents page of the help file.
2. Search on Help
Selecting this entry opens a search dialog box. This dialog box can be used to
search for a specific command or help topic among those available.
Below the menu bar of the help window are buttons to reach the contents page,
search through topics and obtain history of all commands which have been
scanned. There are underlined words in a distinct green color. These are called
hyper-text. They enable jumping to another topic when clicked on. Hyper-text
with a solid underline clears the current topic of help and brings the help of the
new topic. Hyper-text with a dashed underline brings up topics which display
additional text within a box.
1. Using help
Press F1 to discover how to use Help. Find opens a search dialog box with the
names of all available commands. To get help on a particular command, type the
name of the command or another relevant word in the dialog box. As the
command is typed, Windows searches for the command name and displays it.
Select the topic, then click the display button to view help on the command.
2. Features
Selecting Pull-down menus brings up a window showing all entries that appear
in the pull down menus of the package. With this, the help for any command in
the menu bar can be obtained.
- Visual Draw - - Back to STAAD/Pro ->
Chapter 1 25
3. Glossary
The Glossary provides brief descriptions of various CAD specific terms. It also
contains terms commonly used command descriptions. Terms in the Glossary are
sorted in alphabetical order. The Glossary is structured so that the definitions of
terms can be seen by selecting its hypertext. All the terms beginning with the
same letter are placed in one group. Cross links to various groups are provided.
To view the definition of a term, select its entry in the Glossary. The definition
appears in a popup window.
The procedure for specifying a filename is as follows. Ensure that the disk drive
and type of file are properly selected. Change to the correct directory and either
type in the file name in the file name box or select the name from the list
displayed. For more details on file dialog, see the Windows User Manual.
<- move cursor to left (cursor can be placed directly using mouse
also)
-> move cursor to right (cursor can be placed directly using mouse
also)
(up) see earlier commands and values in the order in which they
were input
Chapter 1 27
History Window
A history of the last 25 typed inputs is maintained by Visual DRAW. The up
arrow button on the command line provides access to the history information.
When the up-arrow button on the right hand side of the command lineis clicked,
a window appears above the command line overlapping the client area. This
window displays the previous inputs. Using the vertical scroll-bar, it is possible
to see the inputs or pick a command for execution. The command may be edited
before pressing ENTER for execution.
Message Window
With an interaction similar to the History window, the up-arrow button on the
message bar can be clicked to open and close the message window. This facility
displays messages which have scrolled up or are not visible because of long
sentences.
Visual DRAW issues error messages or warnings for improper inputs. Some
command interactions accept values in a certain range and issue error messages
on receiving larger or smaller values. In some cases, the given input must be
from a displayed list of values. Other errors may be hardware problems, such as
the absence of the hardware lock or shortage of disk space. In restricted mode,
errors can be caused by exceeding the specified entity limits. Another class of
errors may appear where there is a logical mistake such as selecting two parallel
lines to obtain an intersection point or trying to draw a circle tangent to three
concentric circles.
When an error occurs, an error window appears indicating the error type. After
reading the error message click on the OK button to continue. Fatal errors may
cause Visual DRAW to terminate.
The status bar, as seen in Figure 1.10 consists of the message area, command
and locator echo area and the information status bar. The information status bar
can be toggled ON or OFF using the i toolbox icon. The buttons in the
information status bar display the current setting they represent. Upon selection,
- Visual Draw - - Back to STAAD/Pro ->
. Introduction
28 Chapter 1
they allow the values of the settings to be changed. The buttons function
transparently.
1.4 Input
This section describes the concepts essential to the input of various objects in
Visual DRAW. It also describes the input mechanisms for these objects. Most of
the object input techniques include more than one mechanism of specifying
input. All these mechanisms are active simultaneously.
The input plane is a plane on which the cursor moves. It is always one of the
principal planes of the UCS, that is the X-Y, Y-Z, or Z-X plane. The direction
and the point input grid are applied on the input plane.
Note: Visual DRAW works with both two button and three button mice. In
a three button mouse, the middle button behaves as typing RETURN or
ENTER through the keyboard.
Keyboard Input
Keyboard input is achieved by entering text or numerals using the keyboard and
pressing the CARRIAGE RETURN or ENTER key.
- Visual Draw - - Back to STAAD/Pro ->
Chapter 1 29
Break
A break action aborts the current action. For transparent commands, a break
action returns to the command from which the transparent command was
invoked. Otherwise, the package returns to the idle state and awaits the next
command. A break action is generated by clicking the right mouse button or by
pressing the ESCAPE key on the keyboard.
Confirm
The confirm action results in the acceptance of input by the package or indicates
the termination of a series of sub-interactions. This is achieved by either clicking
the middle mouse button or by pressing ENTER on the keyboard.
Chapter 1 31
A point grid can be defined for cursor movement. If such a grid is set, the cursor
will snap to the closest point on the grid. The grid is defined by the grid spacing
and the grid origin. The grid spacing is the distance between two successive grid
points along a particular axis. The origin determines the starting point of the
grid application. The grid is active for only those coordinates which vary on the
input plane. This means that if the input plane is the X-Y plane then the grid is
applied for the X and Y directions only.
A direction grid can be defined for cursor movement during direction input. This
grid is defined by a grid angle. This is the angle between two consecutive
directions. As the cursor moves on the input plane, it snaps to the closest
direction as defined by the grid angle if the grid is ON. The direction grid is
applied on the X-Y plane of the UCS only.
A snap can be set along the UCS axes. Whenever the cursor is near one of the
axes, it will snap to the closest point on that axis as defined by the axis snap
settings. There are two axis snap settings, the snap origin and the snap spacing.
- Visual Draw - - Back to STAAD/Pro ->
. Introduction
32 Chapter 1
These are the same as the grid settings. Axis snap is applied in the two
directions which vary on the input plane.
Points on entities can be snapped to, using the entity snap mechanism. There are
two mechanisms for snapping:
• permanent snap
• temporary snap
Permanent snap
This is a modal snap which remains ON or OFF until it's state is changed. There
are various snap types such as intersection point snap and end point snap. Each
has a modal setting which can be ON or OFF. Each type of snap can be applied
to a specific set of entities. All the snap types are arranged in order of
precedence. When a point is located using the mouse, all snap types that are on
are considered from highest to lowest precedence. They are tested on the entities
crossing or enclosed in the select aperture until an entity to which a specific snap
is applicable is found. If more entities than are needed by the snap type are
found, snap points are evaluated for all of these; the point closest to the point at
which the entity was selected is used.
Temporary snap
This snap is a temporary control which can be explicitly specify during point
input. It temporarily overrides all permanent snap settings. All snap types
available for a permanent snap are available here. The snap type and entities
must be explicitly specified. If multiple points result, then the points at which
entities were picked are used to resolve ambiguities.
- Visual Draw - - Back to STAAD/Pro ->
Chapter 1 33
Temporary snaps can be invoked in two ways:
Each snap type has a snap accelerator key associated with it. If an entity is
selected with this key pressed, the selected snap will be applied to the specified
entity. The following table shows the available snaps and associated accelerator
keys for each snap type.
Objects on the drawing paper frequently need to be scaled due to the physical
limits of the paper size. However the dimensions still need to be of the true size
of the object. Visual DRAW provides a work scale with which this can be
achieved. The work scale can be set to any value. The geometry created
thereafter is generated on the drawing paper after scaling by the factor specified.
Dimensions shown are those of the true object size.
1.4.1.9 Units
The basic units of Visual DRAW are millimeters. Thus, all data is assumed to be
in mm. Other units can be worked with by setting the appropriate work scale.
When it comes to dimensioning drawings, the units can be set to inches, feet or
any other unit. Refer to Chapter 4 DIMENSIONS AND ANNOTATIONS for
more details.
Visual DRAW reserves a set of predefined keywords. When input they result in a
specific action. These strings are called commands. Commands can be issued to
Visual DRAW in the following ways:
• keyboard input
• menu selection
• toolbox selection
- Visual Draw - - Back to STAAD/Pro ->
Chapter 1 35
The previous command input can be executed by clicking the up arrow key once.
The command to be executed is echoed in the command prompt.
Keyboard Input
Typing the Command
When Visual DRAW is in idle state, a command may be entered through the
keyboard. Pressing enter will send the command to Visual DRAW for execution.
Accelerators
Some commands are mapped to accelerator keys. Such commands can be
executed by activating these accelerator keys. There are two types of accelerators
that can be used for command entry, function key accelerators and menu
accelerators. Function key accelerators can be activated by pressing a function
key, such as the F1 key. Menu accelerators are activated by pressing the ALT
key, and then the character which is underlined in the menu item.
Transparent Commands
It is often necessary to temporarily suspend an interaction to execute another
command, then return back to the original interaction. Visual DRAW allows this
to be done using transparent commands.
- Visual Draw - - Back to STAAD/Pro ->
. Introduction
36 Chapter 1
Commands In a Loop
Many commands in Visual DRAW repeat themselves. After the input has been
supplied and the command has been executed, the input sequence is
automatically repeated as if the command has been re-executed. A confirm
action terminates the current loop of repetition and starts a new loop. A break
action terminates the command entirely and brings Visual DRAW to idle state.
To break from an interaction and execute a new command, an explicit break is
not needed. The icon for the new command can be selected directly. The current
command will be aborted and the interaction for the new command will start.
However, if the new command to be executed is transparent, the interaction in
progress is not aborted.
All mechanisms of point input result in a 3-D point. If only two coordinates are
specified, the final coordinate takes an appropriate default value. All coordinates
are assumed to be specified in the UCS unless explicitly specified otherwise.
There are three mechanisms of point input.
• keyboard input
• locator input
• entity snap
Keyboard Input
Points can be entered through the keyboard by typing the three coordinates
separated by space. Two coordinates are also acceptable. If a 2-D drafting
application is being worked on, the third coordinate does not need to be
specified. Any arbitrary Lisp expression which evaluates to a point can be given.
- Visual Draw - - Back to STAAD/Pro ->
Chapter 1 37
The specified Lisp expression is evaluated by Visual DRAW and the resulting
point is used.
The coordinates may be prefixed with modifiers during input. These modifiers
alter the interpretation of the coordinates. Following is a list of modifiers and
their meanings.
Modifier Interpretation
Locator Input
The mouse can be used to specify a point. The cursor always moves in the input
plane. A point can be specified in any view on the input plane by selecting the
desired location with the mouse. Point input through the mouse is governed by
the following rules.
• The active permanent snap settings at the time of input The permanent
snap can be set ON or OFF transparently
• The axis snap settings of the view in which the point is located
As the cursor moves, the point marker moves with it. It snaps to a point as per
the precedence mentioned above. The actually selected point is displayed with a
distinct marker on the screen.
- Visual Draw - - Back to STAAD/Pro ->
. Introduction
38 Chapter 1
Entity Snaps
Within the point input interaction, temporary snaps can be used to explicitly
snap to points on various entities. To select a point by temporary snap, select the
menu of the snap type to be activated. The entity (or entities) of interest should
be selected. Breaking from the temporary snap interaction takes you back to the
point specification interaction. Alternatively, the quick temporary snap
mechanism can be used.
Last Point
The last point which was input during any interaction is stored by Visual
DRAW. This can be used for relative point input with the @ modifier. In
temporary snaps, a snap to the last point is also available. Many interactions
result in automatic updating of the last point. For example, after lines are created
the last point changes to the second endpoint of the line.
Integers can be entered through the keyboard. Some interactions have a set of
commonly used values which are shown in a menu. Integers can be selected from
these. Any arbitrary Lisp expression which returns an integer can be typed as
well.
Real numbers or double precision floating point numbers, termed as doubles can
be entered through the keyboard. As in other interactions, any arbitrary Lisp
expression which returns a double value can be typed.
Chapter 1 39
Direction input generates a 3-D direction. For convenience, 2-D directions can
be specified which are converted to 3-D by Draw. Directions can be specified by
one of the following mechanisms:
• keyboard input
• locator input
• two point input
Keyboard Input
Direction can be input through the keyboard by specifying the angle that the
direction makes with the X axis of the UCS. The angle should be specified in
degrees.
Locator Input
Direction can be input through the mouse by clicking at the appropriate position
in one of the views. A dragged display of the current direction is shown from a
reference point or the center of the view port (if it has been specified in the
interaction). If the direction snap is ON, the nearest direction depending on the
- Visual Draw - - Back to STAAD/Pro ->
. Introduction
40 Chapter 1
direction grid angle is used. The direction snap can be set ON or OFF
transparently by selecting the menu which appears in the auxiliary menu area.
Similarly, the direction grid angle can be changed transparently.
A vector can be specified from one point to another, or by typing its i, j and k
components. Keyboard input is assumed to directly specify the vector while
location of a point is assumed to be a two-point interaction.
Text can be specified by typing, or picking from a set of values given in a menu
for some interactions. Any arbitrary Lisp expression which returns a string may
be typed as well. In many interactions, as the text is typed, it is dynamically
echoed on the graphics screen.
Escape sequences
Some characters of a specified string may need to be specially interpreted. In
such cases, these characters must be inside a string. Some of the frequently used
special characters, which are are not available on all keyboards, may be specified
with special escape sequence. Visual DRAW uses the backslash ( \ ) character as
the escape character. The following table gives a list of escape sequences and
the substitutions to be used for these. A backslash used at any place other than
the sequences mentioned below is ignored unless specified at the end of the
string, in which case it is treated as a \ itself.
- Visual Draw - - Back to STAAD/Pro ->
Chapter 1 41
Sequence Substitution
\d Degree symbol
\D phi symbol
\\ backslash \ character.
Pick Interactions
There are two types of pick interactions in Visual DRAW.
• fixed pick
• variable pick
- Visual Draw - - Back to STAAD/Pro ->
. Introduction
42 Chapter 1
The fixed pick interaction is activated when a fixed number of entities are
required in the interaction. The interaction terminates after the required number
of entities have been selected.
The variable pick interaction is activated when any number of entities can be
specified, like in the interactions of rotate and move. An explicit confirm action
is required to indicate the termination of the selection procedure.
When selecting a variable number of entities, the set of entities which were
selected in the last pick interaction is remembered. These can be directly selected
using the last input selection set option.
Pick Operations
A basic input action which results in the selection of one or more entities is
called a pick operation. There are various types of pick operations:
• Specifying the last input selection set: While picking, the inset
auxiliary option can be selected. This selects the last input selection set.
The last three pick operations are not available for a fixed pick interaction.
Pick State
The variable pick interaction is always in one of two states, add or subtract.
When in the add state, the seletced entities are added to a list one after the other.
In the subtract state, the selected entities are subtracted from the list. The add or
subtract state remains active until it is changed. Changing the pick state is done
- Visual Draw - - Back to STAAD/Pro ->
Chapter 1 43
by clicking on the toggle menu for add and subtract which appears during the
interaction.
Entity Filters
For many interactions only specific types of entities are acceptable. If a selection
rectangle, or a cluster of entities are selected, Visual DRAW selects only those
entities which are valid for the interaction.
Pick Aperture
The pick aperture determines whether or not an entity is selected by clicking the
mouse button. The pick aperture is a rectangle on the screen that moves with the
cursor. It appears during all entity pick interactions. An entity is selected if a
portion of this cursor lies on the entity. If more than one entity crosses the
aperture, the one which was created most recently is selected. The environmental
setting pk-aper is used to change the pick aperture. This sets the height and
width of the aperture to a specified value in pixels.
Visual DRAW has two login and two logout scripts. They are in standard Lisp
format. They can contain Lisp functions or Visual DRAW commands to be
executed after startup or before termination. These are used to initialize defaults
and set up an effective work environment. These scripts are:
Upon startup and termination, these files are searched for in the Visual DRAW
configuration directory and then executed. If these files are not found, they are
searched for in the current directory of Visual DRAW, if present.
When Visual DRAW starts, the following sequence of operations take place.
Chapter 1 45
When Visual DRAW terminates, the following sequence takes place.
Visual DRAW creates temporary files when it operates on models. These files
are created in a temporary directory which is removed whenever a Visual
DRAW session is terminated. The names of these temporary directories are a
running number of four digits prefixed with a DRA text string and have
extension .T to indicate their temporary nature. The location of this temporary
directory is determined by the following variables in this order of preference.
VETMP: The installation procedure does not set this variable. This may be set
in the AUTOEXEC.BAT file if you desire to utilize space of other disk drives.
Most Visual DRAW commands are Lisp functions which are interactive in
nature. They are generally called without any argument and receive all required
input interactively. However, many of these can take input through appropriate
arguments. For example, if the command line is executed without any
arguments, the interaction for creating a line starts. On the other hand, if
coordinates are supplied, a line is created without a point input interaction.
- Visual Draw - - Back to STAAD/Pro ->
. Introduction
46 Chapter 1
Lisp programs may be loaded and executed from within Draw. Frequently used
programs can be preloaded by putting them in the file GCADIN.LSP. Once this
is done, they are always available inside Visual DRAW.
Information about the current version of Visual DRAW is displayed in the About
Visual DRAW dialog. This dialog appears on clicking the About Visual DRAW
option under the Help menu. A click on the OK button is required to continue
using the package.
- Visual Draw - - Back to STAAD/Pro ->
47
Construction
Chapter 2
A new drawing is started by creating basic geometric entities such as lines,
circles, and arcs. Visual DRAW supports an innovative constraint based
construction technique in which geometry can be constructed without drawing
construction lines or trimming unwanted edges. This technique makes the
process of construction easy and quick. In this chapter, frequently needed
construction features are introduced. Then the constraint based construction
technique is discussed.
Most of the constructions discussed in this chapter (with the exception of curves)
are 2-D constructions and result in planar entities. However, these planar
entities may be located arbitrarily in space. They are always created in the X-Y
plane of the UCS. The UCS can be oriented in any direction. Only X and Y
coordinates of the points for 2-D constructions must be entered. If a point,
which is not on the UCS X-Y plane is specified, the projection on the X-Y plane
is used. Within construction operations the UCS can not be changed
transparently such that its X-Y plane does not remain coincident with that of the
previous UCS.
A toolbox showing a horizontal arrow on the right hand side of the screen (see
Figure 1.8) provides a set of tools for construction. Next to it is an icon
indicating the current construction option. Clicking on the arrow displays a fly
out toolbox which contains options for other sets of construction tools. The
selected option replaces the existing set of construction tools with the new set.
- Visual Draw - - Back to STAAD/Pro ->
Construction
48 Chapter 2
Command: ee-cont
Input
• first end point of the line
• for each subsequent line,
- second endpoint
• confirm action to start a new continuous line
• break action to terminate the interaction
Description
Specify the first point. Drag the rubberband line to specify the second point. The
locator coordinate area shows the coordinates of the line as the mouse is moved.
The previous endpoint becomes the starting point of the next line.
Notice this operation continues in a loop. Specify the points (245, 372) and
(245, 110) in a similar manner. Press the BREAK button of the mouse to
complete the interaction. The line created should look like that of Figure 2.1.
- Visual Draw - - Back to STAAD/Pro ->
Chapter 2 49
Command: edl
This method of line creation is useful if the length of the line is known. The
direction of the line is the inclination of the line with the UCS X-axis.
Input
• endpoint of the line
• direction of the line
• length of the line
• break action to terminate the interaction
Description
On specifying an endpoint, the direction is shown as a dragged display emerging
from this endpoint. If the cursor is moved after the direction is specified,
dragging of the line is seen. The length of the line is echoed in the value display
area.
input: 30
input: 235
Press the BREAK button of the mouse to terminate the interaction. A line like
that shown in Figure 2.2 is created.
Command: Oex
This command draws a series of horizontal and vertical connected lines whose
direction is measured with respect to the current UCS X-axis.
Input
• endpoint of the first line
• for each subsequent segment,
- approximate endpoint
- Visual Draw - - Back to STAAD/Pro ->
Chapter 2 51
• over action to terminate the interaction
- Visual Draw - - Back to STAAD/Pro ->
Construction
52 Chapter 2
Description
The first line has the specified point as its endpoint. A horizontal or vertical
rubberband line is seen depending on the mouse movement.
Command: hex
This command is useful when one endpoint of a line is known, the other
endpoint is approximately known, and the line is constrained to be horizontal.
Input
• endpoint
• approximate endpoint
• break action terminating the interaction
Description
The direction of the line being specified is horizontal.
Command: vex
Input
• endpoint
• approximate endpoint
• break action terminating the interaction
Description
The direction of the line being specified is vertical.
- Visual Draw - - Back to STAAD/Pro ->
Chapter 2 53
Command: pd
Input
• point
• direction
• break action terminating the interaction
Description
A infinite line passing through the specified point is displayed as a rubberband.
Note that an angle of theta and theta + 180 produce the same line.
input: 45
Figure 2.3 : pd
Command: ee-3d
Generally, all constructions are on the X-Y plane of the current UCS.
Occasionally it is necessary to draw lines in space. This command draws lines
between two endpoints in space.
Input
• first endpoint of the line
• second endpoint of the line
• over action terminating the interaction
Description
The line is dragged in 3D space as the second endpoint is being specified. All
three coordinates can be specified for both end points. If the Z coordinate is
eliminated, the result is a line in the UCS X-Y plane.
Chapter 2 55
input: 0, 0
input: 100, 0
The interaction repeats itself in a loop. Specify the following lines in a similar
manner.
Line L3 : (0 100) to (0 0)
Line L7 : (0 0 0) to (0 0 100)
Press the BREAK button of the mouse to terminate the interaction. The drawing
on your screen should look similar to Figure 2.4.
- Visual Draw - - Back to STAAD/Pro ->
Construction
56 Chapter 2
Command: cr
Input
• center
• radius
• break action terminating the interaction
Description
Draws circles for a given center and a specified radius.
Chapter 2 57
input: 0, 0
input: 150
Press the BREAK button of the mouse to terminate the interaction. A circle like
that shown in Figure 2.5 is created.
Figure 2.5 : cr
Command: cp
This command creates a circle given the center and a point on the
circumference.
Input
• center
• point on the circle
• break action terminating the interaction
Description
This command is useful when the center and a point through which the circle
passes is known.
- Visual Draw - - Back to STAAD/Pro ->
Construction
58 Chapter 2
Specify the points (0,0), (0,100), (100,100), (100,0), (0,0), (100,100) and (100,0)
in sequence.
Specify the center by clicking the mouse at the intersection point P1 of the
diagonals.
Specify the point on the circumference of the circle by clicking the mouse at the
vertex point P2. BREAK to terminate the interaction. Your screen should
appear similar to Figure 2.6.
- Visual Draw - - Back to STAAD/Pro ->
Chapter 2 59
Figure 2.6 : cp
Note: During point input it is often convenient to put the temporary snap
ON or use snap accelerator keys. For example, use temporary
intersection snap by typing i on the keyboard and simultaneously clicking
the mouse at the point of the diagonals to input the point of intersection of
the diagonals. Refer to section 1.4.1.7, Entity point snap, for details on
available snaps and corresponding accelerator keys.
Command: Ccr
This command draws concentric circles with the given center and radii.
Input
• center
• for each circle,
- the radius of the circle
• break action terminating the interaction
Description
Concentric circles are constructed using this command. Once the center is
specified, only the radius must be specified for each circle. The center remains
fixed for all the circles.
input: 0, 0
input: 100
The interaction continues prompting for radii, assuming concentric circles, all
centered about the same point.
input: 200
input: 300
BREAK to terminate the interaction. Circles like those of Figure 2.7 are created.
Command: c-cr
Chapter 2 61
Command: eep
This command creates a circular arc, given two endpoints and a point on the arc.
Input
• first endpoint
• second endpoint
• point on the arc
• break action terminating the interaction
Description
This command creates a circular arc given the two endpoints and a point on the
arc. A dragged display of the circular arc is seen as the point on the arc is
specified.
First let us create a few entities to aid with the arc creation.
input: 0, 0
input: 100, 0
input: -150, 50
input: 50, 50
input: 50, 50
input: Specify the first endpoint as the intersection of line L1 and the
circle.
input: Specify the second endpoint as the intersection of the line L2 and
the circle.
Chapter 2 63
input: Specify the point on the arc as the center of the circle.
Example
Consider creating a line with the following conditions:
Draw a horizontal line with one endpoint at (100, 100), and its other endpoint
on the circle. See Figure 2.9. This line must satisfy the following conditions:
The coordinates of the point and the direction, are called the values of the
constraints.
- Visual Draw - - Back to STAAD/Pro ->
Chapter 2 65
In the first method, infinite construction entities which form the basis of the true
constructions are created first. Finite geometry is then constructed over these.
Some constraints are fixed in nature while other constraints accept various
values. Thus, variants of similar geometry can be created quickly without any
programming. For example, concentric circles can be created by fixing the
- Visual Draw - - Back to STAAD/Pro ->
Chapter 2 67
center and inputting only the radius. The advantages of constraint based
construction are summarized as follows:
4. You can select your own combination. No need to memorize any special
commands.
The steps shown in square braces are optional. Step no. 4 is only needed if
multiple solutions result. The last two steps are repeated for all the entities, so
many entities can be created with the same constraint combination.
The first step is to identify the constraints needed to create the entity. The
constraints must be one of the constraints supported for that entity.
- Visual Draw - - Back to STAAD/Pro ->
Construction
68 Chapter 2
Example
Consider the case where the line in Figure 2.13 is to be created. The line
Hence the constraints for the line to be drawn will be ending-on-entity, ending-
on-entity, point and direction. That is
E, E, p and d
Constraints can be specified in any sequence. The overall effect is the same, only
the order of specifying the values will change. While specifying constraints,
Visual DRAW minimizes the chances of making a mistake. An invalid
combination can never be selected. Any constraint which becomes invalid on the
basis of previously selected constraints is immediately deactivated and cannot be
selected. Similarly, the constraint specification process automatically terminates
- Visual Draw - - Back to STAAD/Pro ->
Chapter 2 69
when the number and type of constraints that have been specified are sufficient
to construct an entity.
After a valid set of constraints have been specified, the interaction for specifying
the constraint values begins. The values must be specified in the sequence in
which the constraints were input. A question mark appears in the auxiliary tool
box area below the feedback icon of the constraint whose value is expected. After
the value has been specified, this question mark changes to a tick, and the value
of the next constraint is asked for. Dragged display is shown as the point for
location or the mouse cursor is being moved during the specification of
constraint values. In case of lines, an infinite line on which the line would lie is
displayed, even when a partial combination is specified.
In this tutorial, we will create the line of Figure 2.13. First we shall create arcs
A1 and A2.
input: 0, 0
input: 30, 0
input: 70, 0
input: 50, 80
input: Select the following icons from the pop-up toolbox in the same
manner.
Chapter 2 71
input: 45
Notice that the line drawn extends all the way through arc A1.
input: Click on the portion of the line which lies between arcs A1 and
A2.
The last step is to select the desired solutions. This step is only required if the
values of the constraints yield multiple solutions. In the case of multiple
solutions, a mult option appears in the auxiliary toolbox area. Any number of the
resulting solutions can be selected.
Lines AC and AB are two solutions which overlap. They are equally close to
point P. In such cases, locate the entity of interest using press to release action.
Press the button near one endpoint of the entity and release it near the other
endpoint.
- Visual Draw - - Back to STAAD/Pro ->
Chapter 2 73
• Fix
• Last fix
These are useful when many entities are to be created on the basis of the same
constraint combinations. To define a constraint modifier, first select the
modifier, then select the constraint. If a second modifier is selected before
selecting the constraint, the first modifier is ignored.
Once the value of a constraint is fixed, that value is carried throughout the
interaction. When a constraint is fixed, its value must be input before the other
constraints are specified.
First, we must identify the constraints and modifiers. It is seen that each of these
lines,
The first three constraint values for these lines can be fixed. The constraint
combination is:
Chapter 2 75
Since all other constraints are fixed, only the directions of the lines must be
specified.
Creating lines, circles, circular arcs and construction circles with constraint
based construction automatically updates the last point. This last point may be
needed for subsequent constructions. Consider creating a series of line segments
connected end to end. This can be done using the last-fix modifier. Once a point
constraint is last fixed, the value of the point constraint in the subsequent
interaction becomes the value of the last point. Last-fix modifiers can be applied
to point constraints only.
The last-fix constraint modifier is used to create a regular pentagon of side 100
at point (200, 200).
Chapter 2 77
Now we can input the constraints and modifiers. This can be done in the same
manner described in TUTORIAL 2.10. Be careful not to confuse the FIX and
the LAST-FIX icons in the constraints toolbox. Input the constraints in the
above sequence. The values of the fixed and last-fixed constraints should be
specified per the above values.
o
Set the direction grid to ON, and set the angle to 72 . For each of the lines,
select the approximate angle required with the mouse. The resulting pentagon
should look like that of Figure 2.18.
2.3 Lines
This section describes constraint based construction of lines. All the constraints
available for lines are shown in the table.
- Visual Draw - - Back to STAAD/Pro ->
Construction
78 Chapter 2
The above table shows the icon for a constraint, its abbreviated name, the
description of the constraint, and the Lisp command for the constraint. The icon
shown appears in the constraint menu for lines. The abbreviation is a single
character which is referred to in constraint description combinations. For
example, for a line with a specified endpoint (e), specified direction (d), and
specified length (l), the combination is denoted by placing the symbols one after
another as edl. The following abbreviations are also used in the commands: V
for vertical lines, H for horizontal lines, CONT for continuous lines, C for
concentric circles, S for semi-circles and Q for a quadrant of a circle.
- Visual Draw - - Back to STAAD/Pro ->
Chapter 2 79
Command: line-r
hline-r
vline-r
Input
• set of constraints and modifiers
• for each line to be constructed,
- constraint values
- solution(s) of interest if more than one result
• over action allows a new set of constraints and modifiers to be selected
• break action terminating the interaction
Auxiliary option
mult Allows multiple solutions to be selected.
Description
The interaction proceeds in the manner described in the previous section.
In this tutorial, we will create the line shown in Figure 2.19. Before we start, we
will create the circle and the arc.
- Visual Draw - - Back to STAAD/Pro ->
Construction
80 Chapter 2
input: 25, 25
input: 0, 25
input: 200, 70
Chapter 2 81
Now we will identify the constraints and modifiers of the line.
We are now ready to input the constraints and modifiers of the line.
Using constraint based construction, we will create the line of Figure 2.21. First,
we will create the line L1.
input: 30
- Visual Draw - - Back to STAAD/Pro ->
Chapter 2 83
input: 200
The line has an endpoint along the normal direction from P1, i.e. P1 is the
approximate end point x
Now that the constraints have been identified, we can input them.
L, s, l, x; , , and respectively.
input: 100
input: 500
input: click on the line which lies below the original line
We will create the line of Figure 2.22 using constraint based construction. First,
we will create circles C1, C2 and line L1.
Chapter 2 85
input: 25
input: 200, 50
input: 25
input: 125, 25
input: 70
input: 100
Now that the constraints have been identified, they can be input. The constraints
can be specified by clicking on the icons for
N, E, E, p; , , and respectively.
- Visual Draw - - Back to STAAD/Pro ->
Construction
86 Chapter 2
We are now ready to define the values of the constraints.
Pick line L1
Pick circle C1
Pick circle C2
There are four possible solutions, each overlapping the other as shown in Figure
2.23. To select the desired solution :
Chapter 2 87
The line in Figure 2.24 will be created using constraint based construction.
Now we can input the constraints. The constraints are specified by clicking on
the icons for
f, s, e, l; , , , and respectively.
Select the desired solution. Multiple options are displayed. Click on the solution
which appears in the first quadrant to select it.
Consider the construction of the notches of the key shown in Figure 2.25.
input: 5
input: 5
input: 5
Identify the constraints and modifiers. All the lines are connected end to end.
The endpoint of the lines can be last-fixed.
- Visual Draw - - Back to STAAD/Pro ->
Chapter 2 89
Input the constraints and constraint modifiers. The constraints can be specified
by clicking on the icons for lfix, e, e.
input: 0, 100
Specify the values of the constraints. Since UCS follow is ON, the axes will be
positioned at the point last input. Now, by looking at the axes ticks, input the
points in the sequence from 2 to 16 as shown in the figure. Construction of this
figure becomes very simple using this procedure.
Many frequently used combinations are supported as direct commands for line
creation. There are three sets of construction toolboxes for lines. One for
horizontal lines, other for vertical lines, and the third for arbitrary lines.
• The icon for the specific combination is put in the top left corner of the
figure.
• A figure explaining the construction method is shown in the center.
• At the bottom, the command and its Lisp command counterpart with
explicit constraint specification is mentioned.
• A brief description of the interaction is given on the top right in step
wise form.
Chapter 2 91
Chapter 2 93
Chapter 2 95
In this tutorial, we will draw the construction line shown in Figure 2.59. First,
we will draw circles C1 and C2.
- Visual Draw - - Back to STAAD/Pro ->
Chapter 2 97
Figure 2.59 : TT
input: 50
input: 300, 70
input: 30
Multiple solutions appear on the screen. Click on the construction line which
matches that of Figure 2.59.
The following figures illustrate the direct commands available for construction
lines.
Chapter 2 99
Figure 2.70 : TT
The commands circle and c-circle allow circles and construction circles to be
drawn using constraint based construction. The interaction is similar to that of
lines. The constraints available for circles and construction circles are shown
below.
- Visual Draw - - Back to STAAD/Pro ->
Chapter 2 101
and respectively.
- Visual Draw - - Back to STAAD/Pro ->
Construction
102 Chapter 2
message: Specify the point
input: 200, 90
In this example, we will create the circle of Figure 2.72. First, we will create
line L1.
input: 0, 0
input: 5
input: 200
- Visual Draw - - Back to STAAD/Pro ->
Chapter 2 103
Input the constraints. Switch to the circle toolbox. The constraints can be
Pick line L1
Select the desired solution. Click on a point near the smaller circle.
We will create circles C4 and C5 of Figure 2.73. Before we start, we will first
create circles C1, C2 and C3.
- Visual Draw - - Back to STAAD/Pro ->
Construction
104 Chapter 2
input: 10
input: 13
input: 15
Chapter 2 105
Identify the constraints.
Input the constraints. Switch to the circle toolbox. Select icon . The
and .
Pick circle C1
Pick circle C2
Pick circle C3
Select the desired solutions. We are interested in two of the eight possible
solutions. Select these two as follows.
Figure 2.74 : DD
Identify the constraints.
Input the constraints. Switch to the circle toolbox. Select icon . The
Refer to the figures below for the direct commands available for circles and
construction circles. Commands shown for circles must be prefixed with a c- to
obtain commands for construction circles. For example, cr draws a circle while
c-cr draws a construction circle.
Chapter 2 107
The circ-arc command allows circular arcs to be drawn using constraint based
construction. The table below shows the constraints available for circular arcs.
- Visual Draw - - Back to STAAD/Pro ->
Chapter 2 109
In this example, we will create the arc of Figure 2.86. First, we will draw lines
L1, L2, L3 and L4.
input: 0, 0
input: 0, 100
input: 200, 0
input: 0, 0
Chapter 2 111
radius is 200, r
end-point at origin, e
Specify endpoint as (0 0)
Select the desired solution. Click on the arc which lies in the first quadrant.
- Visual Draw - - Back to STAAD/Pro ->
Construction
112 Chapter 2
CREATING AN ARC WHOSE CENTER, ENDPOINT AND CHORD
LENGTH ARE KNOWN
center at C1 c
endpoint at E1 e
chord length h h
Select the desired solution. Click the mouse in the vicinity of (325, 370).
- Visual Draw - - Back to STAAD/Pro ->
Chapter 2 113
Direct combinations available for circular arcs are shown in Figures 2.89 to
2.99.
2.7 Ellipse
Command: ellipse
This command allows an ellipse to be created by specifying its center and the
points at the tips of two conjugate axes. These points form the midpoints of two
sides of the parallelogram encompassing the ellipse. The major and minor axes
can be different from the conjugate axes.
Input
• center of the ellipse
• first conjugate tip point
• second conjugate tip point
Description
A dragged display of the ellipse is shown as the second point is being specified.
- Visual Draw - - Back to STAAD/Pro ->
Chapter 2 115
Command: elipt-arc
Input
• center of the elliptical arc
• first conjugate tip point
• second conjugate tip point
• parametric start angle
• parametric included angle
Description
The basic ellipse construction is the same as explained in the previous section.
Chapter 2 117
message: Specify the center point
input: 0
input: 270
2.9 Biarcs
• By creating polylines
• By creating rectangles
• By free hand sketching
• By tracing over construction geometry
2.9.1 Polyline
Command: pline
- Visual Draw - - Back to STAAD/Pro ->
Construction
118 Chapter 2
This command allows a polyline to be drawn. A polyline is a series of lines that
are connected end to end. The resultant entity is a biarc.
Input
• start point of the polyline
• for each subsequent segment,
- endpoint of the segment
• over action terminating the interaction
Description
A rubberband display of each segment is shown before its endpoint is specified.
A feedback of the polyline created is always shown. If you break from this
interaction, none of the segments are drawn.
2.9.2 Rectangle
Command: rect
Input
• corner point of the rectangle
• diagonally opposite corner point
Description
Any corner point can be specified. The sides of the rectangle are always drawn
parallel to the current UCS X and Y axes. The relative point input specification
can be used to indicate the width and height of the rectangle.
- Visual Draw - - Back to STAAD/Pro ->
Chapter 2 119
(@250, 150) means that the second point is at a distance of (250, 150) from the
last specified point, in this case (200,200).
Command: free-sketch
This command allows free hand sketches according to the mouse movement. A
biarc with a series of lines which have endpoints along the indicated path is
drawn.
Input
• start point of the sketch
• mouse movement to define the free-hand sketch
• optional intermediate points in the sketch
• over action terminating the interaction
Description
The middle button temporarily interrupts the sketch. The interaction asks for a
start point. This start point is automatically connected to the last point specified
in the interaction.
Command: ctrace
- Visual Draw - - Back to STAAD/Pro ->
Chapter 2 121
This command allows profiles to be traced over construction geometry.
Intersection points of construction entities are treated as the possible endpoints
of the finite segments being drawn. The input automatically snaps to intersection
points near the cursor.
Input
• start point of the profile
• for each subsequent segment,
- end point of the segment preceded by an appropriate mouse movement
over the entity of interest
• over action terminating the interaction
Auxiliary options
split If split is ON, lines and circular arcs are created. If
split is OFF, a single biarc is created.
split OFF
Description
Only construction entities can be traced over. As the mouse is moved, the profile
is dragged over the construction entities. When the cursor is near an intersection
point, the current point snaps to the intersection point. Any construction entity
that passes through the last point specified can be traced. If the point specified is
not an intersection point, then the profile is automatically terminated.
In this tutorial, we will draw the profile of Figure 2.105. First we will create the
construction circle and construction lines.
input: 100, 0
input: 100, 0
input: 200, 25
input: 0, 75
input: 0, 100
input: 0, 100
input: 200, 0
- Visual Draw - - Back to STAAD/Pro ->
Chapter 2 123
2.10 Curves
Visual DRAW can be used to create and modify free form curves. Visual DRAW
supports a powerful set of shape design tools based on non-uniform rational B-
splines (NURBS).
- Visual Draw - - Back to STAAD/Pro ->
Construction
124 Chapter 2
Visual DRAW supports creation and editing of control point curves. The shapes
of these curves are governed by a sequence of points called control points. The
set of segments formed by joining this sequence of points is called the control
polygon of the curve. Moving a control point affects the shape of the curve in the
vicinity of the control point.
Weight control
Additional control over the shape of the curve is provided by associating a
weight with each control point. Increasing the weight associated with a control
point increases the influence of that control point on the curve, as compared to
other control points. As a result, the curve is attracted towards that control point.
Conversely, if the weight is reduced, the curve moves away from the control
point.
Chapter 2 125
Refinement
Another technique of local control is called refinement. Occasionally, moving a
control point affects a large span of the curve. The control point spacing is said
to be coarse in such a case. This effect can be decreased by refining the curve.
The refinement operation adds a new control point and appropriately alters the
control polygon. The shape of the curve is unaffected by refinement. The curve
can be modified locally by moving the new control point.
Tangent control
Visual DRAW provides a mechanism for specifying magnitudes and directions
of tangents at the interpolating points. The direction of the tangent determines
the slope of the curve at that interpolating point. The magnitude determines how
close the curve is to the tangent line at that interpolating point. A larger
magnitude results in flattening the curve at that point. The curve has two
tangents at every interpolating point, except the endpoints. Visual DRAW
provides independent control of both tangents.
- Visual Draw - - Back to STAAD/Pro ->
Construction
126 Chapter 2
Closure
Closure can be controlled in both interpolating point curves and control point
curves. There are three different types of closure: open, closed and periodic.
open: The two extreme control points are distinct. For such a curve, the
endpoints are coincident with the extreme control points.
closed: A closed curve is one whose extreme control points are coincident. The
curve is said to have two endpoints which are coincident.
Chapter 2 127
The effect of closure on a control point curve is shown in the figure below.
Sense of a curve
The first point specified is the passive end of the curve. The end to which points
are added is the active end of the curve. Whenever a curve is extended, points
are added to the active end of the curve. Each curve has a sense (direction)
associated with it. This is defined from the passive to the active end. The sense
of the curve can be reversed.
A unified interaction for creating and editing control point curves is available.
Auxiliary editing options appear during curve creation. Dynamic display
feedback and unlimited Undo and Redo facilities are also provided.
Command: cntl-pt-crv
This command creates a curve given a set of control points. The interaction
involves giving point input. Editing operations are optional.
Input
• control points of the curve
• optional
- Visual Draw - - Back to STAAD/Pro ->
Construction
128 Chapter 2
- auxiliary tool box for curve editing
- input as required by editing operation
• over action terminating the interaction
Note: Curves are created in space. Even if a curve lies on a plane, all
creation and editing operations are assumed to be in 3-D space. Thus, while
working with curves, all three coordinates of every point can be specified.
Auxiliary options
Move Moves a control point.
reverse Switches the active end of the curve and reverses the
sense of the curve.
Description
A minimum of four control points are needed to define a curve. From the fourth
point onward, a dynamic rubberband display is seen on the screen. A stationary
curve resulting from the points specified is displayed. If the enter button is
pressed, the stationary curve is accepted. If enter is pressed before four points are
specified, the curve is not drawn.
- Visual Draw - - Back to STAAD/Pro ->
Chapter 2 129
Auxiliary toolbox options can be selected at any time during curve creation. To
return to adding more control points to the curve, select the extend option.
Command: intrp-pt-crv
This command creates an interpolating point curve which passes through a given
set of points.
Input
• interpolating points of the curve
• over action terminating the interaction
Auxiliary options
move Moves an interpolating point to another location.
extend Extends the curve by adding interpolating points
to the active end of the curve.
shorten Shortens the curve by removing the last
interpolating point from the active end.
reverse Reverses the sense of the curve by switching the
active end.
refine Refines the curve at a specified location by
adding an interpolating point at that location.
closure Changes the closure type of the curve.
129
Entity Editing
Chapter 3
After the basic construction is done, the geometry can be edited or modified.
Editing operations include mirroring objects, copying them to other locations, or
geometric detailing, such as trimming unwanted portions of entities, chamfering
and filleting sharp corners. This chapter describes the entity editing operations
supported in DRAW. Familiarity with entity construction and selection is
expected.
• general editing
• special editing
• entity specific editing
General editing operations affect all entities, irrespective of their type and
location. If 3-D points and vectors are specified, the operations take place in 3-D
space. A 2-D point or vector specification results in in-plane operations.
Examples of general editing operations are rotate, copy, and mirror.
Editing operations change the entities by default. All the attributes of the new
are the same as those from which they were derived. In some cases, it may be
desirable to retain the original entities and to generate new entities after
modifying the existing ones. Draw provides a mechanism for controlling this,
- Visual Draw - - Back to STAAD/Pro ->
Entity Editing
130 Chapter 3
the keep control. If keep is ON, the original entities are retained in their original
form and new entities are created. If keep is OFF, the original entities undergo
the editing operation.
Note : In some commands, such as pt-break, keep control has a slightly different
meaning. This is explained with the command description.
• delete
• move
• copy
• rotate
• scale
• mirror
• rectangular repeat
• circular repeat
• stretch
• rotational stretch
General editing operations affect only the true geometry of annotation entities,
not the geometric attributes. For example, rotating a dimension results in
rotation of its keypoints, the text direction remains the same.
Command: del-ent
Input
• selecting entities to be deleted
• over action terminating the interaction
- Visual Draw - - Back to STAAD/Pro ->
Chapter 3 131
Description
The undo command restores the deleted entity.
Command: move
Input
• entities to be moved
• translation vector
Description
A dynamic drag of the entities is displayed as they are moved from one position
to another.
In this tutorial, we will perform a move operation. First, draw the geometry as
shown in the first part of Figure 3.1. Now we can move the table.
Command: copy
Input
• entities to be copied
• reference point
• for each copy,
- destination point
• over action terminating the interaction
Description
The entities are copied such that the reference point matches the destination
point. A dynamic drag of the entities is displayed as the destination point is
being specified.
- Visual Draw - - Back to STAAD/Pro ->
Chapter 3 133
In this tutorial, we will use the copy command to create the steps of Figure 3.2.
input: 300, 0
input: 0, 0
input: 0, 300
input: Click on the point that coincides with point 2 of Figure 3.2.
input: Click on the points that coincide with points 3, 4 and 5 of Figure
3.2.
Command: rotate
Input
• entities to be rotated
• center of rotation
- Visual Draw - - Back to STAAD/Pro ->
Chapter 3 135
• rotation angle
Description
A positive rotation angle indicates counter clockwise rotation, a negative rotation
angle indicates clockwise rotation. The rotation takes place in 3-D space about
an axis parallel to the UCS Z axis and passing through the specified point.
In this tutorial, we will use the rotate command. First, draw the geometry as
shown in the first part of Figure 3.3. Now we are ready to rotate the part.
input: 30
Command: scale
Input
• entities to be scaled
• reference point for scaling
• scaling factor
Auxiliary options
keep keep ON Retains the original entities if ON,
removes them if OFF.
Description
Scaling of entities is done about a point.
In this tutorial, we will scale entities using the scale command. First, draw the
geometry as shown in the first part of Figure 3.4.
input: 0.5
- Visual Draw - - Back to STAAD/Pro ->
Chapter 3 137
Command:
pt-mirror
ln-mirror
pln-mirror
These commands mirror objects about a point, line and plane respectively. The
keep control determines whether the original entities are retained or deleted.
Input
• entities to be mirrored
• reference point, line or plane about which mirroring takes place
- Visual Draw - - Back to STAAD/Pro ->
Entity Editing
138 Chapter 3
Auxiliary options
keep keep ON Retains the original entities if ON
Description
A dragged display is seen in point mirroring. In line mirroring, you can either
specify a line or a construction line about which to mirror. With line mirror, text
and hatch are not mirrored. Plane mirroring can be done about the UCS X-Y, Y-
Z or Z-X planes. By default, the keep control is automatically set to ON during
mirroring. The original keep control status is restored after the operation.
In this tutorial, we will mirror entities as shown in Figure 3.5. First, draw the
geometry as shown in the first part of Figure 3.5. Now we can complete the part
by mirroring it.
Chapter 3 139
Command: rect-rep
This command makes copies of entities at regular intervals along one, two or
three directions.
Input
• set of entities to be repeated
• number of directions
• for each direction,
− direction
− distance between two copies along this direction
− total number of copies along this direction
Description
With rectangular array, entities can be placed at regular intervals from each
other in a row-column arrangement. The existing entities are counted as one
occurrence of the copy. If the total number of copies is n, then n-1 new copies
are generated.
- Visual Draw - - Back to STAAD/Pro ->
Entity Editing
140 Chapter 3
Command: circ-rep
Input
• pick entities to be repeated
• specify reference point of repeat
• specify angle between two copies
• specify total number of copies along the circular path
Description
If the angle between the two successive copies specified is positive, copies are
generated in the counter clockwise direction with respect to the current UCS. If
the angle specified is negative then copies are generated in the clockwise
direction with respect to the current UCS. The number of copies includes the
original copy.
- Visual Draw - - Back to STAAD/Pro ->
Chapter 3 141
Command: stretch
Command: rot-stretch
Input
• entities to be stretched
• stretch box indicating significant points of entities
• displacement vector for stretch or the point and
angle of rotation for rot-stretch
Auxiliary options
keep keep ON Keep ON retains the original entities,
Keep OFF removes them.
Description
These commands operate on the basis of points. Significant points of entities
which lie inside the stretch box are affected by the translation vector or the
rotation. Significant points which lie outside the stretch box are unaffected. The
geometry of the entities is redefined on the basis of the fixed and transformed
significant points. If all significant points of an entity are inside the stretch box,
- Visual Draw - - Back to STAAD/Pro ->
Entity Editing
142 Chapter 3
the result is the translation or rotation of the entire entity. If all significant points
are outside the stretch box, the entity is unaffected by the stretch operation. A
dragged display of the result is shown. Stretch does not operate on construction
lines and surfaces. Associative dimensions are automatically updated after
stretching. The significant points of each entity are shown in table below.
Chapter 3 143
• pt-break
• extend
• shorten
• lengthen
• chamfer
• fillet
• chop
• trim
• auto-trim
• explode
Command:
pt-break
This command breaks an entity between specified points. One or more break
point can be specified.
Input
• optionally, the mult option
• entities to be broken: valid entities are lines, circles, circ-arcs and
curves
• optionally, the mult-pts auxiliary option
• points at which to break
• terminated by an over action if mult-pts has been selected
Auxiliary options
mult Allows the selection of multiple entities.
Description
The selected entities are broken from the first to the second break point. In the
case of circles, breaking is from the first to the second breakpoint in the counter
clockwise direction. If a periodic curve is selected, it is broken from the first to
the second point along the sense of the curve. If the point specified is not on the
entity, the closest point on the entity after projection is used. If the closest point
is the endpoint of the entity, the entity is shortened.
In the case of multiple points, pairs of points are used to break the entity. After
all the break points are given, they are sorted. The point at the extreme end is
numbered one, the next is numbered two, etc. Breaks take place between points
- Visual Draw - - Back to STAAD/Pro ->
Chapter 3 145
one and two, three and four, etc. If an odd number of points are given, the last
point is ignored. If only one point is specified, the entity is split into two entities.
Figure 3.11: break (multiple points) Figure 3.12: break (multiple entities,
multiple points)
Command:
extend
This command extends an entity up to a specified entity.
Input
• optionally, the auxiliary tool box mult
• entities to be extended. Valid entities are line and circular arc.
• entity up to which extension is required. Valid entities are
− lines
− c-circles
− c-lines
− circles
− circ-arcs
- Visual Draw - - Back to STAAD/Pro ->
Entity Editing
146 Chapter 3
Auxiliary options
mult Allows the selection of multiple entities.
Description
The candidate entity selected for extension is extended up to the delimiting
entity, or an extension of the delimiting entity. Lines are extended along the
underlying infinite line. Circular arcs are extended along the underlying circle.
Extension is done such that the intersection point with the delimiting entity
becomes the new endpoint of the candidate entity.
Figure 3.14: extend (closer) Figure 3.15: extend (further and through pk+pt)
Chapter 3 147
Examples
Extending the line in Figure 3.13 up to the arc results in extending the line up to
the intersection point of the underlying infinite line with the circular arc.
Figure 3.14 shows the effect of extending an arc up to a line. End A of the arc is
extended since it is closer to the line.
To extend end B, the transparent tool box pk+pt should be selected. Select the
arc near end B for the arc to be extended at that end. See Figure 3.15.
Command:
shorten
Input
• entity to be shortened. Valid entities are lines and circular arcs.
• point up to which the entity is to be shortened
Description
Selecting an entity at an appropriate point determines which portion of the entity
is to be cut. The side on which the entity is picked is retained.
Command:
lengthen
Input
• optionally, the auxiliary tool box mult
• entities to be lengthened. Valid entities are lines and circular arcs.
• point up to which the entities are to be lengthened
Auxiliary options
mult Allows the selection of multiple entities.
Chapter 3 149
3.3.5 Chamfering
Command: chamfer
This command creates a chamfer between two lines. The lines are either
trimmed or extended up to the chamfering line. The chamfer line itself is also a
line entity. The types of chamfer supported are:
• distance-distance (dd)
• distance-angle (da)
• distance-point (dp)
• point-point (pp)
• point-angle (pa)
Input
• type of chamfer
• two lines to be chamfered
• chamfering point, distance or angle, as needed
- Visual Draw - - Back to STAAD/Pro ->
Entity Editing
150 Chapter 3
Auxiliary options
dist1 dist2 dist1 dist2 The two distances in dd chamfering.
Dist1 angle2 dist1 The distance from the first line, and
the angle of the chamfer line with the
second line in da chamfering.
Description
Chamfering is done on the basis of distances, angles or points.
Distance
The distance between the intersection point of the two lines and the intersection
of the chamfer line with the individual lines.
Angle
The angle made by the chamfer line with one of the lines.
Points
Points are projected on the line. The chamfer line ends at that point on the line.
Values of distances and angles are accessible through the auxiliary tool boxes.
They can be changed transparently. The current settings of the distances and
angles are used to define the chamfers.
distance-distance (dd): The chamfer line is defined by the two distances of the
chamfer line endpoints from the intersection of the two lines.
- Visual Draw - - Back to STAAD/Pro ->
Chapter 3 151
Chapter 3 153
3.3.6 Filleting
Command: fillet
This command creates a fillet between two entities. As in the case of chamfer,
the entities are either trimmed or extended up to the filleting arc. The fillet is a
circular arc entity.
Input
• two entities. Valid entities are lines, circles and circular arcs.
Auxiliary options
radius Sets the radius of the fillet used in the
operation.
Description
The filleting operation results in a circular arc which is tangent to the two
specified entities. It’s radius is equal to the current fillet radius. The procedure
for making fillets is the same as that for chamfers. If the two selected entities do
- Visual Draw - - Back to STAAD/Pro ->
Entity Editing
154 Chapter 3
not intersect, no fillet is created. If circles participate in the operation, they are
not trimmed.
Command: chop
This command chops off a portion of a set of entities with a single knife entity.
The chopping knife splits the entities into two portions and removes those in the
delete region.
Input
• entities to be chopped: Valid entities are lines, circles and circular
arcs.
• knife: valid entities are lines, circles, circ-arcs, c-lines and c-circles.
• point indicating the delete region
Auxiliary options
extended extended ON If ON, the knife is treated as being an
infinite knife.
Chapter 3 155
Description
Only those candidate entities which intersect the knife are considered. Other
entities are untouched. If closed entities intersect the knife only once, then they
are also untouched.
Example
Command: trim
This command trims multiple entities with multiple knives. The knives split the
entities into many portions. Selected portions can be removed.
Input
• entities to be trimmed: valid entities are lines, circles and circ-arcs.
• knives: valid entities are lines, circles, circ-arcs, c-lines and c-
circles.
• trimmed portions to be deleted
Auxiliary options
split-mode If OFF, the candidate entities retained
are not split.
split OFF
Description
Entities are split at the points where they intersect the knives. If there are no
intersections, or if circles intersect the knives at only a single point, these entities
are not trimmed. The portion of the entities to be removed are selected after
splitting.
- Visual Draw - - Back to STAAD/Pro ->
Chapter 3 157
If no knife entities are specified, then candidate entities themselves act as knife
entities.
3.3.9 Auto-trim
Command: auto-trim
This command is similar to the trim command, except knife entities are not
specified. All entities in the drawing act as knife entities. The selected portion of
the entity can either be retained or deleted.
Input
• portion of entities to be removed
• over action terminating the interaction
Description
The portion at which an entity is selected is used to find the intersections of this
entity on either side. The entity is trimmed between the first intersection points
on either side. The knife entities considered here are the same as those allowed
for trim.
- Visual Draw - - Back to STAAD/Pro ->
Entity Editing
158 Chapter 3
Command: explode
This command explodes compound entities into their components. Biarcs,
dimensions and instances can be exploded using this command.
Input
• entities to be exploded: valid entities are biarcs, dimensions and
instances.
Description
The entities are exploded into their components as per the type of the entity.
With a dimension, dimension lines, extension lines and depth lines become
lines. Terminators become markers. Various texts of the dimension become
individual text entities. If the dimension is an angular dimension, the dimension
arc is converted into a circular arc
Attributes of the entities are those which were in the original part.
- Visual Draw - - Back to STAAD/Pro ->
Chapter 3 159
Note: For all general and special editing commands, the default state of
the following auxiliary tool boxes are given below.
split ON
pk+pt OFF
extended OFF
Entity specific editing operations are used for editing and merging curves.
Curves created using control points can be edited as interpolating point curves.
Curves created using interpolating points can be edited as control point curves.
Any linear entity can be edited as either an interpolating curve or an
approximating curve. You can start with the basic shape of a circle or rectangle
and modify the shape as you wish.
Command: edt-crv
This command edits curves. Any curvilinear entity can be selected for this
operation.
Input
• curves to be edited: valid entities are lines, circles, circ-arcs, ellipses,
elipt-arcs, biarcs and curves.
• for each point to be moved,
− its new location
• optionally,
− auxiliary options selection for curve editing
− inputs needed for that particular editing operation
- Visual Draw - - Back to STAAD/Pro ->
Entity Editing
160 Chapter 3
• over action terminating the interaction
Auxiliary options
All options available during curve-creation are also available during editing.
Description
If the selected curve was created (or previously edited) as an interpolating point
curve, the auxiliary options for interpolating point curve editing are available,
else the control point curve editing options are displayed. Curvilinear entities
other than curves are treated as control point curves. The interactions in curve
editing are identical to those during curve creation. The auxiliary option cntl
allows you to change the curve type.
Example
In this example, the curve shown is obtained by editing a simple rectangle.
Draw has flexible curve merging features which allow any two connected
curvilinear entities to be merged into a single curve. The resultant curve can
then be edited using curve editing operations.
- Visual Draw - - Back to STAAD/Pro ->
Chapter 3 161
Command: mrg-crv
This command allows you to merge many end to end connected curvilinear
entities. The resultant entity is a curve entity.
Input
• first entity
• for each subsequent merge,
− an end to end connected entity to be merged with the resultant
curve of the previous merge. Valid entities are lines, circles,
circ-arcs, ellipses, elipt-arcs, biarcs and curves
• over action terminating the interaction
Description
The curves to be merged must be connected end to end. The curves are merged
together into a single curve entity. The final curve can be merged with another
curve. The attributes of the resulting curve are the same as that of the first curve
selected.
163
Chapter 4
A set of lines, arcs, markers and text drawn to denote measurement is called a
dimension. Adding dimensions to a drawing is called dimensioning the drawing.
The conventions used for dimensions differ across countries and institutions. To
ensure uniformity, international standards such as ANSI, ISO and DIN have
emerged. The dimensioning features in Visual DRAW allow dimensioning in
any of these styles. In addition, dimension settings can be tuned to your own
local standards.
• associativity
• behavior as an entity
• richness of attributes
• ease of editing
- Visual Draw - - Back to STAAD/Pro ->
Dimensions and Annotations
164 Chapter 4
• fast and flexible methods of creation
Associativity
Draw dimensions are associative. Every dimension is associated with key points.
As these points change, the dimension changes. The geometry of the dimension
adjusts to the new points and the value of the dimension displays the new
measurement.
Richness of attributes
Dimensions have a rich set of attributes. Small clearances and extensions in the
dimension geometry can be controlled.
Ease of editing
The attributes of a dimension or group of dimensions can be edited. The
attributes of a dimension are retained with the dimension entity. Thus specific
attributes can be associated with specific entities.
• linear
- Visual Draw - - Back to STAAD/Pro ->
Chapter 4 165
Linear dimensions are classified into the following types:
• chain linear
• single linear
• datum linear
• coordinate linear
• angular
• diameter
• radius
A linear dimension covers the distance between the projections of its key points.
It may be horizontal, vertical, rotated or aligned.
Figure 4.2 (a): Chain linear dimensions Figure 4.2 (b): Datum linear dimensions
Angular dimensions
Angular dimensions measure the angle between the lines formed by two pairs of
key points. Either the included angle or the opposite reflex angle can be
dimensioned.
- Visual Draw - - Back to STAAD/Pro ->
Chapter 4 167
Diameter dimensions
These measure the diameter of a circle or circular arc.
Radius dimensions
These measure the radius of a circle or circular arc.
Note: All dimensions which measure a length are called length dimensions in
this chapter. This term does not apply to angular dimensions.
This section explains the basic concepts and terms used in dimensions.
- Visual Draw - - Back to STAAD/Pro ->
Dimensions and Annotations
168 Chapter 4
Key points
The distance between key points is measured by the dimension.
A linear dimension has two key points. An angular dimension has four key
points. In angular dimensions, the first and second pair of key points each define
one line. The angle between these lines is measured by the angular dimension.
The two key points of a diameter dimension lie on the circle (or circular arc)
whose diameter is measured by the dimension. A radius dimension has one of its
key points at the center of the circle (or circular arc) whose radius it measures.
The second key point is on the circumference of the circle (or circular arc).
Depth lines
Depth lines project the key points from the WCS onto the dimension plane. A
clearance is maintained on both ends of the depth lines when they are drawn.
When working with 2-D geometries, the depth lines are absent.
- Visual Draw - - Back to STAAD/Pro ->
Chapter 4 169
Projection points
Projection points are the projections of the key points (in WCS) onto the
dimension plane. The projection points of 2-D geometry are the same as the key
points.
Extension lines
Extension lines are lines in the dimension plane which extend from the
projection points to the dimension line. Linear dimensions normally have
extension lines which are perpendicular to the dimension line. When isometric
views are dimensioned or oblique dimensions are drawn, their extension lines
are inclined at an angle. This angle is called the projection angle.
For angular dimensions, extension lines pass through the first and second pair of
projection points.
Extension lines start at a clearance from the projection point and extend beyond
the dimension line (or arc).
In linear dimensioning, the value of the dimension is the distance between the
projection points as projected on the dimension line. The value is affected by the
inclination of the dimension line. There are four types of linear dimensions
based on the angle of the dimension line:
• horizontal
• vertical
• rotated
• aligned
The angle of the dimension line is measured with respect to the UCS X axis.
Dimension text
Alphanumeric text displays the value of the dimension. This is called the
dimension text. It is comprised of the following:
main text Main text is automatically generated for user defined text.
This usually displays the value measured by the dimension.
tolerance texts Text showing specified values of upper and lower tolerances
are displayed after the main text. The upper tolerance is
drawn above the lower tolerance. Values for both tolerances
can be specified separately.
limit texts The main text and the tolerance texts are absent and the two
limit text strings are drawn. The upper limit text is drawn
above the lower limit text.
alternate texts Dimension text can be drawn in alternate units. It appears
within a pair of square brackets after the text in the default
unit. Limits and tolerances apply to alternate text as well.
prefix text If prefix display mode is ON, the current prefix text setting
is applied to all the dimensions. The dimension is drawn
with the prefix text inserted before the main text.
- Visual Draw - - Back to STAAD/Pro ->
Chapter 4 171
suffix text If suffix display mode is ON, the current suffix text setting
is applied to all the dimensions. The dimension is drawn
with suffix text appended to the main text.
All of these except the main text are optional. The main text is replaced with
limit text when limits are ON.
def Text is drawn at the default position (midpoint of the dimension line
or arc). If there is not enough space, it is drawn over the extension
lines.
def-lft Text is drawn at the default position. If there is not enough space, it
is drawn outside the left extension line.
def-rgt Text is drawn at the default position. If there is not enough space, it
is drawn outside the right extension line.
def-usr Text is drawn at the default position. If there is not enough space, the
text position is prompted.
- Visual Draw - - Back to STAAD/Pro ->
Dimensions and Annotations
172 Chapter 4
usr Text position is prompted irrespective of the amount of available
space.
Chapter 4 173
above Text is drawn above the dimension line (or arc).
on-line Text is drawn on the dimension line (or arc). This cuts the
dimension line into two components if the text is between the
extension lines. If the text is drawn outside the extension lines, it is
aligned with one of the arrowheads.
This section describes dimension related settings. These settings and their names
can be used in setv or getv. (Chapter 9 UTILITIES explains the use of getv and
setv ). The dimension settings are classified as follows:
• control settings
• line settings
• arrowhead settings
• text settings
• tolerance and limit settings
• units, formats and precision settings
• color and line weight settings
• dim-geom-scale
• dim-project-len
Setting: dim-geom-scale
Default value: 1
This positive non-zero value is applied to clearances and offsets of a dimension
before it is displayed. Other scale factors are not affected. For a dimension text
height of 3mm and dim-geom-scale of 2, text is drawn at 6mm.
Setting: dim-project-len
Default value: ON
By default, linear dimensions display the distance between projection points as
projected on the dimension line. If dim-project-len is OFF, the true distance
These settings affect all dimension lines (or arcs), namely depth lines, extension
lines and dimension lines.
- Visual Draw - - Back to STAAD/Pro ->
Chapter 4 175
Setting: dim-align-dim-ln
Default value: OFF
In linear dimensions, the dimension line can be made parallel to the line joining
the projection points by setting dim-align-dim-ln ON. In such a case the
dimension displays the true distance between the aligned projection points.
Setting: dim-mid-ln
Default value: ON
This mode specifies whether the dimension line (or arc) should be drawn
between the extension lines if the arrows are flipped. If this mode is OFF, the
dimension line (or arc), is not drawn between the extension lines.
Setting: dim-depth-ln2
Default value: ON
This mode is similar to dim-depth-ln1, but has control over the second depth line
(or second pair of depth lines, in the case of angular dimension).
- Visual Draw - - Back to STAAD/Pro ->
Dimensions and Annotations
176 Chapter 4
Setting: dim-extn-ln1
Default value: ON
This mode controls the display of the first extension line (not applicable to
diameter and radius dimensions). This mode is used in continuous linear
dimensions. It suppresses multiple extension lines from a common point.
Setting: dim-extn-ln2
Default value: ON
This is like dim-extn-ln1 but has control over the second extension line.
Setting: dim-short-dim-ln
Default value: OFF
This setting controls the length of the dimension line in datum dimensioning. If
the mode is ON, the dimension line is not drawn full length. A line with dim-
short-dim-ln-len is drawn and the first arrowhead is set to OFF.
Setting: dim-short-dim-ln-len
Default value: 12.0
This positive, non-zero value specifies the length of the short dimension line. It
controls the length of the flipped dimension lines or arcs (when text does not fit
inside the extension lines) and the length of the short dimension line in the case
of datum dimensioning (when dim-short-dim-ln is ON).
Setting: dim-start-offset
Default value: 2.0
This positive value specifies the offset at both the ends of a depth line and at the
beginning of an extension line. See Figure 4.12.
Setting: dim-end-extn
Default value: 2.0
This positive value specifies the extension of the extension line beyond the
dimension line (or arc). In linear dimension, if the dimension line joins the two
- Visual Draw - - Back to STAAD/Pro ->
Chapter 4 177
projection points, then the extension lines are extended beyond the dimension
line in both directions by dim-end-extn. See Figure 4.12.
Setting: dim-dtm-step
Default value: 20.0
This value specifies the distance between two consecutive dimension lines in
datum dimensioning. It is measured in the direction perpendicular to the
dimension line. The value can be positive, negative or zero. When it is positive,
the next dimension line is drawn below the previous one at a distance of dim-
dtm-step. When it is negative, the next dimension line is drawn above the
previous one. If the value is zero, coincident dimension lines are drawn. This is a
creation setting only and not a part of the dimension entity.
Setting: dim-dim-ln-ang
Default value: 0.0
This value specifies the angle of the dimension line in all linear dimensions.
Setting: dim-proj-ang
Default value: 90.0
This value specifies the angle along which the projection points are projected
onto the dimension line. It is defined as the angle made by the direction of
projection with the direction of the dimension line. Extension lines are drawn at
dim-proj-ang with respect to the dimension line. See Figure 4.13.
These settings apply to the arrowheads of the dimension line (or arc).
Setting: dim-term1-type
Default value: arrow
This specifies the type of marker to be used for the first arrowhead of the
dimension. Any marker can be used.
Setting: dim-term2-type
Default value: arrow
This specifies the type of marker to be used for the second arrowhead of the
dimension. Any marker can be used.
Setting: dim-term1
Default value: ON
This mode determines if the first arrowhead is displayed or not. If the mode is
OFF, the first arrowhead is not displayed. See Figure 4.14.
Chapter 4 179
Setting: dim-txt-font
Default value: txt
This specifies the font of the dimension text. All fonts available for drawing text
are also available for dimension text.
Setting: dim-txt-ht
Default value: 5.0
This is a positive, non-zero value that specifies the height of the main text (and
limit text).
Setting: dim-txt-tilt
Default value: 0.0
This specifies the tilt of the dimension text.
Setting: dim-txt-spc-f
Default value: 0.0
This is a positive value that specifies the spacing factor of the dimension text. It
is specified as a factor of dim-txt-ht.
Setting: dim-txt-expn-f
Default value: 1.0
This is a positive, non-zero value that specifies the expansion factor of the
dimension text. It is specified as a factor of dim-txt-ht.
Setting: dim-tol-ht-f
Default value: 0.5
This is a positive, non-zero value that specifies the height of the tolerance text as
a factor of dim-txt-ht. See Figure 4.15.
Setting: dim-tol-v-spc-f
Default value: 0.2
This is a positive, non-zero value that specifies the spacing between the two
tolerance texts as a factor of dim-txt-ht. The spacing is measured along the
direction of the text tilt.
- Visual Draw - - Back to STAAD/Pro ->
Dimensions and Annotations
180 Chapter 4
Setting: dim-lim-v-spc-f
Default value: 0.5
This is a positive, non-zero value that specifies the spacing between the two limit
texts as a factor of dim-txt-ht. It is measured along the direction of the text tilt.
Setting: dim-pre-suf-ht-f
Default value: 1.0
This is a positive, non-zero value that specifies the height of the prefix and suffix
text as a factor of dim-txt-ht. See Figure 4.15.
Setting: dim-itxt-spc-f
Default value: 0.5
This is a positive value that specifies the spacing between dimension text as a
factor of dim-txt-ht.
Setting: dim-txt-extn-ln-clr
Default value: 6.0
This is a positive, non-zero value that specifies the minimum clearance between
the dimension text frame and the extension lines. If the clearance available is
less than this value, then the text is said to be not fitting at the default position.
In angular dimensions, the clearance is applied along the dimension arc.
Setting: dim-frame-clr
Default value: 1.0
This is a positive value that specifies the clearance of the frame from the
dimension line. This is measured along the dimension line if the text location is
on-line. This is also used as the clearance of the frame from the dimension texts.
- Visual Draw - - Back to STAAD/Pro ->
Chapter 4 181
See Figure 4.16. For angular dimensions, the clearance outside the frame is
measured along the dimension arc.
Setting: dim-txt-pos
Default value: DEF-LFT
This specifies the position of the dimension text along the dimension line. It can
be DEF, DEF-LFT, DEF-RGT, DEF-USR or USR. See Figure 4.8.
Setting: dim-txt-loc
Default value: ABOVE
This specifies the location of dimension text with respect to a dimension line (or
arc). The dimension text can be either BELOW, ABOVE, or ON-LINE. See
Figure 4.9.
Setting: dim-txt-orient
Default value: PARL
This specifies the orientation of the dimension text with respect to the dimension
line. Orientation can be PARL, PERP, HOR or VERT. See Figure 4.9.
- Visual Draw - - Back to STAAD/Pro ->
Dimensions and Annotations
182 Chapter 4
Setting: dim-usr-txt
Default value: OFF
This mode specifies whether the main text is calculated automatically or is user
defined. If ON, text input must be specified for each dimension.
Setting: dim-prefix
Default value: OFF
This mode specifies whether the dim-prefix-str is applied to the dimension texts
created. If the mode is ON, the newly created dimensions are drawn with the
current dim-prefix-str prefixed to their main text (or limit text).
Setting: dim-suffix
Default value: OFF
This mode specifies whether the dim-suffix-str is applied to the dimension text.
If the mode is ON, the newly created dimensions are drawn with the current
dim-suffix-str suffixed to the main text (or limit texts).
Setting: dim-prefix-str
Default value: ""
This string is prefixed to the main text (or limit text) if dim-prefix is ON.
Setting: dim-suffix-str
Default value: ""
This string is added to the main text (or limit text) if dim-suffix is ON.
Setting: dim-phi
Default value: ON
A φ denotes a diameter. Dim-phi mode draws a φ before the main text (or limit
text) if it is set ON. It is not drawn before the alternate text. dim-phi is applicable
only to linear and diameter dimensions.
Setting: dim-minus
Default value: OFF
In datum and coordinate dimensioning, it is sometimes necessary to have a
minus (-) sign for the dimensions on the negative side of the origin (or datum
point). This is achieved by making dim-minus ON. A minus sign is drawn either
before the main text or the limit text. This does not apply to the alternate texts.
This applies to datum and coordinate dimensions only.
- Visual Draw - - Back to STAAD/Pro ->
Chapter 4 183
Setting: dim-frame
Default value: OFF
Dimensions are drawn with a frame surrounding the dimension text by setting
dim-frame ON.
Note: Setting dim-frame overrides the dim-uscore setting if both are ON.
Setting: dim-tol
Default value: OFF
This mode specifies whether tolerance text is shown with the main text. It is
shown if dim-tol is ON. Both dim-tol and dim-lim can not be ON. Dim-lim is set
OFF when dim-tol is set ON. This mode also applies to alternate text.
Setting: dim-lim
Default value: OFF
This mode specifies whether limit text is shown instead of the main text. It is
shown if dim-lim is ON. Both dim-lim and dim-tol cannot be ON simultaneously.
Dim-tol must be OFF when dim-lim is ON. This mode also applies to alternate
text.
- Visual Draw - - Back to STAAD/Pro ->
Dimensions and Annotations
184 Chapter 4
Setting: dim-upper-tol
Default value: 0.0
This positive value specifies the value of the upper tolerance. If dim-tol is ON,
the value is displayed separately as upper tolerance text. If dim-lim is ON, the
value is added to the dimension value and displayed as upper limit text. If both
dim-upper-tol and dim-lower-tol are equal, they are displayed as only one
tolerance text prefixed by a ± sign.
Setting: dim-lower-tol
Default value: 0.0
This positive value specifies the value of the lower tolerance. If dim-tol is ON,
the value is displayed separately as lower tolerance text. If dim-lim is ON, the
value is subtracted from the dimension value and displayed as lower limit text. If
both dim-upper-tol and dim-lower-tol are equal, they are displayed as only one
tolerance text prefixed by a ± sign.
These settings control the appearance of the units, format and precision of the
dimension text.
Setting: dim-unit-type
Default value: MM
This specifies the units of the main text for all length dimensions. This is one of
MM (millimeters), MT (meters), or INCH (inches).
Setting: dim-format
Default value: DECI
This specifies the format of the main text display for length dimensions. Formats
are related to units. Some formats are incompatible with certain units. The feet-
inch format is not compatible with millimeter or meter. The inch unit, however,
can have any format. See Figure 4.18.
- Visual Draw - - Back to STAAD/Pro ->
Chapter 4 185
Setting: dim-fract-base
Default value: 4
This specifies the largest denominator for length dimensions when a fractional
format is used. This is applicable to the main text. The fraction is simplified if
possible.
- Visual Draw - - Back to STAAD/Pro ->
Dimensions and Annotations
186 Chapter 4
Setting: dim-unit
Default value: OFF
This mode specifies whether the unit string is displayed in all length dimensions.
If dim-unit is ON, the unit string is displayed after the main text (or limit text).
For formats like feet-inch, where units are implicit or displayed, the unit string is
not re-drawn.
Setting: dim-alt-dim
Default value: OFF
This mode specifies whether the dimension text is displayed in alternate units as
well. If dim-alt-dim is ON, the text with alternate units is displayed in square
brackets [ ] after the main text.
Setting: dim-alt-unit-type
Default value: MM
This specifies alternate units in which all length dimensions are displayed.
Setting: dim-alt-format
Default value: DECI
This specifies alternate formats in which all length dimensions are displayed.
Setting: dim-alt-prcsn
Default value: 2
This specifies the precision for the alternate units of length dimensions.
Setting: dim-alt-fract-base
Default value: 4
This setting specifies the fractional base for alternate units of length dimensions.
Chapter 4 187
Setting: dim-alt-unit
Default value: OFF
This mode specifies whether the unit string for the alternate text is displayed or
not. See Figure 4.19.
Setting: dim-lead-0
Default value: ON
This mode specifies whether a leading zero is displayed before the decimal point
if the value is within the range of ± 1. If the mode is ON, the zero is displayed
before the decimal point. See Figure 4.20.
Setting: dim-decimal-type
Default value: DOT
This specifies the type of decimal point in all types of dimensions. This can be
either DOT (.) or COMMA (,).
Setting: dim-ang-unit-type
Default value: DEG
This specifies the alternate format in which the main text of angular dimensions
are displayed. This can be either DEG or RAD.
- Visual Draw - - Back to STAAD/Pro ->
Dimensions and Annotations
188 Chapter 4
Angular dimension settings derived from linear dimension settings are shown
below. The names contain a letter pattern ang after the prefix dim.
Setting: dim-txt-col
Default value: white
This setting specifies the color of all dimension text.
Setting: dim-depth-extn-ln-col
Default value: white
This setting specifies the color of depth lines and extension lines.
- Visual Draw - - Back to STAAD/Pro ->
Chapter 4 189
Setting: dim-dim-ln-term-col
Default value: white
This setting specifies the color of dimension lines (or arcs) and arrowheads.
Setting: dim-txt-wt
Default value: 1
This setting specifies the line weight of dimension text.
Setting: dim-depth-extn-ln-wt
Default value: 1
This setting specifies the line weight of depth lines and extension lines.
Setting: dim-dim-ln-term-wt
Default value: 1
This setting specifies the line weight of dimension lines (or arcs) and
arrowheads.
All dimension creation actions can be undone from within the interactions and
in the idle state.
Command: lin-dim
- Visual Draw - - Back to STAAD/Pro ->
Dimensions and Annotations
190 Chapter 4
This command creates single linear dimensions.
Input
• two key points
- two explicit points or
- auxiliary option for an entity, and picking an entity
Valid entities are lines, circles and circ-arcs
• dimension line location
• dimension text string if dim-usr-txt is ON
• dimension text position if dim-txt-pos has a value of USR, or has a
value of DEF-USR and the text does not fit
Auxiliary options
points or entities Toggles to specific key points or select
entities
Description
If key points are specified, a line is draged from the first to the second key point.
If entities are selected, the two end points of a line are taken as the key points.
For a circle, two extreme points in the direction of the dimension line are used.
If the dimension is aligned, enter a point on the circle. The closest point on the
circle is the first key point and the diametrically opposite point is the second key
point.
- Visual Draw - - Back to STAAD/Pro ->
Chapter 4 191
The text must be entered if dim-usr-txt is ON. The dimension text is dragged as
the string is being specified. Enter the text position if dim-txt-pos has a value of
USR or DEF-USR and the text does not fit. The point specified is projected on
the dimension line and the text is dragged with the point.
In this tutorial, we will dimension the drawing as in Figure 4.23. First, we must
draw the shape.
Press enter.
To create the horizontal dimension, specify points P1 and P2 as the key points.
Locate the dimension line at point P3.
To create the vertical dimension, change the key point specification mode to
entity pick.
Pick the vertical line at point P4. Change the dimension line angle to vertical.
Chapter 4 193
Specify the line by selecting point P6. Specify the location of the dimension line
by clicking at point P7.
To specify your own text position, change to USR text position before specifying
point P7.
Command: chain-lin-dim
Input
• first key point or an entity pick
• for each subsequent dimension in the chain,
- second key point
- dimension line location if the mode is manual
- dimension text string if dim-usr-txt is ON
- dimension text position if dim-txt-pos has a value of USR
or DEF-USR and text does not fit
• over action terminating the interaction
- Visual Draw - - Back to STAAD/Pro ->
Dimensions and Annotations
194 Chapter 4
Auxiliary options
dim-line Toggles automatic and manual location of the
location dimension line.
Description
The interaction for the first dimension in the chain is the same as that for single
linear dimensions. Successive dimensions require only the second key point to be
specified. Their first key point is the same as the second key point of the
previous dimension.
The dimension line location is required explicitly for the first dimension. All
successive dimensions created with automatic location have their dimension
lines in line with the first one. However, you can specify an explicit location
point for any dimension in the chain by the manual location mode. The
dimension line angle for the chain using the same as that of the first dimension
line.
In this tutorial, we will draw the chain linear dimensions of Figure 4.24. First,
we must draw the part.
Chapter 4 195
input: click at the following points in sequence.
Press enter.
Pick the line at point P1 and specify the location of the dimension line at point
P2. Specify points P3 and P4 to create the next dimensions in the chain. Now
select point P5. Notice the chain grows in both directions. Press enter.
Command: dtm-lin-dim
Auxiliary options
dim-line Toggles automatic and manual location of the
location dimension line
The dimension line location must only be explicitly specified for the first
dimension. All successive dimensions created with automatic location have their
dimension lines one datum-step ahead of the previous one. The datum step is
applied in the direction perpendicular to the dimension line angle. If positive it
is applied in the downward direction. If negative it is applied in the upward
direction. Under manual location mode, the location must be specified.
The length of the dimension line can be made short by selecting the short-arrow
option. It is full by default.
The dimension line angle for datum dimensions is the same as the angle of the
first dimension line.
- Visual Draw - - Back to STAAD/Pro ->
Chapter 4 197
In this tutorial, we will create the datum linear dimensions of Figure 4.25. First
we must draw the part.
Press enter.
Input the points (0,15) and (400,15). Break from the interaction.
We can mirror this about the construction line to complete the part.
Specify point P1 as the second key point and point P2 as the dimension location.
As you move the mouse, notice how the dimension wants to appear below the
first dimension. We must change the datum step to a negative value.
input: -20
To manually locate the dimension position of the fourth dimension, switch the
location mode to manual.
- Visual Draw - - Back to STAAD/Pro ->
Chapter 4 199
To obtain the dimensions shown in the bottom portion of Figure 4.25, repeat the
above procedure with a datum step of zero and line length set to short.
Command: coord-lin-dim
This command creates coordinate linear dimensions.
Input
• origin of the coordinate dimensions
• for each subsequent dimension,
- second key point
- dimension line location if the mode is manual
- dimension text string if dim-usr-txt is ON
- dimension text position if dim-txt-pos has a value of USR
• over action terminating the interaction
Auxiliary options
dim-line Toggles automatic and manual location of the
location dimension line.
In this tutorial, we will create the coordinate linear dimensions of Figure 4.26.
First we must draw the part.
Chapter 4 201
Command: ang-dim
Input
• four key points
- two pairs of points, each pair as
- line
or
- auxiliary option for two points and two points
- auxiliary option for three points and three points
- circle and two points on it
- circ-arc
• dimension arc location
• dimension text string if dim-usr-txt is ON
• dimension text position if dim-txt-pos has a value of USR or
DEF-USR and the text does not fit
• over action terminating the interaction
Auxiliary options
Two points Allows to specify the key points as explicit
points.
Description
- Visual Draw - - Back to STAAD/Pro ->
Dimensions and Annotations
202 Chapter 4
An angular dimension has four key points. Angular dimensions are usually
drawn between two lines. The default for specifying key points is picking two
entities. While specifying the first or second pair of key points, two different
points can be explicitly picked by selecting the option for two points.
If a circle or a circular arc is picked, the center is taken as the second and third
key points. For a circular arc, the two end points are taken for the remaining key
points.
The lines defined by the two pairs of key points intersect each other at a point
and define four regions on the dimension plane. All four angles can be
dimensioned. Specification of the dimension arc measures the included angle.
In this tutorial, we will draw the dimensions of Figure 4.29. First we will draw
the geometry.
Chapter 4 203
Command:
dia-dim
- Visual Draw - - Back to STAAD/Pro ->
Dimensions and Annotations
204 Chapter 4
rad-dim
Input
• a circle or a circ-arc
• dimension line location
• dimension text string if dim-usr-txt is ON
• dimension text position if dim-txt-pos has a value of USR, or DEF-
USR and the text does not fit
Description
This interaction is similar for both diametric and radial dimensioning. The
dimension text is prefixed with phi (φ) in diameter dimensions and with R in
radius dimensions.
In this tutorial, we will create the diameter and radius dimensions of Figure
4.30. First, draw two circles, each with a radius of 15. After the circles are
drawn, we can apply the dimensions.
Notice the font is too large to fit inside the circle. We will make the font
smaller.
Chapter 4 205
- Visual Draw - - Back to STAAD/Pro ->
Dimensions and Annotations
206 Chapter 4
Enter a new text height of 2.5.
Click on the other circle to select it. Then specify the approximate radius
position as point P2. Break from the interaction.
• single linear
• diameter
• radius
Chapter 4 207
by selecting a line. Assumptions are based on the most frequent cases in
dimensioning. Explicit ways of creating a particular type of dimension can be
used in special applications.
Command: qdim
Input
• entity
• dimension line location if the dimension is linear
• dimension text string if dim-usr-txt is ON
• dimension text position if dim-txt-pos has a value of USR, or has a
value of DEF-USR and the text does not fit
• over action terminating the interaction
Description
(a) Linear dimension
The dimension line angle of the linear dimension is calculated automatically. If
the line is horizontal, a horizontal dimension is created. If it is vertical, a vertical
dimension is created. For inclined lines, the dimension line location determines
the dimension line angle. A point specified in the vertical strip bounded by the X
coordinates of the line results in a horizontal dimension. A point specified in the
horizontal strip bounded by the Y coordinates result in a vertical dimension. The
intersection of these two strips or a point outside these strips gives rise to an
aligned dimension.
In this tutorial, we will dimension the drawing of Figure 4.32. First we must
draw the geometry.
Specify the constraints for radius, endpoint and endpoint. Enter a radius of 8 and
the endpoints (0,8) and (8,0). Select the appropriate arc.
Chapter 4 209
message: Pick a line/ circle/ circular arc
Select the next line at point P3 and it’s dimension line position at P4.
For the aligned dimension, select the line at point P5 and specify point P6 as the
dimension line location.
Command: chg-dim-attrb
Auxiliary options
All the options which appear during dimension creation are available.
Description
Changes made to the attributes are reflected in the selected dimensions. The
dimensions are changed after an over action.
4.5 Text
Many attributes related to text are used to control it’s appearance. These
attributes can be changed within the interaction of text creation. Figure 4.34
displays various attributes such as height, expansion factor, spacing factor, and
tilt.
Command: text
- Visual Draw - - Back to STAAD/Pro ->
Chapter 4 211
This command creates text entities. Single line text, multi-line text, text at
specified points and text fit between two points can be created. All the attribute
settings for text are available transparently during text creation.
Input
• for each text,
- position of the text or
- first point with extended mouse button for fitting text, followed
by the second point
- text string
• over action terminating the interaction
Auxiliary options
set-txt-tilt Sets the text tilt.
Multi-line Text
If the multi-line text mode is ON, text is written on equally spaced lines. After
the position of the first text line is specified, the positions of subsequent lines are
automatically calculated. Spacing between two successive lines of text can be
changed using the auxiliary option for line spacing. The line spacing is specified
as a factor of the text height (txt-ln-spc-f).
The distance between any two consecutive lines is ( txt-ht * txt-ln-spc-f ). See
Figure 4.35. If the text is to be D distance apart, and text height is T, then txt-ln-
spc-f can be calculated as
F = D/T
Fitting Text
The auxiliary option fit (Figure 4.36) is used to limit the text characters between
two points. Select the fit option before giving the text insertion point. The base
direction of the fitted text is the same as that of the line joining the two points.
The path is always to the right. The expansion factor is calculated automatically.
Chapter 4 213
The multi-line mode is available for fitting text. Both fitting points for the
successive text are calculated automatically by Draw.
Command: edt-txt
Input
• set of text entities
• new text string
Description
Changes the text string of all the text entities selected to the new text string. All
other text attributes remain unchanged.
4.7 Marker
Markers denote significant points in the drawing. Markers can vary in their type,
scale, tilt or orientation.
Command: marker
Input
• position of the marker
Auxiliary options
set-mrk-type Sets the marker type.
set-mrk-scale Sets the marker scale.
set-mrk-dir Sets the base direction of the marker.
set-mrk-tilt Sets the marker tilt.
- Visual Draw - - Back to STAAD/Pro ->
Dimensions and Annotations
214 Chapter 4
Description
Any of the settings can be changed while specifying the point. A marker with the
current settings is created at the specified point.
4.8 Leaders
A leader points to a part of the drawing. The text written at the end of the leader
annotates information related to an object that the leader points to. As shown in
Figure 4.37, there are many ways in which leaders are used for annotations. All
these variations can be achieved with the settings in Visual DRAW.
The text path, direction and alignment are calculated automatically. Other
attributes such as text height, and font are taken from the current text settings.
The text is always horizontal. It is justified either left or right with respect to the
last point of the leader. The location of the text can be either above or on the
leader line. If the text is above the leader line, the leader line is extended to the
end of the text.
A frame can be placed around the text. Frames can be of the following types.
• box
• balloon
• bubble
Frame sizes are automatically calculated by Visual DRAW. When the frame is of
type balloon or bubble, the text location is ON-LINE.
- Visual Draw - - Back to STAAD/Pro ->
Chapter 4 215
The setting dim-frame-clr is used to offset the text from the frame and the leader
line. dim-txt-offset is used to offset the frame above the leader line when the text
is written above the leader line.
Leaders are comprised of various entities. These are an arrowhead, a biarc for
the lines of the leader, another biarc (or circle) for the frame and text.
Command: leader
Input
• start point of the leader
• for each subsequent segment of the leader
- its endpoint
• over action terminating the leader
• leader text
Auxiliary options
set-lead-term-scale Sets the scale of the arrowhead.
set-lead-term-type Sets the type of the arrowhead.
lead-term Sets the arrowhead ON or OFF.
lead-txt-loc-online Aligns the text with the leader
line.
lead-txt-loc-above Puts the text above the leader line.
set-lead-bub-rad Sets the radius for leader bubble.
frame type Sets the tool frame type.
lead-frame-type-bub Sets the frame type to bubble.
lead-frame-type-box Sets the frame type to box.
lead-frame-type-ball Sets the frame type to balloon.
lead-frame Sets the frame ON or OFF.
Description
As the points of the leader line are being specified, the leader is dragged. The
string and frame are also dragged as they are being specified. If text is not to
appear at the end of the leader, press ENTER.
- Visual Draw - - Back to STAAD/Pro ->
Dimensions and Annotations
216 Chapter 4
Center lines and markers are commonly used annotations. When annotating
circles with center lines, four center lines with dashdot line-style are created for
every circle or circular arc. They start at the center of the circle and extend out of
the circle by an environmental setting cen-lin-extn. Center markers are markers
of type plus.
Command: cen-line
cen-mrk
Input
• circles and circ-arcs to be annotated
Description
The selected circles and circular arcs are annotated with center lines and/or
center markers
Chapter 4 217
4.10 Hatch
Hatch is an entity comprised of a bounded region and the pattern which fills this
region. The pattern is called the hatch style. The hatch style can be rotated, tilted
or scaled.
• boundary based
• area based
In the boundary base method, a set of boundaries representing the hatched region
are specified. The area based method is a simple and quick method for
specifying enclosed areas and finds the region based on these areas.
Command: hatch
With this command, a set of hatch boundaries, formed from the specified lines,
circles and circular arcs is specified. Given a start point, the boundary closest to
- Visual Draw - - Back to STAAD/Pro ->
Dimensions and Annotations
218 Chapter 4
this point is detected by traversing selected entities. If the path is not clear, it is
prompted.
Input
• set of entities on which the boundaries are to be traced
• for each boundary,
- start point for the traverse
- path to traverse in case of ambiguity
• over action terminating the interaction
Auxiliary options
set-hat-style Sets the hatch style.
Description
Visual DRAW traverses over the entities selected and attempts to find a closed
boundary. A path must be selected for the case of multiple paths emerging from
a particular point. If a point close to a circle which does not intersect any other
entity is specified, it is directly selected as a valid boundary. Detected boundaries
are highlighted.
Chapter 4 219
Had we been interested in only this boundary, an over action would have
terminated the interaction. Since we want more boundaries, continue with the
interaction. Now we specify a point close to the next boundary. As we are
interested in the circle, a point close to the circle would suffice. These are the
only two boundaries required. Now press the over button.
As opposed to boundary hatch, area based hatch, or quick hatch, requires only a
single point input. The enclosing region is automatically hatched.
Command: qhatch
- Visual Draw - - Back to STAAD/Pro ->
Dimensions and Annotations
220 Chapter 4
With minimum interaction, this command automatically detects the region
enclosing the specified point. To include holes or have more hatch regions, the
auxiliary option can be used.
Input
• optionally, the auxiliary option holes
• for each area,
- point in that area
• over action terminating the interaction if holes is selected
Auxiliary options
hat-holes Allows to specify holes in the hatch.
Description
After a point is specified, the smallest area around this point is the region that is
accepted. Normally the interaction terminates after an area has been identified.
More areas can be added with the auxiliary option.
Figure 4.41 (a): Quick hatch boundary Figure 4.41 (b): Hatch without holes
- Visual Draw - - Back to STAAD/Pro ->
Chapter 4 221
In this tutorial, we will hatch the geometry of Figure 4.41(a). When you specify
point P1, the hatch covers the entire region as in Figure 4.41(b).
To include the hole in the hatch, as in Figure 4.41( c), select the option holes
and then specify P1. Specify point P2, inside the hole. Press the over button.
To obtain a hatch as in Figure 4.41(d), select the auxiliary option holes. Specify
point P1, in the outer boundary. Specify point P2, in the first hole. Specify point
P3 in the second hole. Press the over button.
Figure 4.41 (c): Quick hatch with a hole Figure 4.41 (d): Quick hatch with holes
Notes :
223
Attributes
Chapter 5
Visual DRAW provides a set of attributes to associate with different entities.
Entities can be drawn in different colors, line-styles and line weights. Visual
DRAW also supports a wide range of hatch styles, markers types and text fonts
to enhance annotations.
• line-style
• line weight
• color
• layer
• extrusion thickness
- Visual Draw - - Back to STAAD/Pro ->
. Attributes
224 Chapter 5
5.1.1 Line-Style
Setting : ln-style
Default value: solid
This setting determines the pattern to be applied to the entity.
All line-styles are affected by the setting ln-style-scale. This is a scaling factor
by all line-style patterns are scaled during display. The default line-style scale is
1.0.
Setting : ln-wt
Default value: 1
The line weight setting determines the thickness with which an entity is drawn.
This setting can have an integer value ranging from 1 to 5. While displaying an
entity on screen, this value denotes the number of pixels to be used for lines. For
example, a line weight of 2 is drawn with a thickness of two pixels. While
plotting, the Weight to width mapping table (Appendix A, THE PLOT
- Visual Draw - - Back to STAAD/Pro ->
Chapter 5 225
MODULE) determines the width in which an entity of a certain weight is to be
drawn. Construction entities are always drawn with a line weight of 1.
5.1.3 Color
Setting : color
Default value: white
Visual DRAW provides the following basic colors for drawing entities.
white
red
green
blue
yellow
cyan
magenta
5.1.4 Layer
Setting : layer
Default value: default
Visual DRAW provides layers for classifying entities in a drawing. Each entity is
associated with a layer. A drawing may contain multiple layers. Entities can
exist on each of these layers. The visibility of each layer can be controlled in
different views. Thus, a group of entities can be made visible or invisible in a
particular view.
- Visual Draw - - Back to STAAD/Pro ->
. Attributes
226 Chapter 5
Setting : extr-thick
Default value: 0.0
All curvilinear entities in Draw have an attribute called extrusion thickness.
Entities having a non-zero extrusion thickness appear as flat surfaces generated
by extruding the entity along the extrusion direction. The default extrusion
direction is the Z axis of the UCS in which the entity is created. Annotations,
construction entities, surfaces and instances do not have extrusion thickness.
• type
• scale
• direction
• tilt
Setting: mrk-type
Default value: plus
The marker type sets the shape, lines, and filled regions forming its geometry.
Every marker symbol is defined in a 1 x 1 square. The marker position
- Visual Draw - - Back to STAAD/Pro ->
Chapter 5 227
corresponds to the center point of this square. This square can be scaled, rotated,
or sheared as desired.
Setting: mrk-scale
Default value: 5.0
The marker scale is a magnification factor which determines the marker size.
This marker scale factor applies to the square in which the marker is defined.
Setting : mrk-dir
Default value: 0.0
The marker direction is the angle made by the base of the marker square with
the positive X axis.
Setting: mrk-tilt
Default value: 0.0
By default, the height of a marker square is perpendicular to its base. Tilt is the
angle by which the height is slanted from its default position. This angle is
measured clockwise from the default height direction. See Figure 5.7.
• style
• direction
• tilt
• scale
• reference point
Setting: hat-style
Default value: 45deg
Visual DRAW supports many hatch styles. The hatch styles are generated from a
family of lines having different line-styles and inclinations.
- Visual Draw - - Back to STAAD/Pro ->
Chapter 5 229
Setting: hat-dir
Default value: 0.0
The hatch styles are defined in their own X-Y coordinate system. Whenever a
hatch style is generated, the X direction is aligned to the UCS X axis by default.
It can be aligned to any other direction by setting the hatch direction. This
direction is specified as the angle the hatch makes with UCS X axis.
Setting: hat-tilt
Default value: 0.0
When a hatch style is generated, the Y axis is perpendicular to the hatch
direction. The hatch style can be sheared by specifying a tilt. This tilt is
measured at 90°to the hatch direction. The Y direction is then aligned to this
direction, shearing the hatch.
Setting: hat-scale
Default value: 5.0
Hatch styles contain a principal family of lines. The distance between two
consecutive lines, i.e. the hatch scale, is initialized to 1. For a simple hatch
pattern consisting of parallel lines only, the hatch scale is equivalent to the
spacing between the hatch lines.
Setting: hat-ref-pt
Default value: (0.0 0.0)
The hatch pattern is defined in its own X-Y coordinate system. When the hatch
style is generated, the origin of this coordinate system is coincident with the
origin of the current UCS. The hatch origin can be placed at any point in the
UCS X-Y plane by specifying a hatch reference point. Changing the hatch
reference point results in a relative shift in the hatch pattern. See Figure 5.11.
Chapter 5 231
• font
• height
• direction
• tilt
• expansion factor
• spacing factor
• line spacing
• path
• alignment
The following sections refer to the text geometry as described in Figure 5.12.
Setting: txt-font
Default value: txt
The text font determines the geometric appearance of each character.
Appendix B, TEXT FONTS lists the fonts available in Visual DRAW.
- Visual Draw - - Back to STAAD/Pro ->
. Attributes
232 Chapter 5
Setting: txt-ht
Default value: 5.0
The text height is the distance between the baseline and the cap line. This is the
actual upper case letter height for most fonts. The height is measured along the
direction of the text tilt.
Setting: txt-dir
Default value: 0.0
Text direction is the direction of the base line. This is represented by the angle
between the base line and the positive UCS X axis.
Chapter 5 233
Setting: txt-tilt
Default value: 0.0
Text tilt is the shear angle of the text. It is the inclination of the upright direction
of the text relative to its default height direction (perpendicular to the text base
line). It is measured as an angle in the clockwise direction.
Setting: txt-expn-f
Default value: 1.0
The text expansion factor scales the text along the base line as shown in Figure
5.17. The text height does not change. Increasing this factor stretches the text
along its base line.
Setting: txt-spc-f
Default value: 5.0
The text spacing factor governs the distance between two characters. It is
represented as a factor of text height. Increasing the text spacing factor adds
space between two adjacent text characters.
Setting: txt-ln-spc-f
Default value: 0.0
This factor controls the distance between two text lines. It is represented as a
factor of the text height. Increasing this factor increases the spacing between
successive text lines.
Chapter 5 235
Setting: txt-path
Default value: RGT
This variable determines the path in which text characters are placed.
Setting: txt-align
Default value: BOT-LFT
Text alignment controls text positioning with respect to the insertion point.
Alignment is specified in horizontal and vertical directions.
The above attributes can be set to appropriate values which are used for creating
subsequent entities. Attributes of existing entities can be changed to any value.
Note: Visual DRAW stores attributes only if they are set to a value other
than the default. Thus, files are smaller if all entities have default
attribute values.
The attributes with which a new entity is created are governed by the current
settings. Each attribute has a corresponding setting. New values of these settings
can be specified. Visual DRAW has default values for all settings. See Appendix
C, SETTINGS. Unless these values are changed, each entity is created with the
default attribute values.
All current settings for the attributes can be changed transparently. The entities
created afterward inherit their attributes from these. Current settings can be
changed using the setv command. Draw provides auxiliary options in the
command interaction to access and change these settings interactively.
where attribute is the name of the setting and value is the desired value. The
Settings menu contains all attribute settings.
Current values of attribute settings can be inquired using the command getv.
This function displays the current setting of a specified setting. For example, if
you type
getv 'txt-ht
Chapter 5 237
Command: chg-attrb
Input
• entities whose attributes are to be changed
• for each attribute to be changed
- option identifying the attribute
- new value of the attribute
• over action terminating the interaction
Description
The attributes specified are applied to the selected set of entities. Existing
entities are modified to display new attributes.
The visibility of a layer can be set to OFF in a particular view. Setting a layer to
OFF does not delete it. Chapter 9, UTILITIES describes layer related operations.
- Visual Draw - - Back to STAAD/Pro ->
239
Parts
Chapter 6
Typically, drawings consist of figures from simple to very complex geometry. A
particular geometry is often repeated in the same drawing or across different
drawings.
Visual DRAW offers the concept of parts and mechanisms to retrieve and
manipulate specific geometry from different drawings. Object geometry can be
defined as parts and used as a single entity.
This chapter discusses how to make and use part libraries, thus saving time and
effort in handling a large number of drawings.
Chapter 6 241
For example, when designing an office layout, it is convenient to treat a chair as
an entity and use it as any other basic entity.
The primary contents of a model are the parts defined in it. There can be many
parts in a model, each defined in its own coordinate system. Each part has a
unique name.
Each new part can be defined by selecting a set of entities from $world and
naming them. Once a part is defined, its geometry is defined in its own
coordinate system, and is remembered by Draw by the specified name. This part
can be used in $world by placing it at an appropriate position with desired
scaling and orientation. This use is called an insertion of the part in $world. It
behaves like any other entity. In a newly defined part, one can include insertions
of other parts. An entire hierarchy can be set up by nesting simple parts into
more complex ones.
- Visual Draw - - Back to STAAD/Pro ->
. Parts
242 Chapter 6
• definition
• deletion
• inserting
• explosion
In addition to these basic operations, the following can be performed with part
libraries
Defining a part involves specifying the geometry which constitutes the part. This
is achieved by picking existing entities. A reference point specified along with
the geometry defines the origin of the part coordinate system. When a part is
inserted, its position in space is determined by the reference point supplied by
the user.
- Visual Draw - - Back to STAAD/Pro ->
Chapter 6 243
Command: def-part
This command defines a part. The entities that form the geometry and the part
name must be given.
Input
• set of entities that define the part geometry
• reference point
• name of the part
Auxiliary options
def-part-keep Options ot either delete or retain
the selected entities. They can
also be deleted and replaced with
an insertion using the toggle
menu.
Description
Entities to be included in the part must be selected. The part name should be a
valid user identifier string (Chapter 1, INTRODUCTION). The reference point
specified is the origin of the part coordinate system. The axes of this coordinate
system are parallel to the UCS axes. Parts are stored only after the drawing file is
saved.
The auxiliary option for this interaction has three states: delete, retain, or
instance. In the delete state, selected entities are deleted. Retain leaves them
untouched and they remain individual entities. In case of Instance, the entities
are deleted and replaced by an insertion of the part just defined. The default
value of this setting is delete.
Suppose you want to generate the layout of an office cubicle (Figure 6.2). There
are many chairs in this layout. You can define a part called chair (Figure 6.1),
and replicate it at desired positions.
- Visual Draw - - Back to STAAD/Pro ->
. Parts
244 Chapter 6
input: chair
After this part is defined, it can be used anywhere, just like other Draw entities.
You can put this chair at any location, orientation or scale. The component
entities will appear exactly as they were during definition, with the appropriate
transformations.
Chapter 6 245
whether you want to overwrite it. All insertions of that part, are regenerated as
per the new definition.
A part insertion can be drawn at a given place with specified scaling and
rotation.
Command: inst-part
Input
• name of the part to be inserted
• for each insertion of the part,
- insertion point
- optional, selection of option rotate, and the rotation angle
- optional, selection of option scale, and the scaling factor
• over action, terminating the interaction
Auxiliary options
Rotate Rotate the defined part about the insertion point by
a specified angle.
Description
Only the parts belonging to the current model can be inserted. Parts in external
models or part libraries can be loaded into the current model. All general editing
operations apply to the insertion reference entity. Picking an entity of the
inserted part in any interaction picks all the insertions of that part. An insertion
can be used for creating a new part definition.
Note: When an entity in a part is picked for general editing operations, the
entire part is selected. However, the entities are picked for other
geometric constructions or for snapping to significant input points, the
loose entities are selected. For example, one may pick the circle inside
a part insertion for creating a tangent line.
- Visual Draw - - Back to STAAD/Pro ->
. Parts
246 Chapter 6
To make the layout as shown in Figure 6.2, you should insert the part chair that
was defined in the previous tutorial.
Chapter 6 247
It may become necessary to change the definition of a part. This requires editing
the part geometry. To do this, first explode an insertion of the part to be edited.
This disassembles the insertion into loose entities. Edit these entities as required
and overwrite the old part definition. This changes the part definition and
updates all insertions of the part. Explosion of insertions is achieved using the
command explode.
This explodes the insertion. All the component entities are now available for
editing. Change the chair geometry as shown in Figure 6.4. Redefine the chair
as was done in Tutorial 6.1. All the part insertions are automatically updated.
See Figure 6.5.
If instead of using parts, the drawing was made by copying the constructions or
explicitly creating entities, these changes would have to be made to all
- Visual Draw - - Back to STAAD/Pro ->
. Parts
248 Chapter 6
occurrences of the chair. Thus, using parts makes drawings adaptable to changes
in component designs.
Command: delete-part
Input
• names of the parts to be deleted
Description
A list of parts which can be deleted is shown. Parts can either be selected from
the list or their names can be typed in. The part $world or any other part
currently in use cannot be deleted. If parts are accidentally deleted, they can be
recovered using the undo feature.
- Visual Draw - - Back to STAAD/Pro ->
Chapter 6 249
When defining a part, an insertion of another part can be picked, along with
other entities, as a component of the part being defined. This allows the
definition of a higher level part. This mechanism is useful when working with
an assembly. Smaller components can be made first. Then a sub-assembly can be
built.
To complete the office layout as shown in Figure 6.2, we need six work-desks,
each consisting of a table, a chair and a terminal.
To complete the layout, insert the work-desk at the desired locations with
appropriate rotations. See Figure 6.8.
A part library in Draw is a drawing file in which $world may be empty. This
model is a collection of parts with or without their insertions. New parts can be
added to the library by defining new parts in the drawing.
Command: load-part
Chapter 6 251
Input
• file name from which parts are to be loaded
• names of the parts to be loaded
• a search pattern for parts (optional).
Auxiliary option
search Allows a search text pattern for part names to be
specified.
Description
Invoking this command lists drawing files present in the current part search
directory. On selecting a drawing file name, the parts inside the drawing are
shown in the list box. Select one or more parts from the drawing. The definitions
of selected parts are copied into the current drawing. Continue by specifying
more files or break from the interaction.
The current part search directory is dictated by the Draw environmental setting
part-search-path. To list the drawings from a different directory, change the
current setting of part-search-path using the sete command. See Appendix C,
SETTINGS and Chapter 5, ATTRIBUTES. The default value of this setting
("."), implies that drawings in the current working directory are available. The
working directory can be changed using the cwd command.
Using the auxiliary option S_ON/S_OFF, a text pattern can be set. Only the
parts with the specified text pattern are seen in the part list if this option is ON.
- Visual Draw - - Back to STAAD/Pro ->
253
Surfaces
Chapter 7
Surface modeling is an important part of 3-D design. Draw offers surface
creation features, making it a powerful tool for modeling complex three
dimensional objects.
This chapter deals with the standard surfaces, surfaces of revolution, and general
NURBS surfaces. Other topics covered include various facet mesh creation
methods and commands associated with hidden line eliminated display.
Knowledge of curves and their construction (Chapter 2, CONSTRUCTION) is
needed to fully understand the information presented in this chapter.
Visual DRAW has direct commands for creating spheres, cylinders, cones, tubes
and torus’. Each of these result in a rev-surf entity, a surface of revolution. In
- Visual Draw - - Back to STAAD/Pro ->
. Surfaces
254 Chapter 7
addition to these methods, rev-surfs can be explicitly created by revolving any
curve about an axis.
- Visual Draw - - Back to STAAD/Pro ->
Chapter 7 255
7.1.1.1 Sphere
Command: sphere
Input
• center
• radius
Description
A closed spherical surface with specified center and radius is created.
7.1.1.2 Cylinder
Command: cylinder
Input
• base point
• radius
• height
- Visual Draw - - Back to STAAD/Pro ->
. Surfaces
256 Chapter 7
Description
A cylindrical surface with it’s axis parallel to the UCS Z axis is created. Both
the top and bottom are open.
7.1.1.3 Cone
Command: cone
Input
• base point
• bottom radius
• top radius
• height
Description
A conical surface with it’s axis parallel to the UCS Z axis is created. Both the
top and bottom are open. For a non-zero radius at the top, the surface is shaped
like a frustum of a cone.
7.1.1.4 Tube
Command: tube
Input
• base point
• inner radius
• outer radius
• height
- Visual Draw - - Back to STAAD/Pro ->
Chapter 7 257
Description
A tube whose axis is parallel to the UCS Z axis is created. Both ends of the tube
are open. However, there is a surface joining the inner and outer surfaces at both
ends of the tube.
7.1.1.5 Torus
Command: torus
Input
• center of the toroidal surface
• mean radius (ring radius) of the torus
• radius of the cross section (sweep sector radius)
Description
A toroidal surface whose axis is parallel to the UCS Z axis is created.
Command: rsweep
Auxiliary options
keep keep ON Retains or deletes the profile used
to generate the surface. If keep is
ON, the profile is retained.
Description
The right hand rule is applied to determine the path along which the curve is
revolved.
Chapter 7 259
Command: 4b
This command creates a surface patch bounded by four end to end connected
curves.
Input
• four end to end connected curves
Auxiliary options
keep keep ON Toggle menu to retain or delete the curves used to
generate the surface. If keep is ON, the original
curves are retained.
Description
Any four end to end connected curves can be selected as the boundary. Closed or
periodic curves can not be selected for this operation.
7.2.2 Skinning
This command creates a surface interpolating a set of selected curves. Only open
curves can be used for this operation. The sense of the curves is maintained
during skinning.
Input
• set of curves
• over action terminating the interaction
Auxiliary options
reverse Reverses the sense of the last picked curve
as used for skinning.
keep ON
keep Deletes or retains the curves used to
generate the surface. If keep is set to ON,
they are retained.
Description
Skinning results in an interpolating surface passing through the set of curves.
Any curve in space can be used. Since only open curves are supported, on
picking periodic curves an additional point where the curve should be split open
must be selected.
If the curves do not have the same sense, the operation may result in a self
intersecting surface. The sense of individual curves as used by the skinning
interaction can be controlled. This does not change the actual sense of the curve,
but only affects the sense used during skinning.
Chapter 7 261
7.3.1 Cuboid
Command: cuboid
Input
• reference point
• length
• breadth
• height
- Visual Draw - - Back to STAAD/Pro ->
. Surfaces
262 Chapter 7
Description
A cuboid is constructed by specifying a reference point, length, breadth and
height along the UCS X, Y and Z axes respectively.
7.3.2 Tetrahedron
Command: tetra
Input
• reference point
• length of the sides
Description
A tetrahedron is constructed by specifying a reference point and length. One side
of the tetrahedron base is along the UCS X axis.
7.3.3 Wedge
Command: wedge
Chapter 7 263
Input
• reference point
• length
• breadth
• height
Description
A wedge is created by specifying a reference point, length, breadth and height
along the UCS X, Y and Z axes. Triangular faces are formed parallel to the UCS
X-Y plane.
Command: rect-pyramid
Input
• reference point
• length
• breadth
• height
- Visual Draw - - Back to STAAD/Pro ->
. Surfaces
264 Chapter 7
Description
A rectangular pyramid is constructed by specifying a reference point, length,
breadth and height. The length, breadth and height are taken along the UCS X,
Y, and Z axes. The reference point fixes the center of the base rectangle in the
UCS X-Y plane.
Command: pent-pyramid
Input
• reference point
• length of the sides
• height
Description
A pentagonal pyramid is constructed by specifying a reference point, length and
height. One edge of the base is parallel to the UCS X axis. The height is along
the UCS Z axis. The reference point fixes the center of the base pentagonal face.
- Visual Draw - - Back to STAAD/Pro ->
Chapter 7 265
Command: hex-pyramid
Input
• reference point
• length of the sides
• height
Description
A hexagonal pyramid is constructed by specifying a reference point, length and
height. One edge of the base is parallel to the UCS X axis. The height is along
the UCS Z axis. The reference point fixes the center of the base hexagonal face.
Command: tri-prism
Input
• reference point
• length of the sides
• height
Description
A triangular prism is constructed by specifying a reference point, length and
height. The reference point fixes the corner point of the lower triangular face.
One edge of the triangular base is parallel to the UCS X axis. The height is
along the UCS Z axis.
Command: pent-prism
Input
• reference point
• length of the sides
• height
- Visual Draw - - Back to STAAD/Pro ->
Chapter 7 267
Description
A pentagonal prism is constructed by specifying a reference point, length and
height. One edge of the base is parallel to the UCS X axis. The reference point is
the center of the base pentagon.
Command: hex-prism
Input
• reference point
• length of each side
• height
Rendering an object usually produces a wire frame display where all object lines,
including the hidden ones, are visible. Hidden line elimination, HLE, removes
hidden lines to offer a realistic view.
HLE operates only on entities on the visible layers. Annotation and construction
entities do not participate in HLE. Therefore markers, dimensions, text, hatch,
and construction entities remain unaffected. All entities with line-style other
than solid are assumed to be annotations and will not take part in HLE.
Extrusion entities are treated as surfaces.
- Visual Draw - - Back to STAAD/Pro ->
Chapter 7 269
The HLE Mechanism
Two interactions are available for HLE. The hide-vws command allows a set of
views for HLE to be selected. The hide command performs HLE on a set of
views which are candidates for HLE. The first method is useful for performing
an experimental HLE. The second gives a single control of applying HLE in all
pre-selected views.
Each view has an attribute telling whether it is a candidate for HLE. This
attribute can be turned ON to mark the view as a candidate for HLE. The hide-
vws command automatically sets this attribute ON for selected views. This
attribute is used by the hide and plot commands to determine in which views to
apply HLE. HLE can be aborted using a break action.
Visible parts of the entities participating in HLE appear in their original color,
and line weight. Optionally, hidden lines can be displayed in dotted line-style.
Every view has an attribute called hidden-line-visibility . If hidden line visibility
is set to ON, hidden lines are displayed with the dotted line-style.
Intersecting Objects
Threshold Angle
Wire frame displays generally show intermediate edges which represent the
curvature at those places. These lines appear because a surface is divided into
small segments for display purposes. The threshold angle setting can be used to
hide these lines. If the angle between the normals of two adjacent faces is less
than the threshold angle, the common edges between these surfaces are not
displayed.
- Visual Draw - - Back to STAAD/Pro ->
. Surfaces
270 Chapter 7
Command: hide-vws
Input
• views in which HLE is to be performed
Description
HLE is performed on the views in the order in which they are selected.
Command: hide
This command performs hidden line elimination on all the views for which the
hide-view attribute is ON.
- Visual Draw - - Back to STAAD/Pro ->
Chapter 7 271
Command: set-vw-hide
This command sets the hide-view attribute for the chosen views.
Input
• views in which the attribute is to be set
• state to which it is to be set, ON or OFF
Description
The hide-view attribute of the selected views is set to the specified value. The
default value of this attribute is OFF.
Command: set-hid-ln-vis
This command sets the visibility of the hidden lines for specified views.
Input
• views in which hidden line visibility is to be set
• state to which it is to be set: ON or OFF
Description
The visibility is set to the specified value in selected views. By default it is OFF.
Command: set-inter-check
Description
This command sets intersection checks ON or OFF. By default, it is OFF.
- Visual Draw - - Back to STAAD/Pro ->
. Surfaces
272 Chapter 7
Command: set-threshold-ang
Input
• threshold angle
Description
This command changes the value of the threshold angle. The default value is
0.0. Thus all intermediate edges are displayed.
Chapter 7 273
Wireframe displays consist of many curves which represent the curvatures of the
surfaces. These curves are known as iso-u and iso-v curves. For HLE, surfaces
are divided by intermediate lines into rectangular patches. The resolution of a
surface is represented by the number of such intermediate curves. The resolution
can be set to control the quality of display. These are controlled by the settings
disp-niso-u, diso-niso-v, hle-niso-u and hle-niso-v.
Command: chg-surf-resol
Input
• Entities for which the resolution is to be set,
- valid entities
- surf
- rev-surf
• for each resolution parameter,
- parameter
- new value of the parameter
Description
Parameters such as the number of iso-u and iso-v curves or lines for wire frame
rendering and hidden line elimination can be modified. Parameters for both wire
frame rendering and hidden line eliminated display are available in menus.
The iso-u curves are parallel to the first curve selected. The iso-v curves are
always perpendicular to the iso-u curves. See Figure 7.21
- Visual Draw - - Back to STAAD/Pro ->
. Surfaces
274 Chapter 7
275
Chapter 8
Visual DRAW offers a multi-window environment for viewing various regions
of a drawing or model. In each window, objects can be viewed with varying
levels of details.
An eye point is a point in model space from which the model is seen. The target
point is the point in the model space at which the eye point is focused. The
direction from the eye point to the target point is the base viewing direction.
The view in each window depends on the eye point, target point and orientation
angle. Together, the eye point, base viewing direction, and eye orientation define
the eye coordinate system, ECS. The origin of the ECS is at the eye point. The Y
axis is along the viewing direction and the Z axis is along the direction of eye
orientation angle.
If the viewing direction is along the WCS Z axis, then the orientation angle is
defined with respect to the WCS X axis.
8.1.3 Viewbox
A viewbox is a cube in model space whose faces are parallel to the principal ECS
planes. Each window has an associated viewbox that defines the region in model
space as seen in a window. The center of the viewbox is the center of the
viewport.
- Visual Draw - - Back to STAAD/Pro ->
Chapter 8 277
8.1.4 Views
Note: The actual positions of the eye point and target point are meaningful
only in the perspective views. For orthographic and axonometric views, they
merely define the viewing direction.
The direction of projection for each view is called the relative viewing direction.
There are seven different types of views. Five are orthographic views, one is
axonometric and one a perspective view. The supported orthographic views and
associated viewing direction are listed below.
- Visual Draw - - Back to STAAD/Pro ->
. Viewing and Display
278 Chapter 8
Views are displayed in rectangular window portions called viewports. Each view
has a delimiting border. The visible sizes of each orthographic view in WCS are
the same as the sizes of corresponding faces of the viewbox. These are mapped
on the viewport when a view is displayed in a window.
Views displayed in a single window are associated with each other. They all
show various projections of the same viewbox. Zooming or panning in one view
results in a corresponding change in the other views. The relative viewing
directions in a window are derived from the base viewing direction and from the
eye orientation.
For all views, except the perspective view, the projection plane is assumed to be
placed at infinity. For a perspective view, it passes through the viewbox center.
One, two or four related views can be seen in a window. Any of the seven views
can be seen. In a two-view window, the following view combinations can be
seen.
• Front-Top
• Front-Bottom
• Front-Left
• Front-Right
- Visual Draw - - Back to STAAD/Pro ->
Chapter 8 279
In a four view window, the following combinations can be seen.
• Front-Top-Left-Axonometric
• Front-Top-Right-Axonometric
• Front-Bottom-Left-Axonometric
• Front-Bottom-Right-Axonometric
• Front-Top-Left-Perspective
• Front-Top-Right-Perspective
• Front-Bottom-Left-Perspective
• Front-Bottom-Right-Perspective
Views are displayed in a window according to the third angle projection method.
For a four view window, the area available after laying out the three
orthographic views displays either the axonometric view or the perspective view.
There are two types of viewing related operations in Visual DRAW, window
operations and view operations. Window operations are related only to the
window and its boundaries on screen. Viewing operations are the operations that
are performed in the WCS or model space.
Windows are used to view drawings. Operations on windows do not affect the
drawing. The available window options are:
If only one window exists in the scene, Visual DRAW eliminates the
unnecessary window pick interaction. Picking all windows automatically
terminates the interaction without an explicit over.
Command: win
Input
• press-to-release action for two corners of the window or
• coordinate input
- lower left corner of the window
- width and height of the window
• or an existing window for duplication
Description
The input mechanisms are active simultaneously. Any one of them can be used.
The coordinates specified are interpreted in the scene coordinate system.
- Visual Draw - - Back to STAAD/Pro ->
Chapter 8 281
In the press-to-release action, a rectangle of the size of the window is dragged as
the cursor is moved. A new window of the specified size is created. The window
shows the default view (top view) such that the entire model is visible in the
window. Alternatively, a new window can be created by clicking on an existing
window. The new window is placed exactly on top of the existing window and
has the same dimensions. The contents are also the same.
Visual DRAW provides standard mechanisms for closing windows. The window
can be deleted by double clicking on the control menu toolbox or by selecting the
Close option from the control menu. An minimized window cannot be deleted
directly. However, clicking on the iconified window brings up the control menu.
Visual DRAW also provides short cut key combinations. CTRL-F4 deletes the
active view window. The undo operation is not applicable if windows are deleted
as mentioned above. However, the undo is available if a window is deleted with
the following command.
Command: delete-win
Input
• select windows to be deleted
Description
Clicking on a window deletes the window. This window must not be iconified.
At least one window which is not iconified should exist in the scene. The last
window can not be deleted. When deleting multiple windows, a confirmation is
required after each selection. If only one window remains unselected, then the
confirmation is not required.
A window can be resized from its sides or its corners. Resizing is possible only
on non-iconfied windows. A window can be resized either through the Size
option in the control menu or by moving the cursor near the window frame and
dragging the frame in a press-to-release action. The cursor type changes to
double arrow when the window frame is touched. This indicates that pressing the
mouse button will select the window frame for resizing. Only one window can be
resized at a time.
Visual DRAW rescales the entities in the drawing area after a window is resized.
The contents of the other windows are unaffected by this operation. These
operations cannot be undone.
The title bar for the view window can be switched to OFF by a keyboard and
mouse button combination. Hold the SHIFT key and click the right button. The
window dimensions do not change, but more of the drawing area is available.
The same combination restores the title bar. A window without the title bar
cannot be moved or iconified; however, it can be resized and deleted.
The Stay-on-Top option in the control menu is a toggle setting applicable to the
view window. Through this option, each view window can be set to have Stay-
On-Top mode ON. Once the stay-on-top mode is ON, this window will always
remain on top of the other windows. Multiple windows can stay on top.
Chapter 8 283
The Next window facility is useful for multiple overlapping windows. This
feature does not apply to windows with the Stay-on-top mode set to ON. For
Stay-on-top windows, the Next option is replaced with the Switch to option.
The maximizing effect differs for each window, based on its Stay-on-top mode.
A window with this mode ON is maximized to cover the entire screen. Besides
the magnified drawing contents of the view window, only the title bar of the
view window remains on the screen. All other components of the Visual DRAW
screen layout are obscured. The title bar may be turned off using the SHIFT-
Right mouse button combination explained earlier. With this feature, it is
possible to get a full-size screen dump of the required drawings and scenes.
A Maximize command on a window with Stay on top set to OFF results in the
following events.
• The view window title bar disappears and its components are relocated.
- Visual Draw - - Back to STAAD/Pro ->
. Viewing and Display
284 Chapter 8
- The control menu button and the maximize/restore button appear on
the menu bar. The functionality remains unchanged.
- The Draw window title string is updated. The view window number
is suffixed to the existing title string of the application window.
Only those windows having the title bar present can be subjected to the
maximize and minimize operations. Only one window can be minimized,
maximized or restored with a single interaction. On restoring a view window,
the dimensions and view contents of the restored window are the same as they
were at the time of minimizing or maximizing. However, changes made to the
drawing are reflected inside each restored window. Undo is not applicable to
these operations.
In Visual DRAW, the Arrange Icons option rearranges the existing view window
icons in the client area. This operation does not change the drawing content of
the icon in any way. Each icon can be repositioned later.
The Cascade and Tile operations are different formats for arranging multiple
windows within the client area. These operations change the size of the view
window and the magnification factor of the drawing contents. Viewing windows
with the Stay-on-top mode ON do not obey the cascade and tile commands.
Undo is not possible on these operations.
Chapter 8 285
Command: resize-vport
This command offers the facility to change viewport sizes in a multi view
window showing adjacent viewports. Relative positioning depends on the
combination of the views being displayed.
Input
• window in which the viewports are to be resized
• new viewport border position
Description
The viewport borders are dragged as the mouse is moved to specify a new
position. In the case of four view windows, resizing is done so that the
axonometric or perspective view remains a square. The size of the viewbox is
altered by this operation, but the viewbox center remains the same.
Command: chg-n-vws
This command changes the number of views and the combination of the views
seen in a window.
Input
• window of interest
• new view combination
Description
All available view combinations are displayed in a menu. Changing the view
combination does not change the region being displayed. The newly specified
- Visual Draw - - Back to STAAD/Pro ->
. Viewing and Display
286 Chapter 8
combination displays the region around the viewbox center with the same zoom
scale factor.
Command: eye-tar-ornt
Input
• window of interest
• for each change,
- selection of menu option indicating what to change
- new value
• over action terminating the interaction
Description
A menu showing three options, eye point, target point and orientation, appears.
Select one of these and specify its value. An over action terminates the
interaction. The view isredisplayed with the new values. Figure 8.4 shows the
effects of changing the eye point, target point and orientation.
- Visual Draw - - Back to STAAD/Pro ->
Chapter 8 287
Chapter 8 289
Since objects are created in the UCS, one may want to visualize them in this
coordinate system as well.
Command: uvw
This command aligns the ECS to the UCS. The X-Y plane of the UCS is seen in
the top view, the Y-Z in the side view, and the X-Z in the front view.
Input
• window of interest
Description
This facility provides a change in the eye point and the orientation while
maintaining the target point. The eye point is positioned so the original eye-
target distance does not change and the base viewing direction becomes parallel
to the positive UCS Y axis. The orientation is changed so the head up direction
is along the UCS Z direction.
Chapter 8 291
The position and size of the viewbox determines the portion of the drawing to be
displayed. A face of the viewbox is mapped on the viewport for an orthographic
view. If the viewbox is small, then a smaller volume of the model is mapped on
the viewport and a larger image is displayed. A reduction in the viewbox size
has the effect of enlarging objects. This is called zoom-in. The reverse operation
is called zoom-out.
The viewbox center is mapped on the center of the viewport. If the viewbox is
displaced, the contents in the model space around the new center of the viewbox
are displayed in the viewport. This operation is called pan.
• zoom-in
• zoom-out
• pan
• zoom rescale
• zoom limits
• zoom true screen
• zoom true scene
• cross zoom in
• cross zoom out
8.4.1 Zoom-in
Command: zoom-in
This command zooms-in in a window. You can either zoom by a rectangle or by
giving a center and a scale factor.
- Visual Draw - - Back to STAAD/Pro ->
. Viewing and Display
292 Chapter 8
Input
• press-to-release action for the zoom rectangle
or
• new center of the viewbox, and the scale factor
Description
Zoom action is performed in the view in which the rectangle or center is
specified. If a rectangle is input, contents of the view inside that rectangle are
magnified to fill the entire viewport. Thus, the smaller the rectangle, the greater
the magnification. The center of the rectangle is mapped to the center of the
viewport.
Chapter 8 293
8.4.2 Zoom-out
Command: zoom-out
This command zooms out by specifying a rectangle or giving a center and scale
factor.
Input
• press-to-release action for the zoom rectangle
or
• new center of the viewbox and the zoom-out scale
Description
The zoom action is performed in the view in which the rectangle or center is
specified . The contents of the viewport are condensed into this rectangle. The
view box expands in size to occupy the entire viewport. The smaller the
rectangle, the larger the volume in the viewport. If the center is specified
explicitly, it becomes the new center and the viewbox is scaled by the specified
zoom factor. The Zoom-out scale can be 1 or greater.
8.4.3 Pan
Command: pan
This command allows an adjacent portion of a model to be viewed without
changing the magnification.
Input
• press-to-release action for the pan displacement
or
• displacement through the keyboard, and the window of interest
or
• selection of the auxiliary option vw-box-cen with the center viewbox
and window of interest if the point is not located using the mouse
Auxiliary option
vw-box-cen Allows specification of the new viewbox center.
- Visual Draw - - Back to STAAD/Pro ->
. Viewing and Display
294 Chapter 8
Description
If the displacement is specified, the viewbox center is shifted by the specified
amount. Otherwise, the specified point becomes the new viewbox center.
release
press
Command: rescale
This command rescales the display so the entire model is visible in the viewport.
Input
• window of interest
Description
The new viewbox becomes the same as the model extent box. For clarity, a
clearance is left on all the sides of the view box.
Chapter 8 295
Command: zoom-lim
This command displays the contents of the model within the current drawing
limits in the selected window.
Input
• window of interest
Description
The drawing limits are represented by a 2-D rectangle. A box is defined so that
the third dimension is the average of the two dimensions of the rectangle. The
center of the rectangle is treated as the center of the box. The view is adjusted in
such a way that this box is seen completely in the window.
Command: zoom-true-scr
This command zooms such that objects appear in their true size on the screen.
Input
• center of the viewbox
• window of interest if the point was not located visually
Description
If a point is located visually (using the mouse), then the window in which it is
located is assumed to be the window of interest. The size of the objects, as
measured on the screen are the same as specified in the model.
- Visual Draw - - Back to STAAD/Pro ->
. Viewing and Display
296 Chapter 8
Command: zoom-true-scn
This command allows a ratio between the dimensions of the objects in the model
space and their projections on the scene coordinate system to be entered. This
becomes useful for plotting scenes.
Input
• center of the viewbox
• window of interest if the point is not located visually
• ratio of model dimensions to scene dimensions
Description
Whenever scene plotting is done, entities in the model space are plotted as they
are seen in the windows. In most cases, entities are drawn to a specific scale. The
ratio of the entity size in the model space to the plots (in the scene coordinate
system) is set using this command.
The cross zoom feature allows you zoom in and zoom out across different
windows.
Command: xzoom-in
xzoom-out
These commands allow you to expand or shrink the contents of one window into
another window.
Input
• zoom rectangle in the source window by press-to-release action
or
• center of the viewbox and zoom scale in the source window
• destination window
or
- Visual Draw - - Back to STAAD/Pro ->
Chapter 8 297
• size of a new destination window by a press-to-release action
Auxiliary options
Copy Allows you to specify whether the views in the
destination window are to be retained as they are,
retain made into a single view, or copied from the source
window.
single
Description
Cross zooming works with two windows. The input for zoom is specified in the
source window. The effect appears in the destination window. The contents of
the source window are unaffected. The first part of the interaction is similar to
the zoom-in/zoom-out interactions.
Whenever a view is displayed, Visual DRAW stores the view in a compact form.
This saves time as rigorous recalculations are not necessary for regenerating a
new display. The process which uses the saved display to redraw the view is
known as refresh. Complete regeneration of the display using the Draw database
is called regen. Refresh is quick while regen is slow and exact. All small zoom
and pan operations use the saved display and result in a refresh whereas a regen
occurs for large display change operations.
- Visual Draw - - Back to STAAD/Pro ->
Chapter 8 299
8.5.1 Refresh
Temporary entities or dragged displays often leave blips or dots on the screen.
This command refreshes the screen.
Command: refresh
This command refreshes windows.
Input
• windows to be refreshed
Description
The displays in all the selected windows are refreshed.
8.5.2 Regeneration
Command: regen
This command allows the display to be regenerated.
Input
• windows to be regenerated
Description
The displays in all selected windows are regenerated with appropriate messages.
This command can be aborted with the break action.
- Visual Draw - - Back to STAAD/Pro ->
301
Utilities
Chapter 9
This chapter introduces Visual DRAW’s utility functions. In particular, the
following are discussed.
• Settings in Draw
• Undo operations
• Model and model file operations
• UCS manipulation commands
• Input control commands
• Layer operations
During Draw startup, these settings are initialized to their default values. These
defaults can be changed at any time. Default values can be permanently changed
by editing the startup file GCADIN.LSP in the Draw configuration directory.
Appendix C, SETTINGS lists all the settings and explains the use of startup files
like GCADIN.LSP.
Some settings are native to a model and are normally different across two
models. For example, for an A-1 size drawing, a certain text height may be used
for annotations, while for an A-4 size drawing, another text height might be
- Visual Draw - - Back to STAAD/Pro ->
. Utilities
302 Chapter 9
used. Such settings can be associated with the model. Draw treats such settings
as part of the model. They are called model settings.
There are other settings which are not part of the model, but are parameters that
express preferences of an individual user or configuration for a particular
hardware. For example, the aperture for selecting entities is a setting which
depends on the resolution of the screen and would be a user specified preference.
Such settings are called environment settings. They do not change upon loading
a new model file.
The setv, getv, sete and gete commands set and inquire a specified setting. setv
and getv are for model settings; sete and gete operate on environmental settings.
Description
setv 'setting-name value, or
getv 'setting-name, or
gete 'setting-name
The set commands set the value of the setting to the specified value. The get
commands display the current value of the specified setting.
The multi-step undo feature of Draw assures recovery from erroneous actions.
The effects of one or more previous commands can be nullified. After
performing undo, the actions can be redone. Undo works for commands of the
current Draw session.
- Visual Draw - - Back to STAAD/Pro ->
Chapter 9 303
Undo and Redo are sequential. This means that an undo at any point will undo
the last action performed. Subsequent undo actions will undo the effect of actions
prior to the last action undone. In redo, the sequence is reversed. First, the action
undone by the last undo is redone, and then the action of the undo before that,
and so on. Draw remembers the last undo action and confirms it only when any
command other than redo is executed next. This means that redoing an action is
possible only if it immediately follows an undo. In the above example, after
undoing the deletion of the arc once, if you perform any other action, say zoom
in on the endpoint of the arc, then redo will not delete the arc.
- Visual Draw - - Back to STAAD/Pro ->
. Utilities
304 Chapter 9
An undo for some Draw commands is meaningless. Examples are refresh,
cascade and save file. For such commands, a null action is assumed to be
performed. The undo or redo of this action does not produce any visible effect.
These commands are present in the sequence of undo-redo. In the previous
example, if you delete the arc and do a refresh, then you will have to undo two
commands to restore the arc.
Once the command is completed, the whole command is packed into a single
unit. In the above example of the copy command, if an undo is performed after
the copy command has been completed, all the copies created by the copy
command will be removed. Similarly, a redo will restore all the copies.
Any number of commands can be undone or redone at a time. Marks can be set
before executing a series of commands. Then an undo up to that mark can be
performed if the actions are not satisfactory. Thus it is not necessary to
remember the number of steps taken.
- Visual Draw - - Back to STAAD/Pro ->
Chapter 9 305
The command undo1 undoes the last command or subcommand. Redo1 redoes
the effect of the last undo.
Command: undo1
redo1
Command: undo
redo
Input
• number of steps to be undone or redone
Description
If executed transparently, subcommands are undone or redone. In the idle state,
commands are undone or redone.
When trying out constructions or editing, a mark can be placed at the current
state. If the results are not satisfactory, the original state can be restored by
undoing up to this mark.. Undoing up to a mark does not remove the mark. You
can reuse it.
Command: put-undo-mark
undo-upto-mark
These commands put a mark at a current state and undo up to the marked state
respectively.
- Visual Draw - - Back to STAAD/Pro ->
. Utilities
306 Chapter 9
Input
• name of the mark
Description
Put-undo-mark places a mark at the current state. This can then be used in undo.
A mark can not be placed transparently.
Draw stores its model data in ASCII files. These have an ASD extension.
Command: read-model
This command reads the specified ASD file. The specified model is retrieved and
displayed on the screen.
Input
• confirmation to clear the current model, if present
• name of the .ASD file from which the new model should be read
Description
The Open file dialog box appears. Select the file to be loaded. The extension
does not need to be specified. The current model is cleared.
- Visual Draw - - Back to STAAD/Pro ->
Chapter 9 307
If the current model has changed but is not saved, a dialog box reminds you that
the changes have not been saved. This dialog box provides buttons to terminate
the read-model command or proceed with optional saving of the current model.
Command: save-model
write-model
The difference between these two commands is that the save-model command
saves the model with the current filename unless the model is UNTITLED. The
file name must be explicitly specified for the write-model command or if the
model is not named while using save-model.
Input
• If the model is UNTITLED
- name of the file in which the model is to be saved
Description
If the model name has not been assigned, the save model command brings up the
Save As file dialog box. Otherwise the model is saved using the existing file
name. The write-model command always calls the Save As file dialog box.
An external model can be inserted in the current model. Entities in the $world
part of the model to be merged are appended to the entities in the $world part of
the current model. Part definitions existing in the incoming model are also
copied.
Command: merge-model
This command merges the model from a specified file with the current model.
The model is located at the given reference point with the specified scaling and
rotation.
- Visual Draw - - Back to STAAD/Pro ->
. Utilities
308 Chapter 9
Input
• name of the model file
• point of insertion where an entire model is merged
• optionally, auxiliary options scale or rotate, if desired.
Auxiliary option
scale Applies a specified scale factor to entities of the
incoming model.
rotate Rotates the entities of the incoming model by a
specified angle.
Description
The point of insertion specifies where in the current model, you want the newly
merged model is to be located. The file which is to be merged can be selected
using the file dialog box. The auxiliary options scale and rotate the incoming
model.
Command: new-model
This command loads an empty model after clearing the contents of the current
model. The empty model is UNTITLED.
Input
• if the current model has not been saved after changes
- confirmation to clear the model
or
- interaction to save the model if UNTITLED.
Description
If the model has been saved, then the model is cleared without asking for
confirmation. If the model has not been saved, then the model is cleared after
confirmation. In both cases, the command loads an UNTITLED file.
- Visual Draw - - Back to STAAD/Pro ->
Chapter 9 309
Command: delete-file
Input
• selection of files for deletion
• confirmation
Description
The files are specified through the Delete file dialog and removed from the disk
after confirmation. This operation cannot be undone.
Setting: autowrite-cmd-step
Default value: 0
This environment setting specifies the number of commands, after which the
current model is automatically written. The default value of this setting implies
that auto write will not be done at all. The count begins with the first command
following the last save command.
The model is written in the current working directory in an ASD file named
~<model-name>.asd. For example, if the current model name is knuckle.asd,
then the file generated is ~knuckle.asd. If the current model is untitled, then the
name of the auto written file is ~draw.asd. If the current file name is of eight
characters then the file written is suitably renamed. For example, if the current
file name is assembly.asd, the name of the auto written file is ~assembl.asd.
Note: The autowrite command is not meant as a substitute for the save-model
command. It is there to ensure against system failure. At the end of your
Draw session, please ensure that the model is saved explicitly. Draw
- Visual Draw - - Back to STAAD/Pro ->
. Utilities
310 Chapter 9
deletes the auto written file after the model has been saved or cleared
explicitly.
To retrieve the auto written file, rename or copy it into another file name without
the special first character ~.
Models and drawings often contain smaller parts which are inclined at angles
with respect to the principal axes of the entire model, or the drawing paper. The
geometry of such parts is usually better understood, and can be easily created, if
these parts can be referred to in their own local coordinate systems. The UCS
feature in Draw allows a coordinate system to be placed anywhere in space and
oriented at any angle. Geometry can then be worked on in that coordinate
system. UCS manipulations are possible in 3-D and 2-D. However, in 2-D
constructions, it is important that planarity of the entities be maintained. Hence,
in such constructions, change in the UCS is restricted to the rotation of the UCS
about the Z axis and translation in the X-Y plane only.
All UCS change functions are available transparently. The UCS can be changed
using any of the following operations.
• translation
• rotation about an axis
• locating the origin
• direct UCS specification by 3 points
• aligning UCS to WCS
In addition, the following UCS control commands are available.
• UCS follow
• UCS style
Command: tucs
This command translates the UCS from the current position by a specified
amount.
- Visual Draw - - Back to STAAD/Pro ->
Chapter 9 311
Input
• translation vector
Description
The origin of the UCS is shifted by the specified translation vector. The axes
remain parallel to the old axes. During 2-D constructions, the UCS translation
specified should be such that the X-Y plane of the UCS does not change.
Command: rucs
This command rotates the UCS about one of the current UCS axes.
Input
• axis about which to rotate the UCS
• rotation angle
Description
The UCS is rotated about the specified axis by the specified angle. The UCS
origin does not change in this process. If the UCS is transparently rotated within
2-D constructions, the axis of rotation is assumed to be the Z axis and the
interaction for axis specification does not take place.
- Visual Draw - - Back to STAAD/Pro ->
. Utilities
312 Chapter 9
Command: lucs
Input
• new origin of the UCS
Description
When transparently locating the UCS for 2D constructions, the specified point
should lie in the current UCS X-Y plane.
Command: 3pt-ucs
A new UCS can be specified by specifying the origin of the UCS a point on the
X axis and a third point for the direction of the Y axis.
Input
• new origin
• point on the new X axis
• point indicating the direction of the Y axis
- Visual Draw - - Back to STAAD/Pro ->
Chapter 9 313
Description
The first point specified is the new origin of the UCS. It’s positive X axis points
along the second point specified. The third point is projected on to the XY plane
and the positive Y axis points toward this projected point.
In this tutorial, we will use the 3pt-ucs command to align the UCS to a part, as
shown in Figure 9.4. First, draw the part shown in Figure 9.4. Now we can
redefine the UCS.
Command: wucs
Command: ucs-style
The ucs-style command toggles the way in which the UCS axes are displayed.
There are two methods of displaying the UCS axes.
• icon style
• axes style
If the style is icon, the orientation of the three axes is shown in each view at the
bottom left corner. If the style is axes, the axes are displayed at their true
positions, as infinite lines passing through the origin of the UCS. In addition,
ticks are displayed at regular intervals along the axes in the current input plane.
The distance between ticks is set by the grid spacing factor.
Chapter 9 315
Command: ucs-follow
When the UCS style is axes, the X and Y axes can be used as a set of drafting
rulers. The UCS axes can be rotated using UCS rotation facilities and they can
be snapped to significant points on the axes using axis snap methods.
This section deals with related input commands. This includes commands for
setting the grid variables, input plane, permanent snap modes and work scale.
Command: set-grid
This command turns the grid ON or OFF. If the grid is ON, grid points are
displayed. When the grid is ON, the cursor snaps to the grid points during point
input interactions. The grid is displayed in the current grid style. If the grid is
too dense in a particular view, it is not displayed in that view.
If the grid is set to OFF, the cursor moves freely in the view and the grid points
are not displayed. The grid is OFF by default.
- Visual Draw - - Back to STAAD/Pro ->
. Utilities
316 Chapter 9
Command: set-grid-org
This command changes the grid origin from the default (0 0 0).
Input
• new origin of the grid
Description
If grid is ON, then the command redisplays the grid.
Command: set-grid-spc
This command changes the grid spacing.
Input
• new spacing along the X, Y and Z directions
Description
The grid is redisplayed if it is ON. Default grid spacing along X, Y and Z is 100.
- Visual Draw - - Back to STAAD/Pro ->
Chapter 9 317
Command: grid-style
This command toggles the display of grid styles between point style and line
style. In point style, grid points are drawn as small dots. In line style, they are
intersection points between the infinite lines. The default style is point.
Command: inp-pln
This command toggles the current coordinate input plane. There are three
possible toggle states: X-Y, Y-Z and Z-X. The default input plane is X-Y.
- Visual Draw - - Back to STAAD/Pro ->
. Utilities
318 Chapter 9
Command: psnap
This command toggles the permanent snap mechanism for point input ON or
OFF. If this is set to ON, the mode is active.
Snap Commands:
int-snap ON by default
endpt-snap ON by default
center-snap ON by default
endpt-stk
boundpt-snap
ent-stk
dimpt-snap
midpt-snap
posn-snap
By setting the work scale, work can be done in true dimensions, while the
geometry is created with an appropriate scale in the drawing. If a work scale of
0.5 is set, then a line drawn with input length 20 mm will be 10 mm on paper.
Command: set-work-scale
This command sets the work scale.
Input
• new work scale
Description
This sets the scale factor for all inputs provided henceforth. The default scale
factor is 1.
- Visual Draw - - Back to STAAD/Pro ->
Chapter 9 319
Layers are like tracing sheets used in manual drafting where different aspects of
a drawing are drawn on multiple papers and then viewed together. To classify
entities, Draw provides features for operating on layers. For a fresh Draw session
with an UNTITLED file, a layer called default is automatically created and made
the current layer. Entities drawn reside in this layer. Draw provides features to
create layers, change the layers of specified entities and other layer operations
like delete and visibility control.
Command: layer
This command creates a new layer.
Input
• name of the layer
Description
A layer of the specified name should not already exist. By default, the visibility
of the new layer is ON. The name of the layer should be a user identified string.
Command: delete-layer
This command deletes a layer.
Input
• layer to be deleted
Description
The layer to be deleted must not contain any entities.
- Visual Draw - - Back to STAAD/Pro ->
. Utilities
320 Chapter 9
Command: set-layer-vis
This command changes the visibility of layers in different views.
Input
• layer whose visibility is to be changed
• views in which the visibility is to be changed
• status of the visibility (ON or OFF)
Description
Entities on the selected layer become invisible if the visibility is set to OFF. A
layer can be visible in one view and invisible in another. Entities which reside on
a layer whose visibility is OFF in a particular view cannot be picked in that view.
Command: set-layer
This command changes the current layer.
Input
• name of the layer to be made current
Description
Any of the layers shown in the list box can be selected to be the current layer.
Any new entities created have this layer as their layer attribute.
Command : copy-image
This command copies the contents of the specified rectangle to the clipboard in a
picture format.
Input
• rectangle on screen to be copied to clipboard
- Visual Draw - - Back to STAAD/Pro ->
Chapter 9 321
Description
Draw asks for the two corners defining the rectangle. The contents of the view
window inside the specified rectangle are dumped to the clipboard. This picture
can be pasted into other applications. It is possible to dump the entire screen to
the clipboard provided both the corners of the rectangle lie inside the same view
window.
- Visual Draw - - Back to STAAD/Pro ->
323
Plotting
Chapter 10
Visual DRAW offers features for plotting your entire drawing or specific views.
Drawings can be plotted with hidden lines eliminated as well. Visual DRAW
uses the Print Manager provided by Windows. The Windows installation
includes a range of drivers for different plotters and printers. For plotters whose
drivers are not installed by default, the appropriate drivers must be obtained
from the plotter manufacturer and installed before plotting using Draw.
This chapter describes the various plot settings and interactions. Throughout the
chapter, only references to plotting are made. However, this chapter applies
equally to printing.
Visual DRAW offers two methods for creating and plotting drawings. The first
method is called plotting the drawing limits, while the second is called scene
plotting.
The drawing limits option in the print command allows the drawing to be plotted
in 1:1 scale. To print the drawing in 1:1 scale, the paper size should be at least
as large as the drawing limits. Plotting on paper smaller than the drawing limits
will clip part of the drawing.
The drawing limits are plotted by specifying the drawing limit, which is the
paper size on which the drawing is to be plotted. The geometry and annotations
are created at appropriate places on the paper. During creation, the composition
of the drawing sheet is arranged. When finished with the drafting work, the
complete drawing is plotted.
- Visual Draw - - Back to STAAD/Pro ->
. Plotting
324 Chapter 10
To create geometry with varying scales, the work scale can be set. The work
scale ensures that the geometry fits on the desired paper size.
Note that this method involves modeling the drawing paper and subsequently
plotting it. The activities of creating and composing the drawing on paper are
done together.
Plotting the drawing limits is independent of the views and windows on the
screen. The current drawing limits designate the size of the plot generated by
this method. The rectangle forming the drawing limits lies on the WCS X-Y
plane. All the entities lying inside this rectangle are plotted, others are clipped.
If there are entities which do not lie on the WCS X-Y plane, they are projected
onto the WCS X-Y plane. If these projections lie within the drawing limits, they
are plotted.
The scene option in the print command allows the current scene configuration to
be plotted on paper. Windows and views are plotted as they are seen on the
screen. The drawing area of the screen is mapped onto the paper.
Modeling can be done using the true coordinate system in which the objects are
defined. The work scale does not have to be set. When the model is complete, set
the scene plot limits to the size of the plot desired. The composition of the plot
can be designed with the help of windows. By zooming appropriately in the
windows, the geometry can be scaled.
When finished composing a drawing, use the scene plot facility. This mechanism
provides a visual plot composition feature.
Scene plotting is for plotting or printing the current scene. The screen displays
the contents of the scene plot limits in the scene coordinate system. All the
windows have specific sizes and locations in the scene coordinate system. Their
sizes and locations can be altered to suit the composition. A scene plot is a plot
of the size of the current scene plot limits with the windows as objects. Any
region in model space can be visualized through the window, at any zoom scale
factor, from any view point.
Generally, the zoom scale factor is relative to the view. That is, the zoom scale
factor is changed only in relation to that view in which it is changed. When
- Visual Draw - - Back to STAAD/Pro ->
Chapter 10 325
plotting the scene limits, the objects should be plotted with a certain absolute
scale with respect to the true object size. For example, consider a 1000 mm
diameter sphere which is to be plotted with a scale of 10:1. It’s diameter will be
reduced to 100 mm. It is necessary that you zoom in the window in which the
sphere is to be displayed and set the absolute scale factor to 0.1. The command
zoom-true-scn is used for this. In this way, modeling can be done in real world
coordinates, but a plot can be obtained at a different scale by visualizing an
absolute scale in the window. Related views ensure that the object scale in one
view is the same across all the views. The scale can be set in any view and the
scale factor for all other views will be set automatically. An axonometric view
with the default axonometric scale factors gives a true isometric view when
plotted along with the other views.
Various settings control the final plot. These are either prompted during the plot
interaction or are available as auxiliary tool boxes.
All entities in Draw have a line weight, used to determine the thickness of the
individual lines. In plots, the actual line thickness is of interest. The width to
weight mapping allows the desired line width to be chosen. The table below
gives the mapping of line weight used during display to the width of the lines
during plotting.
1 0.20
2 0.35
3 0.70
4 1.00
5 1.30
- Visual Draw - - Back to STAAD/Pro ->
. Plotting
326 Chapter 10
Entities drawn in different colors on the screen can be plotted provided the
selected printer or plotter supports color plotting. Depending on the plotter or
printer, colors are mapped to those available. Refer to documentation on plotter
driver for more details.
Multiple drawings on a single sheet of paper are often required. This calls for
multiple plot commands with the same sheet used for plotting. The following
plot transformations are available during plotting.
• translate
• scale
• rotate by 90o
Translate
Option to translate the plot to another location on the paper. The translation is
specified in the XY plane of the plot paper.
Scale
Option to reduce or enlarge the plot by a specific factor. The geometry, as well as
the annotation, is scaled by the specified factor.
Rotate by 90o
Option to rotate the plot by 90o. See Figure 10.1. The plot paper is first rotated
by 90o counter clockwise about the origin, then translated along the positive X-
axis by an amount equal to the plot paper breadth.
- Visual Draw - - Back to STAAD/Pro ->
Chapter 10 327
Line weight: Maps the line weight of the border lines, if they are visible.
In limit plotting, only that part of the drawing which lies completely inside the
plotting area, as determined by the paper size, is plotted. The setting for drawing
limit is accessible using set-dwg-lim. This controls the value of dwg-lim.
Command: set-dwg-lim
The command interactively sets the drawing limits. The default size is A1 (H).
- Visual Draw - - Back to STAAD/Pro ->
. Plotting
328 Chapter 10
Input
• new drawing limits by selecting from choices or typing in values.
Description
A menu showing standard paper sizes appears. Any of these sizes can be
selected, or a non-standard size can be specified. First specify the width of the
paper and then its height.
A0 1189 mm x 841 mm
A1 841 mm x 594 mm
A2 594 mm x 420 mm
A3 420 mm x 297 mm
A4 297 mm x 210 mm
A5 210 mm x 148 mm
A6 148 mm x 105 mm
L0 1230 mm x 880 mm
L1 880 mm x 625 mm
L2 625 mm x 450 mm
A 11 in x 8.5 in
B 17 in x 11 in
C 22 in x 17 in
D 34 in x 22 in
E 44 in x 34 in
Scene plot limits (default size A1 ) are mapped on the entire graphics window
area. The lower left corner of the graphics window area corresponds to the origin
of the scene coordinate system, while the upper right corner corresponds to the
scene plot limit dimensions. If the aspect ratios of the graphics window and the
scene plot limits do not match, a clearance is seen on one side of the graphics
window area. All windows created have a corresponding size on the scene
coordinate system. Scene plot limits can be changed. Since previously existing
windows lose their frame of reference after the scene plot limits are changed,
they are all deleted. A newly created window fills up the entire graphics area,
showing the current model extents from a default eye position.
- Visual Draw - - Back to STAAD/Pro ->
Chapter 10 329
Command: set-scn-plot-lim
This command sets the current scene plot limits.
Input
• new scene plot limits
Description
Setting the plot limits is done by selecting one of the standard paper sizes from
the toolbox or by typing in the values of the desired paper size.
The Print option under the File menu prints or plots drawings to the selected
printer or plotter or to a file. Options such as the number of copies to be
printed and the print quality can be specified through the Print dialog box. A
picture of the Print dialog box is shown below.
OK button
Accepts the settings shown in the dialog box and starts printing the drawing.
Cancel button
Cancels the changes made to the settings in the dialog box and breaks from the
interaction.
Setup Button
Changes temporary plotter settings like type of plotter, page size and paper
orientation. Selecting this button is equivalent to selecting the Print Setup option
from the menu bar.
Help Button
Displays on-line help for plotting drawings.
- Visual Draw - - Back to STAAD/Pro ->
. Plotting
330 Chapter 10
Copies
This box allows the number of copies to be specified.
Print box
Sets the method of plotting to Drawing Limits or Scene Plotting.
Printer
Displays the currently selected plotter.
The Print Setup command under the file menu changes the plotter settings
before making plots. Typically, the settings available through the application
are a subset of those available through the Control Panel and the Print
Manager. Only the settings that can be overridden are available.
The settings made to the printer or plotter through the print setup option are
valid for the current session only. Permanent changes should be made
through the Control Panel or Print Manager.
A dialog box similar to that of Figure 10.2 appears. The settings in this
dialog box that are not applicable to the current printer or plotter are grayed.
- Visual Draw - - Back to STAAD/Pro ->
Chapter 10 331
OK button
Closes the Print Setup dialog box after saving the changed settings of the printers.
Cancel button
Closes the Print Setup dialog box without saving the current settings.
Options button
Allows parameters specific to the currently selected plotter to be set. Upon
selecting this button, a dialog box showing various parameters for the
currently selected plotter appears. The plotter settings can be changed from
this dialog box.
Network button
Allows a plotter on the network to be selected.
Default printer
Selecting this option selects the default plotter as set through the Control
Panel or the Print Manager. Output is sent to the default plotter. The name of
the default printer is shown below this option.
Specific printer
Allows a printer or plotter other than the default to be chosen. The drawing is
plotted to the selected plotter.
- Visual Draw - - Back to STAAD/Pro ->
. Plotting
332 Chapter 10
Orientation
Paper size
Allows a paper size to be selected from those shown in the Paper size box.
Paper source
Allows the source of feeding paper to the printer to be specified from those
shown in the Paper source box.
333
Appendix A
A.1 Introduction
To plot a model onto paper, the plotters and/or printers must be installed and
setup. Please refer to the Windows 3.1, Windows 95, or Windows NT manuals
for detailed procedures of setting up a printer or a plotter.
Printing is done through the Print option available in the File menu of Visual
DRAW. The drawing is printed on the printer indicated in the Print dialog box.
This dialog box has a check box to print the output to a file. If this box is
checked, the drawing is saved in a file that contains commands that can be read
by the printer. This file can be subsequently copied to the printer from the
MS-DOS prompt using the copy command. Refer to Chapter 10 for more
details.
This section describes some common terms and concepts associated with
plotting.
A.3.1 Clipping
Output to the plotter gets clipped on all four sides of the paper by margins
specified by the plotter manufacturer. This results in the actual plotting area
available being less than the paper size. Visual Solid plots the drawing with its
- Visual Draw - - Back to STAAD/Pro ->
. Setting Up Plotters and Printers
334 Appendix A
origin on the lower leftmost corner of the limited plotting area. Thus if clipping
occurs, it affects only the top and right corners of the drawings. To prevent any
data overflow errors occurring on the plotter, Visual Solid appropriately clips the
drawing itself before sending the plot data file to the plotter.
Data coming to plotters is buffered because the rate at which computers send is
much higher than the rate at which the plotter processes it. Unless
communication parameters are properly set, the output will be corrupted. For
this purpose, specific modes are set in the operating system shell.
Plotting occurs in such a manner that the control alternates between itself and
other programs running under Windows. Thus it is possible to continue working
with the main application package while plotting is in progress. A print dialog
box appears during plotting. This dialog indicates that the plotting is in progress.
The Cancel button in this dialog box provides for aborting the plotting operation.
- Visual Draw - - Back to STAAD/Pro ->
335
Appendix B
Visual DRAW supports many fonts for drawing text. other text attributes height,
direction, tilt, expansion factor, spacing factor, line spacing, path and alignment.
The table below shows each character in the character, [a-z] and [A-Z], for all
the English fonts supported by Visual DRAW.
- Visual Draw - - Back to STAAD/Pro ->
. Text Fonts and Hatch Styles
336 Appendix B
In addition, Visual DRAW also has some special characters which are frequently
required.
\D Draws the PHI character for diameter dimensioning.
\d Draws the DEGREE symbol for angular values.
\p Draws the PLUS-MINUS sign for tolerances.
Escape sequences for switching underscoring and overscoring ON and OFF are
\u and \o respectively.
- Visual Draw - - Back to STAAD/Pro ->
Appendix B 337
Appendix B 339
- Visual Draw - - Back to STAAD/Pro ->
. Text Fonts and Hatch Styles
340 Appendix B
- Visual Draw - - Back to STAAD/Pro ->
341
Settings
Appendix C
Visual DRAW has two types of settings: model settings and environmental
settings. Model settings are the attributes or characteristics of a model.
Environmental settings are parameters that express individual preferences or
hardware configuration. The setv and sete command is for environmental
settings. The syntax for these commands is given below:
(getv 'setting-name)
(gete 'setting-name)
getv and gete are the corresponding inquiry commands. This appendix gives an
exhaustive list of all Visual DRAW model and environmental settings.
Note:
1. For settings dim-term-scale, hat-scale and marker-scale, a double value
must be input through Draw. Internally these values are treated as
scale2.
2. For an enumerated value for a sete or a setv a preceding single quote is
required. For example, setv 'dim-unit-type 'MM
Appendix C 343
Appendix C 345
Appendix C 347
Appendix C 349
Appendix C 351
Appendix C 353
Appendix C 355
Appendix C 357
Appendix C 359
Appendix C 361
Appendix C 363
Note:
1. The directory from which Visual DRAW was started.
2. ON and OFF values for booleans are mapped to T and NIL
respectively.
3. Double quotes ("") indicate a NULL string.
Note:
A single quote must precede values of settings involving enumerated data
types.
- Visual Draw - - Back to STAAD/Pro ->
365
Appendix D
This appendix gives a complete list of auxiliary options available during
dimension interactions. All these options appear in the dimension toolbar in the
client area. The icon column shows the icon as it appears on the screen, and is
followed by a small description. At the end of this appendix, the exact structure
of the dimension toolboxes is shown.
Appendix D 367
Appendix D 369
371
Appendix E
Many components in a drafting application occur repetitively in the drawing.
Generally, symbols, or parts, are used to avoid drawing patterns again and again.
However, there are situations where the dimensions of the components are
different, but the basic geometry is the same. For example, with nuts and bolts of
different diameters, the basic geometry is similar, and dimensions like the height
and diameter vary from application to application. The basic geometry is called a
template, while figures derived from the template, and having various
dimensions are called variations of the template (See Figure E.1).
Creating similar geometries again and again with varying dimensions could be
time consuming and tedious. On the other hand, writing parametric programs
requires programming expertise. The symgen (for symbol generation) utility in
Visual DRAW allows you to generate variations of a template interactively,
without any extra drafting or programming.
Here, you simply construct the basic geometry, indicate the appropriate
parameters, and run symgen on it. Symgen processes the template geometry,
allows you to specify new values of the parameters, and then generates the
variations. Also, it automatically generates the parametric program which you
can separately run or modify.
This mechanism is also useful in the design process when some of the
parameters of the geometry are undergoing changes. Since parametric programs
for the parts are made by symgen, they can be executed any time to generate the
variation as per the current set of values. This saves the remaking of the part
geometry every time some parameter undergoes changes.
- Visual Draw - - Back to STAAD/Pro ->
. Symgen and Sketch
372 Appendix E
The key concept in symgen is that the dimensions in the template that are to be
varied are indicated by annotating them with appropriate parameters (like l1, h2,
or any expressions containing these). For the generation of each variation, the
new values of the parameters are specified. Each step is described below.
- Visual Draw - - Back to STAAD/Pro ->
Appendix E 373
This can be done by using the construction features of Draw. You can edit the
figures as required using the editing features. Symgen works independent of the
method in which you construct or edit your geometry. Within some constraints
of symgen utility, generally only the final geometry of the template, which must
be made to proper scale, is the input to symgen.
After the template geometry has been constructed, the parameters of variation
have to be indicated on the figure. This is done by dimensioning the geometry
with user defined text ON. Any dimensioning method in Draw can be used for
this. The name of the variable parameter (except T, NIL and the special
characters like PHI, DEGREE and PLUSMINUS) should be entered as the user
defined text. The value of this parameter will be asked when symgen starts
generating the variations. You can also enter any constant value as the user
defined text. In such a case, no interaction for that dimension will take place,
and the specified value will be directly reflected in the variation results.
You can also enter any Lisp expression, optionally containing parameters, as the
user defined text. For example, as shown in Fig. E.3, the diameter of the hole
has been parametrized as d and the other diameters are specified as ( + 20 d )
and ( + 40 d ). During the interaction, the value of d and h is asked, and the
other related dimensions are determined by evaluating these expressions.
- Visual Draw - - Back to STAAD/Pro ->
. Symgen and Sketch
374 Appendix E
Symgen first tries to read in the geometry of the template on the basis of the
dimensions and parameters that you have specified. If it is not possible to
correlate the entire figure with this, it tries to find out implicit constraints on the
entities in your drawing on the basis of your constructions. This means that if
you have drawn a line vertically, symgen will assume that you want it to be
vertical in all the resulting variations. Thus, if you want a line to be inclined in
any of the variations, you should draw it inclined in the template. The angle at
which you draw it is however not significant. The following implicit constraints
are recognized by symgen in an order of decreasing precedence:
• Symmetry
Figures which are symmetric about a line in the template, are assumed to be
symmetric in all the variations. The line of symmetry should be a line
having the line-style center. Thus, if you dimension or parameterize one
side of the symmetric figure, you need not do it for the other side.
• Levels
Unconnected points which are at the same level are assumed to remain at
the same level in all the variations. This allows you to put multiple views
within the template, and if you have defined the parameters in one view, you
- Visual Draw - - Back to STAAD/Pro ->
Appendix E 375
need not do so in the related view. Symgen intelligently detects the
association.
• Absolute distance
Finally, if none of the parameters, dimensions, or implicit constraints help
in reading the figure, absolute distances between points are maintained the
same as in the template. Thus, if some parameter is to be maintained
constant across all the variations, then it need not be dimensioned at all, if
the true dimension is used in the template geometry.
Note: Symgen needs a reference point such that some dimension indicates its
location. Otherwise the templates created lack reference point
information.
Description
The template is to be specified by picking entities forming the template and a
reference point on or near the template is to be located. During the generation of
the variations, the reference point is mapped to the point at which the variations
are to be generated. The reference point should be placed at some significant
point on the geometry of the template like the endpoint of a line.
The resulting variations also display the dimensions by default. You can turn
them off by selecting the auxiliary option. The true values of the dimensions in
the variations are displayed if the user-defined text is set to OFF. If the original
parametric expressions associated with the dimensions are desired to be drawn,
then the user defined text for all these dimensions should be made ON.
The entities in the variations have the same attributes as the corresponding
entities in the template.
Example
See Figure E.5. Figure E.5(a) shows the template, the variations of which are to
be generated. The length of the axle is parametrized as l and its diameter as d.
The depth and the width of the groove, and chamfer is parametrized as c. Pick
the figure along with the dimensions and specify the reference point at P1 as
shown.
- Visual Draw - - Back to STAAD/Pro ->
Appendix E 377
For the first variation, specify the reference point at P2 and specify the values of
l, d and c as 150, 100 and 10 respectively. The variation of the template with the
specified values of the parameters will be drawn at P2. The dimensions drawn
will display the true values rather than the parameters (See Fig. E.5 (b)).
To draw the variation without dimensions, put the draw-dim mode OFF. Specify
the reference point at P3 and specify the values of l, d and c as 100, 50 and 20.
Limitations
Symgen intelligently detects the geometric relationship between entities, and on
the basis of the dimensions and implicit constraints in the figure, allows you to
generate the variations of the template. However, it has the following limitations
due to which, a correct variation of some geometries might not be generated:
1. Dimensions:
• angular, coordinate and aligned dimensions are not considered
- Visual Draw - - Back to STAAD/Pro ->
. Symgen and Sketch
378 Appendix E
• some dimension attributes like short arrow length are not retained
2. Constraints which are not considered by symgen are :
• tangency of lines and circles
• parallelism of lines
• intersections of entities
3. Included angle of an arc does not get changed in the variations.
4. Speed of symgen might be slow for more complex figures.
When one commonly sketches a rough figure with dimensions on a paper, one
does not bother to draw the geometry with true dimensions, or even with exact
proportions. The text of the dimensions which are drawn by hand is used in such
a case, to communicate the drawing. This rough sketch can then be translated
into a precise drawing explicitly.
The geometry may be constructed using any construction and editing methods in
Draw. The implicit constraints as mentioned for symgen apply here also.
Dimensioning can be done using any dimensioning technique in Draw.
- Visual Draw - - Back to STAAD/Pro ->
Appendix E 379
Running Update-Sketch
Input
• Entities and dimensions in the rough sketch
Valid entities: lines, circles and circular arcs
Valid dimensions: linear, radius and diameter dimensions
• Reference point
Description
The reference point should be some significant point on the geometry like
endpoint of a line. This point is maintained fixed, and all the geometry is
adjusted with reference to this point. After the reference point is specified, the
old geometry is deleted from the drawing, and is replaced with the new geometry
with the changed dimensions. The attributes of the entities in the updated figure
are same as those of the old entities.
Pick the three views along with the dimensions and specify the reference point at
P1 as shown in the figure. The old figure is wiped off and the updated figure is
drawn at the reference point (See fig E.6(b)).
The specified dimensions in the rough sketch are reflected in the geometry of the
updated figure. Note that, the relation between the three views also is
appropriately maintained.
Limitations
Update-sketch has the same limitations as mentioned for symgen
- Visual Draw - - Back to STAAD/Pro ->
381
Converts
Appendix F
For exchange of drawing data across other CAD packages, Visual DRAW
provides utilities to convert drawings of standard file formats into its native ASD
format and vice-versa. These converters are MS-DOS programs which read the
source drawing file format and generate another file of the specified drawing
format.
The list of converters that are copied on installing the Draw module are :
A Data Exchange Format, DXF file must be converted to ASD format before the
data can be read and edited in Visual DRAW. The dxf2draw converter converts a
DXF file into a Draw file format.
Syntax
where, dxf-file is the DXF file (extension .DXF) to be converted, and draw-file is
the Draw output file (extension .ASD) desired. If the draw-file is not specified,
- Visual Draw - - Back to STAAD/Pro ->
. Converts
382 Appendix F
then the ASD file created will have the same name as that of the source DXF
file. The file extensions need not be explicitly specified for conversion.
By default, the converter processes the entities in the model space only. The
command line option -p, considers only those entities that exist in the paper
space.
2. From the header section of the DXF file, only those settings that are
relevant to Draw are converted. The tables section of a DXF file is ignored.
5. Blocks defined with different scale factor in X,Y & Z directions are ignored.
8. Entities with BYBLOCK attributes are generated with the default attributes.
9. The text related information in ATTRIB entries within a block are mapped
as separate text entities in that block.
10. User-defined attributes for line and hatch entities are converted to default
attributes.
- Visual Draw - - Back to STAAD/Pro ->
Appendix F 383
Syntax
where iges-file is the input IGES file (extension .IGS) and draw-file is the
Visual DRAW output file (extension .ASD) desired. Extensions are optional. In
the absence of a second file name, the ASD file created will have the same name
as the IGES file.
IGES-ges level, where ges level is the level number of the IGES entity.
5. Linestyle and line weight of IGES entities are retained after conversion.
Text associated with IGES entities is not converted.
- Visual Draw - - Back to STAAD/Pro ->
. Converts
384 Appendix F
The plt2draw converter converts Virtual n'gineer plot files to ASD files.
Syntax
where, plt-file is the specified plot file (extension .PLA or .PLB depending on
ASCII or Binary format), and draw-file is the Draw output file (extension .ASD).
If it is not specified, the name of the ASD file created will be the same as that of
the plot file. Specifying extensions of source and destination files is optional.
Appendix F 385
The draw2dxf converter converts a Visual DRAW ASD file to a DXF file.
Syntax
where, draw-file is the Draw drawing file to be converted (extension .ASD) and
dxf-file is the DXF output file desired. If the DXF file name is not specified, then
the file generated has the same name as the ASD file but with the extension
DXF.
2. The conversion retains all entity attributes and layer information. Visual
DRAW entities not listed above are ignored.
The draw2igs converter converts Draw files into IGES format files.
Syntax
387
Lisp Interface
Appendix G
Visual DRAW has a built-in Common Lisp environment. It also offers pre-
defined Lisp functions for construction of entities, point input for writing your
own interactions. You can execute Lisp programs from the Visual DRAW
command prompt by typing :
where program.lsp is the name of the Lisp program you want to execute. The
command can also be invoked through the Load Lisp... menu under the File
menu item. If a function has been defined in the Lisp program which is loaded,
then this function becomes an integral part of the Draw command set for that
session. The function can be directly invoked with arguments, if any.
This section summarizes the Common Lisp data types used in Draw interface.
integer
An integer data type in Draw Lisp interface. Identical to fixnum of Common
Lisp.
double
A floating point number same as double-float data type of Common Lisp.
Draw Lisp interface accepts any floating point number of the fixnum or ratio
data types of Common Lisp, when double is expected. It is internally converted
to a double-float. All Visual DRAW functions which are expected to return
a double, actually return a double-float.
Note:
For upward compatibility, the calling programs should not use upper case
letters in the names of the symbols.
- Visual Draw - - Back to STAAD/Pro ->
. Lisp Interface
388 Appendix G
point2
This is a list of 2 double items. It signifies a 2-D Cartesian point.
symbol
This is a Lisp symbol object used for naming various items.
When a Visual DRAW function expects a symbol, you must quote it to protect
from being interpreted as a variable by Common Lisp. For example
distance
This is a double object that represents the distance between two geometric
objects (For example, lines, points, etc.).
entity
This is a Lisp object that indexes into the entity data base of Visual DRAW. This
is currently a fixnum. However, only those fixnum operations that are
explicitly specified by the Visual DRAW interface can be performed on this data
type.
string
This is the Common Lisp string data type. Used for operating on texts.
boolean
This is a Common Lisp object interpreted as a boolean value. The Common
Lisp object nil is interpreted as FALSE. Everything else is TRUE. Two objects
on and off can also be specified as arguments where a boolean is expected.
off corresponds to nil. The integer value 0 is TRUE. It is FALSE in most
other languages, and can be confusing if used in Lisp at an inappropriate place.
rect
A rect is a planar rectangle. It is a list of two point2 type variables. The two
points are any 2 diagonally opposite corners of the rectangle.
scale2
A scaling factor with two components which is a list of two doubles. When
Draw reads a scale2, it can either be a single double or a list of precisely
- Visual Draw - - Back to STAAD/Pro ->
Appendix G 389
two doubles; single double means both components are identical. When
Visual DRAW returns a scale2, it returns a list of precisely two doubles.
enum
At all places in the Draw Lisp interface where an enum is expected to be
specified, a symbol from a set of predefined symbols is expected. Similarly, all
Draw Lisp interface functions returning an enum return a symbol from this
predefined set. This set varies from function to function.
The Lisp functions are loaded as commands every time Visual DRAW is
invoked. The commands have optional arguments consisting of Draw keywords
and inputs values for these keywords. If no argument is supplied or if all the
required parameters are not provided when calling a function, then Draw
interactively obtains the required parameter. In any function, if a keyword
argument is to be specified, then all non-keyword arguments must also be
specified.
Appendix G 391
to be taken interactively, it will be taken only once even when many entities are
to be created. The same value is used for each entity that is created. It is not
sensible to supply fix as well as constraint value for the same constraint.
Constraint Description
Appendix G 393
Return values
• nil, if no entity was created.
• new entity-<entity>, that is the index of the newly created entity in the
entity database, if the constraints were such that at the most one entity
could be created, and the entity was created successfully.
• Unspecified, but not nil, if the constraints could result in more than one
entity, and at least one was actually created.
G.2.2 Settings
Commands to set and inquire settings are : setv, sete, getv, gete
Syntax
setv setting-name-< symbol> value
sete setting-name-< symbol> value
getv setting-name-< symbol>
gete setting-name-< symbol>
Description
setv and sete set the specified model and environmental variable respectively, to
the specified value. The type of the value must conform with the setting.
getv and gete extract the current value of the specified sete or gete respectively.
Return values
Return value of setv and sete is not specified.
getv and gete returns the current value of the setting.
Appendix C provides a detail description of model and environment settings.
G.2.3 Input
Syntax
get-< type> prompt-< string> [ :n n-< fixnum> ]
- Visual Draw - - Back to STAAD/Pro ->
. Lisp Interface
394 Appendix G
Description
These functions take interactive input of the type specified by type from the user.
The interaction which is invoked is same as the input interaction for these types
in Draw. The specified prompt is displayed before interaction starts.
Return values
The functions returns nil if an interaction is broken without supplying the
value. A single item of appropriate type is returned, if no more than one item
was requested, and it was actually input.
If interaction could have selected more than one items, and if type is not
entity, and at least one item was input, a list of input items is returned.
However, if the type is entity, the value returned is unspecified, except that it
is not nil. In such a case, entities selected are kept in the input selection set,
and can be accessed using the with-selset macro. (Explained later in this
Appendix.)
Syntax
msg string-< string>
Description
msg prints the given string in the text dialog area. Formatted messages can be
generated when it is used in conjunction with the Common Lisp function
format.
Return value
Not specified.
- Visual Draw - - Back to STAAD/Pro ->
Appendix G 395
Syntax
system [ command-< string> ]
Description
This function passes the given string to the DOS shell for execution. If command
is not supplied, it is asked interactively. On using system, the screen flips to text
mode and the specified command is executed. This command can be utilized
more for manipulating existing data files and generating some reports based on
the Draw entity data rather than for commands which display some result on
screen.
Return value
The exit status of the shell is returned as a fixnum.
Syntax
read-model [data-file-< string> ] [ :quiet quiet-< boolean> ]
write-model [data-file-< string> ] [ :quiet quiet-< boolean> ]
clear-model [:quiet quiet-< boolean> ]
Description
read-model destroys the current model, and reads the one in the given data-
file.
data-file is an ASD file. If the file name is not supplied, it is asked interactively.
- Visual Draw - - Back to STAAD/Pro ->
. Lisp Interface
396 Appendix G
read-model and clear-model issue a warning if the current model was
not saved after the last change to it, and you are given a chance to save it.
Similarly, write-model asks for a confirmation if the specified file exists, and
would get over-written. If the :quiet argument is specified, these functions do
not invoke any interaction, and quietly execute their actions.
Return value
Not specified.
Syntax
with-selset (eid-< entity> ) body
Description
with-selset macro processes multiple entities picked by get-entity.
body is a list of any Lisp expressions (similar to the body of defun). The body
is executed as many times as there are items in input selection set.
eid is a caller supplied variable that is assigned the next item from input
selection set on each iteration. This can be used in the body.
Return value
Not specified.
- Visual Draw - - Back to STAAD/Pro ->
397
Appendix H
This appendix give the list of Visual DRAW commands. The Location column
gives the sequence to be traveled in the menu for executing the command. In the
Icon column, the icon for the command, if it exists on the Draw screen, is
shown. A preceding star (*) character indicates that the command is ia-active.
Some icons have an i near them. This signifies that they are part of the
information bar.
DD -NoMenu- 2-42
Lp -NoMenu- 2-38
Ls -NoMenu- 2-38
Np -NoMenu- 2-38
TT -NoMenu- 2-36
- Visual Draw - - Back to STAAD/Pro ->
. Commands and Menu Layout
398 Appendix H
Tc -NoMenu- 2-43
Tp -NoMenu- 2-38
Appendix H 399
cr -NoMenu- 2-7
Appendix H 401
ee -NoMenu- 2-34
hT -NoMenu- 2-38
hp -NoMenu- 2-37
Appendix H 403
Appendix H 405
Appendix H 407
vT -NoMenu- 2-38
vp -NoMenu- 2-37
Appendix H 409
Appendix H 411
- Visual Draw - - Back to STAAD/Pro ->
. Commands and Menu Layout
412 Appendix H
- Visual Draw - - Back to STAAD/Pro ->