[Search tip detail and code files using keywords, tip number, author name, etc ]
    For tip to function correctly, you must ensure that the downloaded file name matches the file name
    displayed in the Rename File To field. Please rename downloaded files when necessary.
Hatch Creator
Tip# 4138 By Raymond Rizkallah On 19-Jun-2013
Rated By 1 users Downloaded : 863
Categories : Create/Use Hatch Patterns
Software type : AutoCAD 2014
Rename File To : MATRIX (Hatch Creator).lsp
Generate hatch patterns on the fly.

Frequent contributor Raymond Rizkallah sends us a unique AutoCAD routine that can generate hatch patterns on the fly. Before you get started, you will need to plan what you want the pattern to look like, such as the spacing of the lines and how many angles you will need.

To get started, load the LISP file, then type in the command Matrix. At the first prompt, enter a string such as "0.5 0.2 0.1," designating the distances between the lines. Next, enter the angle for those lines. You can repeat these steps multiple times for each set of lines you need in the pattern. When you are done, use the zero (0) key to end and the Hatch command will be initiated, ready to place your new pattern.

Raymond has also provided a depiction of sample hatch patterns created with this routine:


Average Rating:

User comments