home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Global Amiga Experience
/
globalamigaexperience.iso
/
graphic
/
cad
/
xcad3000
/
xcdoc
/
drawxh
< prev
next >
Wrap
Text File
|
1995-07-10
|
3KB
|
75 lines
5.8.1 DRAW XHATCH
The DRAW XHATCH command is used to define a closed polygon which will be
filled with evenly spaced parallel lines to denote cross-hatching. The
entity created is called an xhatch polygon. A single xhatch polygon may
consist of up to 64 separate polygons, one main polygon and 63 sub-polygons.
Sub-polygons can be used to define inner boundarys within the main polygon
that act as 'holes' and will be excluded from the cross-hatch fill.
COMMAND FORMAT
#DRAW XHATCH [modifiers] :Loc x1 x2 ... xn [:Loc x1 x2 ... xn] [CR]
Loc ...
The first set of locations entered define the main polygon boundary. If this
set of locations is delimited with a colon, then a sub-polygon boundary
definition can be entered. Futher sub-polygon boundaries may be entered
until a return is used to terminate the last location list. When the xhatch
polygon has been created, a second xhatch polygon can be defined in the
same way. To terminate the command, a return should be entered at the 'Loc'
prompt which appears when the previously defined xhatch polygon has been
created.
Cross-hatching is generally drawn using existing entities to define the
boundary of the area to be filled. To create a polygon boundary using existing
entities, the IDENTS point on entity modes - CHAIN, GENERATE, END, MID, ORG
and NEAR - can be used to generate the required boundary. For more
information on this subject see the documentation for IDENTS or use the
command:
#HELP MANUAL IDENTS LOCS
( See figs. 5.54 to 5.56 ).
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.
DISTANCE The DISTANCE modifier is used to specify the spacing of the
parallel lines used to denote the cross-hatch. A value must
be entered for this modifier.
ANGLE The ANGLE modifier is used to specify the angle for the
cross-hatching. If the modifier is omitted, the default
angle of 45 degrees is used.
Like most entities, xhatch may be drawn with a hardfont or a softfont.
The font will be applied to each of the lines that make up the cross-
hatching.
HARDFONT Indicates that a hardware line style will be entered.
.STYLE One of the predefined 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.
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.