Creates a hatch pattern from a selection set of objects. The objects can be circles, ellipses, lines, points, polylines, mlines, or splines.
Keyboard Command: HatPatGen
Procedure:
- Begin a new empty drawing.
- Zoom to a window from 0,0 to 1,1.
- Set your SNAP spacing to 0.01.
- Draw your objects (inside the 1x1 square).
- Issue the command.
- Select your objects.
- Designate the filename for the output PAT file.
- Specify the New Base Point.
- Specify the New Reference Point.
- Select Hatchs to be aligned, multiple Hatchs can be selected.
Notes:
- The geometry to form the pattern must be contained within a bounding box from 0,0 to 1,1.
- Hatch pattern definitions do not provide for multiple colors, all segments will be controlled by the resulting hatch object color.
- While the routine support numerous object types, the hatch pattern is composed of vectors with limits. To achieve this, the tool determines vectors along the object and rounds the coordinates to 2 decimal places. This can cause some objects (like circles) to look choppy. To acheive results that closely match your content, consider tracing these types of objects with a polyline while the snap (step 3 above) is on.
- The contents of this pattern file can be place in the support file search path and used by itself, or it can be integrated into the ACAD.PAT. Technical details on this procedure is documented at our website under AutoCAD, Hatch Patterns.