GstarCAD command

HATCH command

Command
HATCH
Alias
H
Tool group
Draw
Level
Beginner

What does HATCH do?

HATCH fills an enclosed area with a hatch pattern, solid fill or gradient. Hatching is commonly used to represent materials, sectioned components, walls, floors and other areas that need to be visually distinguished. You can choose a predefined pattern and control its scale and angle to match the required drawing appearance.

How to use the command

  1. Type HATCH or its shortcut H, then press Enter.
  2. Choose the required hatch pattern from the available patterns.
  3. Set the pattern Scale and Angle as required.
  4. Choose Pick Points and click inside the closed area that you want to hatch, or select the objects that define the boundary.
  5. Preview the result and adjust the settings if necessary.
  6. Confirm the hatch to finish the command.
Command: H ↵
Pattern: ANSI31
Scale: 50
Angle: 0
Boundary: Pick Points
Select internal point: click inside closed area
Hatch: confirm

Key HATCH options

The main settings control the appearance of the hatch and determine which area will be filled.

Pattern
Selects the predefined hatch pattern used to fill the enclosed area.
Scale
Controls the size and spacing of the selected hatch pattern. Increase the value for wider spacing or reduce it for a denser pattern.
Angle
Rotates the hatch pattern relative to the X axis of the current coordinate system.
Pick Points
Detects a closed boundary around a point selected inside the area that you want to hatch.
Island detection
Controls how enclosed areas inside the main hatch boundary are treated when creating the hatch.

Practical example: hatch a concrete wall section

Suppose a closed wall section is 300 mm thick and needs a material hatch for a construction detail. Start HATCH, choose a suitable concrete or section pattern and set an appropriate scale for the drawing. Choose Pick Points and click inside the closed wall area. GstarCAD detects the surrounding boundary and fills it with the selected pattern. If the hatch appears too dense or too widely spaced, adjust the Scale until the pattern is clearly readable.

Tip

If a hatch pattern looks almost solid or is difficult to see, check its Scale first. The correct scale depends on the pattern, drawing units and size of the area being hatched.

Important

HATCH requires a valid boundary around the area being filled. If GstarCAD cannot detect the required area, check the surrounding geometry for gaps or use boundary tools to create a suitable closed boundary.

All commands Updated 24 September 2026
Continue learning
View all commands

Ready to switch to GstarCAD?

Get personalized advice on licensing, migration, and deployment for your business.

Contact us Buy now

No obligation — reply within 24h

Your Cart

Subtotal

Price does not include local taxes or duties.

Proceed to Checkout

Cookie preferences

Choose which cookies you want to allow. Essential and payment cookies cannot be disabled as they are required for the site to function.

Essential

Required

Core functionality including authentication, shopping cart, and language preferences.

Payment

Required

Required for processing payments securely through Stripe and PayPal.

Analytics

Help us understand how visitors interact with our site to improve the experience.

Marketing

Used to deliver relevant advertisements and measure campaign performance.

Functional

Order attribution and traffic source tracking to help us understand how customers find our store.