The HATCH Statement
- Last UpdatedJan 07, 2026
- 1 minute read
HATCH,<hatch_name>,<hatch_cnt>,<hatch_type>
[/HATCHANGLE=<hatch_angle>]
[/HATCHDISTANCE=<hatch_dist>]
[/USERDEFINED=(<hatch_page>,<hatch_number>]
[/ISLAND=<island_cnt>];
<hatch_name> is the name of the hatch pattern and has the type HATCH_2D. The maximum length of <hatch_name> is 32 characters.
<hatch_type> is the type of hatch pattern. It has the type INTEGER. The following types are available:
1 normal, positive angle
2 normal, negative angle
3 cross-hatching
4 user defined
HATCHANGLE=<hatch_angle>
<hatch_angle> is the angle of the hatch pattern lines. It has the type DECIMAL. The default angle is 60 degrees.
HATCHDISTANCE=<hatch_dist>
<hatch_dist> is the distance between the hatch pattern lines. It has the type DECIMAL. The default distance is 5 mm.
USERDEFINED=<hatch_page>,<hatch_number>
<hatch_page> is the page number (1-999) in the standard book for user defined hatch patterns. It has the type INTEGER.
<hatch_number> is the standard number (1-8) within the page <hatch_page> in the standard book for user defined hatch patterns. It has the type INTEGER.
/ISLAND=<island_cnt>
<island_cnt> is the island contour where the hatch pattern shall be removed. It is of the type CONTOUR_2D or TEXT_2D.
Structure:
|
TYPE |
(INTEGER) |
||
|
ANGLE |
(DECIMAL) |
||
|
DISTANCE |
(DECIMAL) |
||
|
PAGE |
(INTEGER) |
||
|
NUMBER |
(INTEGER) |
||
|
NSEG |
(INTEGER) |
||
|
ISLANDS |
(INTEGER) |
||
|
SEGPARTS(1:NSEG) |
|||
|
ENDPNT(1:2) |
(DECIMAL) |
||
|
AMPLITUDE(1:2) |
(DECIMAL) |
||
|
Example: |
|||
|
GET/STRUCTURE=(T,<hatch_name>,'TYPE' |
|||
|
/STRUCTURE=(A,<hatch_name>,'ANGLE') |
|||
|
/STRUCTURE=(D,<hatch_name>,'DISTANCE') |
|||
|
/STRUCTURE=(P,<hatch_name>,'PAGE') |
|||
|
/STRUCTURE=(M,<hatch_name>,'NUMBER') |
|||
|
/STRUCTURE=(N,<hatch_name>,'NSEG') |
|||
|
/STRUCTURE=(I,<hatch_name>,'ISLANDS') |
|||
|
/STRUCTURE=(X,<hatch_name>,'ENDPNT',N,1) |
|||
|
/STRUCTURE=(Y,<hatch_name>,'AMPLITUDE',2,'Y'); |
|||