

2 (positive value) and the gap is shown as -.2 (negative value) unit. The last two characters .2,-.2 are for the length of the line segment and gap length. 2.2 are for the starting point on the next set of the horizontal line with respect to the origin set for the first point. In this case 0,0 is not the absolute coordinate rather its an origin assigned by hatch pattern for that particular pattern only.

The second and third characters 0,0 are coordinates of the starting points of the horizontal line. Here the first character 0 is for the angle which is 0 degrees which makes the line horizontal. The line 2 is for the Red line shown in this image. So, essentially the hatch code should start with star sign then name and then description all separated by a comma. Then we have a description for the hatch separated by a comma. In this line, the hatch code starts with a star sign followed by the name of the hatch in uppercase.

Line 1: *TESTHATCH, Our test hatch with the staircase effect In this case, line 1 will determine name and description of hatch pattern, line 2 is for the horizontal segment of the hatch and line 3 is for the vertical segment. The complete code has three lines with characters in each line separated with commas.Įvery set of character inside comma has its own meaning and all of these lines will add up to make the complete pattern. Now, let’s move back to the Hatch code which I just showed you above. Let’s deconstruct these lines and to simplify this I have colored the horizontal segment Red and vertical one Green. In this case, you need to save the file as TESTHATCH.PAT, if you keep a different name for the PAT file then the custom hatch pattern will not work. After adding these lines in the text editor save it as a PAT file using the same name defined in line 1 of this code. These lines will actually make the pattern which you see in the image above.
