Stratal CAD

Editing hatches and gradient fills

Help centre · Drawing and editing

HATCHEDIT changes an existing hatch's pattern, scale, angle, origin, gradient, islands and boundary loops. This article also explains gradient fills and how hatches behave when edited.

Before you start

Steps: quick changes

  1. Click inside a hatch (or on its edge) to select it.
  2. In the Properties panel change its pattern, scale, angle or spacing. The panel also shows its area and whether it is associative.

Steps: HATCHEDIT

  1. Click Home > Modify > HATCHEDIT (in the split button with SPLINEDIT) or type HATCHEDIT (HE), and pick a hatch (or select one first).
  2. At "Enter an option [Pattern/Scale/ANgle/Origin/Gradient/ADd/Remove/Islands/DIsassociate/Exit] <Exit>" choose what to change. You can change several things in one run.
  3. Press Enter to finish. The whole edit is one undo step; each change is checked first.

Options

Option What it does
Pattern A built-in pattern or one from a .pat file.
Scale / ANgle The pattern scale and angle.
Origin "Specify the pattern origin": where the pattern starts, for example a brick course at a wall corner.
Gradient Changes or adds a gradient fill (see below).
ADd "Pick an internal point of an area to add (Enter when done)": adds loops.
Remove "Pick a boundary loop to remove (Enter when done)": removes a loop; the last one stays.
Islands Normal, Outer or Ignore.
DIsassociate The hatch stops following its boundary objects.

Gradient fills

At HATCH's or HATCHEDIT's Gradient option:

  1. Choose a kind at "Enter gradient [Linear/Cylinder/INVCylinder/Spherical/INVSpherical/Hemispherical/INVHemispherical/CUrved/INVCUrved/Off/ONe colour/TWo colours]".
  2. Enter the first colour (#RRGGBB or a name such as blue or white) and the second colour. With ONe colour, give "the shade (0, black) to tint (1, white) of the colour" instead; 0.5 is the colour itself.
  3. "Specify the gradient angle or [Centred/Shifted]": the angle, or Centred / Shifted (towards the top left).
  4. Off goes back to a pattern.

Gradients show smoothly on screen, in layouts and in exported images. PDF plots show them as 64 bands of solid colour, each through the plot style's pen. DXF export writes gradient hatches in newer DXF versions and solid fills in DXF 2000 files. DXF import reads gradients, the island style and the line definitions of patterns Stratal CAD does not have, so they draw as in the file.

How hatches behave when edited

Example

A floor hatch of a room must leave out a new 400 × 400 mm column. Draw the column as a closed polyline. If the hatch is associative and the column touches no boundary object, run HATCHEDIT, choose Remove and click the room's loop, then ADd and click inside the room again: the new boundary is found with the column as an island. Set Islands to Normal if the column is still filled.

Tips and common mistakes

Troubleshooting

Message or symptom What it means and what to do
"Not changed: the pattern would be too dense to draw (about N lines); ..." Raise the scale or spacing.
"A hatch keeps at least one loop; erase it to remove it all." Erase the hatch instead.
"No boundary loop of the hatch there." Click on or inside a loop of the selected hatch.
"The hatch is not associative." It already does not follow its boundary.
"Type a colour as #RRGGBB or a name such as blue or white." Retype the colour.
"The shade or tint must be from 0 (black) to 1 (white)." Type a value from 0 to 1.

Related

Related

Still stuck? Open a support ticket or use Help, then Contact support in Stratal CAD.