Applying patterning/texture to areas in gCADPlus drawings such as grass and paving, is effected by the HATCH command and the settings in the entity properties box. The HATCH command can be activated in a number of ways:
- Activate the draw drop down menu and select Hatch
- Type the HATCH command at the keyboard
- Pick the Hatch icon from the Draw toolbar. It is the last item and circled in the figure below.
Tip: When you first run the HATCH command, you may be prompted to load a hatch pattern. In case your copy of a hatches.pat cannot be found, here is a link to the file supplied as part of the Imperial version of gCADPlus and here a link to the hatches.pat file for the Metric version of gCADPlus. Place the file, and any other .pat files you want to try at the top level of the Data folder under My Documents/gCADPlus
Tip: gCADPlus users commonly outline an area to be hatched by drawing a closed polyline denoting (over) the area of interest and then apply hatching to the polyline.
Tip: You may find it useful to use osnaps to accurately locate the vertices (handles) of the polyline. In order for hatching to work properly, make sure that the polyline is closed. If you forget to close the polyline when finishing up, The figure below shows that a polyline can be made closed using the Properties box.
Tip: The scale setting is important when hatching. Try and keep the scale value such that the density is les than 2.0 in the first instance - then adjust the scale up or down based on the first try.
Rectangles and hatching
The figure below shows the effect of calling the HATCH command and selecting a rectangle. In this case, the file containing the hatch patterns is called hatches.pat and is found in the gCADPlus Data folder.
Tip: You may not have the hatches.pat file. You will find either acad.pat (for use in the USA] and acadiso.pat (for use in the metric environment). The key issue is that the currently loaded hatch pattern shows in the dialog box.
Tip: It is possible to load any of the hatch pattern files that work in the AutoCAD environment. To load a different hatch patten file, click on the ellipsis box to the right of the path to the hatch pattern file.
Tip: gCADPlus is capable of using any of the hatch pattern files from the AutoCAD world. This link provides a wealth of free hatch patterns to try: http://www.cadcorner.ca/hatch.php
The figure below shows some of the hatch patterns downloaded from the above site and applied to an area denoted by a closed polyline (colored in magenta below) in an Imperial USA design by Dan Hemmerlich.
Tip: we recommend loading your favourite hatch pattern file with your template drawing to avoid having to load it each time.