Training   Course Outlines   AutoCAD – The Basics   AutoCAD – Beyond the Basics   AutoCAD – 3D Basics   On‑Site Training   Virtual Classroom Training   CAD Bytes Webinars › Tutorials

Click the subscribe button below to receive CCAD's monthly email newsletter, which includes free tutorials, discounts and our class schedule!

CCAD's AutoCAD Tutorials

Delta‑X Offset Hatch Patterns

The third and final Custom Hatch Pattern tutorial explores creating patterns consisting of offset or staggered dashed lines at a designated spacing. Make sure you have reviewed the Custom Hatch Pattern Introduction, the Continuous Line Hatch Pattern and Dashed Line Hatch Pattern tutorials.

At the beginning of this tutorial we looked at the format of a hatch pattern definition. All the hatch patterns you have created so far have used a zero Delta‑X. The next hatch pattern you will create will also be of 4" x4" floor tiles, but every other row will be offset.

*Pattern_Name, Description
Angle, X-Origin,Y-Origin, Delta‑X,Delta‑Y, [Dash Sequence.....]

Delta‑X Hatch Pattern

When creating this and any other hatch pattern, you may want to work on one Pattern Line at a time. It can also help to plan out your pattern graphically.

Delta‑X hatch pattern

In the figure above, four different Pattern Lines are illustrated in four different colors to help identify the repeating patterns. Let's start with the red lines.

The Pattern Line is dashed, with a dash length of 4" and a space of 1/2". The Delta‑Y is 4 1/2". The Delta‑X is 2 1/4 (half the total distance of the dash and space).

Creating Horizontal Pattern Lines with a Delta‑X

first step in Delta‑X hatch patternUsing Notepad or another text editor, start a new file.

The first line should read:

*4x4Tile_Offset, 4"x4" Floor Tile, Offset

Reminder: The * marks the begining of a hatch pattern. The 4x4Tile_Offset is the Pattern Name. The description is 4"x4" Floor Tile, Offset.

Add the first Pattern Line (Red):

0, 0,0, 2.25,4.5, 4.0,-0.5

The Delta‑X shifts each successive Patern Line 2.25. These lines will be the top of each tile.

Save your file to a folder on the AutoCAD Support File Search PathThe easiest way to locate a folder on the AutoCAD Support File Search Path is to execute the OPTIONS command, select the Files tab and expand the AutoCAD Support File Search Path node. with the name 4x4Tile_Offset.pat.

Begin AutoCAD and draw a closed shape and try out your new hatch pattern. Your pattern files will be displayed on the Custom tab.

second step in Delta‑X hatch patternAdd a second Pattern Line (Green).

0, 2.25,0.5, 2.25,4.5, 4.0-0.5

Again, the Delta‑X shifts each successive Pattern Line 2.25. This time, the Pattern Line begins at 2.5,0.5. This will be the bottom of each tile.

Save your library file and try out the revised hatch pattern.

Creating Vertical Pattern Lines with Delta‑X

Ok, now for the third Pattern Line (Blue). This Pattern Line will define the right edge of each tile.

third step in Delta‑X hatch pattern

Add the following third line to your pattern file:

90, 1.75,0.5, 4.5,2.25, 4.0,-5

This gets a little hairy. The origin of the third Pattern Line is set to 1.75,0.50 to align with the right edge of each tile. The Dashed pattern is comprised of a 4" dash and a 5" space (one tile plus two grout lines). The line shifts 4 1/2" inches with each successive line (one tile plus and grout line). This is the Delta‑X value. The distance between lines perpendicular to the line angle is 2.25 (the Delta‑Y).

Save your Library file and try out the revised hatch pattern.

The fourth Pattern Line (Magenta) is the same as the third, except for the origin. Add the fourth line to your file, save your Library file and try out the revised hatch pattern.

90, 2.25,0.5, 4.5,2.25, 4.0,-5

fourth step in Delta‑X hatch pattern


Once you're finished with these tutorials, please review several important points in our Custom Hatch Pattern Summary.