Repository navigation
Hatches and Fills
A hatch fills a closed area with a pattern, a solid colour or a gradient. Section cuts, materials, ground, zones on a plan: all are hatches.
HATCH (H) and
GRADIENT (GD) open the Hatch panel.
| Method | How | |
|---|---|---|
| Pick internal points | Click inside an area enclosed by objects. The boundary is found for you, holes included. | |
| Select objects | Pick closed objects (polylines, circles, regions) to use as the boundary. | |
| Draw boundary | Click the corners of a boundary that does not exist yet. |
Gap tolerance lets Pick internal points close small gaps in the boundary (HPGAPTOL). If no area is found, zoom in on the gap or raise the tolerance.
Islands are closed areas inside the boundary:
| Style | Result |
|---|---|
| Normal | Fills from the outside in, alternating: the first island is left empty, an island inside it is filled again, and so on. |
| Outer | Fills only the outermost area; every island is left empty. |
| Ignore | Fills everything inside the outer boundary. |
| Type | Settings | |
|---|---|---|
| Pattern | A named pattern from the pattern list, with angle and scale. | |
| User defined | Parallel lines at a spacing and angle you give; Double crosses them at 90°. | |
| Solid | A solid colour. | |
| Gradient | A blend of one or two colours. |
The gradient shapes:
linear ·
cylindrical ·
curved ·
spherical ·
hemispherical, each also inverted.
Every hatch can also have its own colour, background colour, layer and transparency.
| Option | Effect |
|---|---|
| Associative | The hatch follows its boundary: stretch or move the boundary and the hatch updates. |
| Create separate hatches | Each area you pick becomes its own hatch instead of one hatch with several areas. |
| Keep boundaries | Saves the boundary that was found as a polyline. |
| Annotative | The pattern keeps its printed size at every annotation scale; see Annotation Scaling. |
| Origin | Where the pattern starts, so bricks or tiles line up with an edge. |
| Draw order | Puts the hatch behind or in front of its boundary or of everything else. |
Double-click a hatch, or use
HATCHEDIT (HE), to change its pattern, scale, angle, origin and other settings. The grips of a hatch move its boundary points and its origin. TRIM works on hatches as well: trimming a hatch with a line cuts away part of its area.
HATCHTOBACK (HB) sends every hatch in the drawing behind the other objects.
You can add your own hatch patterns in the standard .pat format. Put the .pat files in either of these folders and restart the program:
- the
patternsfolder inside your settings folder, for example%APPDATA%\OpenCADStudio\patternson Windows (see Installation for the other systems; create the folder if it does not exist); - the folder set under Options › Files › Support files.
Every pattern in those files then appears in the pattern list next to the built-in ones. A file can hold any number of patterns. Each pattern starts with a header line and continues with one line per line family:
*MYGRID, 10 x 10 grid with dashes
0, 0,0, 0,10, 6,-4
90, 0,0, 0,10, 6,-4
Each family line is angle, x-origin, y-origin, x-offset, y-offset followed by dash lengths: positive numbers are dashes, negative numbers are gaps, and no dash list means a solid line.
The same support folders take your own linetypes (.lin files, in a linetypes folder); see Layers and Object Properties.
Open CAD Studio is free software under the GPL-3.0 licence · Source code · Download · Web app · Discussions
Get started
- Installation
- Your First Drawing
- Tutorials
- The User Interface
- Ribbon Reference
- Workspaces and Toolbars
- Navigating the Drawing
Draw and edit
- Drawing Setup and Units
- Precision Drawing
- Isometric Drafting
- Drawing Objects
- Multilines
- Selecting Objects
- Modifying Objects
- Hatches and Fills
- Layers and Properties
Annotate
Organise and reuse
Present and share
3D
Tools
Reference