home *** CD-ROM | disk | FTP | other *** search
-
- 5.4.2 DRAW ARC
-
-
- The DRAW ARC command is used to draw one or more arc segments.
-
-
- COMMAND FORMAT
-
- #DRAW ARC [modifiers] :Loc x1 ... xn [:Loc x1 ... xn] etc.
-
- If the command is used with no modifiers, 3 locations are entered. An arc
- segment is created that passes through all 3 points. ( See fig. 5.24 ).
-
-
- MODIFIERS
-
- LAYER Requires a layer number. This will override the current
- active layer.
-
- DEPTH Requires a depth number. This will override the current
- active depth.
-
- HARDFONT Indicates a hardware line style will be entered.
-
- .STYLE One of the predefined line-styles, a value between 0 and 15.
-
- .THICKNESS Line thickness, a value between 1 and 5.
-
- SOFTFONT Indicates a software line style will be entered. For a full
- description of the SOFTFONT option, see the documentation
- for the command DEFINE SOFTFONT.
-
- PARALLEL Format:
-
- #DRAW ARC PARALLEL [value] :Ent x1 :Loc x2 :Ent ...
-
- Will draw an arc segment parallel to an existing arc. 'x1'
- identifies the existing arc.
-
- 'x2' defines which side of the existing arc the new arc will
- lie on. If a value is entered after PARALLEL, the radius of
- the new arc will be the radius of the existing arc plus or
- minus the value, depending on which side of the existing arc
- location 'x2' was made. If no value was entered, the new
- arc will pass through the point 'x2'. ( See fig. 5.25 ).
-
- Using the PARALLEL modifier excludes the following modifiers
- which can be used to directly specify the arc parameters.
-
- RADIUS This modifier can be followed by a real value or no value.
- If followed by a value, the value defines the arc radius.
- If no value is entered, then the radius is defined implicitly
- as a digitise. ( See fig. 5.26 and 5.27 ).
-
- STARTANG This modifier is followed by a real value which defines the
- arc start angle in degrees. ( See fig. 5.28 ).
-
- ENDANG This modifier is followed by a real value which defines the
- arc end angle in degrees.
-
- The modifiers RADIUS, STARTANG and ENDANG can be used in any combination
- with or without values. When implicitly defining a parameter, the follow-
- ing rules are consistent:
-
- ...Radius Distance from digitise to arc centre.
- ...Start Angle Angle between arc centre and start angle digitise.
- ...End Angle Angle between arc centre and end angle digitise.
-
- The arc is always drawn anti-clockwise from the start
- angle to the end angle.
-
-
- The following paragraphs describe the command format for each combination
- of modifiers:
-
-
- #DRAW ARC RADIUS :Loc x1 x2 x3 x4 :Loc ...
-
- x1 Arc centre.
- x2 Arc radius.
- x3 Arc start angle.
- x4 Arc end angle.
-
- #DRAW ARC RADIUS value :Loc x1 x2 x3 :Loc ...
-
- x1 Arc centre.
- x2 Arc start angle.
- x3 Arc end angle.
-
- #DRAW ARC RADIUS STARTANG value :Loc x1 x2 x3 :Loc ...
-
- x1 Arc centre.
- x2 Arc radius.
- x3 Arc end angle. ( See fig. 5.29 ).
-
- #DRAW ARC RADIUS value STARTANG value :Loc x1 x2 :Loc ...
-
- x1 Arc centre.
- x2 Arc end angle.
-
- #DRAW ARC RADIUS ENDANG value :Loc x1 x2 x3 :Loc ...
-
- x1 Arc centre.
- x2 Arc radius.
- x3 Arc start angle.
-
- #DRAW ARC RADIUS value ENDANG value :Loc x1 x2 :Loc ...
-
- x1 Arc centre.
- x2 Arc start angle.
-
- #DRAW ARC RADIUS STARTANG value ENDANG value :Loc x1 x2 :Loc ...
-
- x1 Arc centre.
- x2 Arc radius.
-
- #DRAW ARC RADIUS value STARTANG value ENDANG value :Loc x1 :Loc ...
-
- x1 Arc centre.
-
- ATTRIBUTE Used to enter one or more attributes associated with this
- entity. For a full description of the ATTRIBUTE option, see
- the documentation for the command ADD ATTRIBUTE.
-