GstarCAD command

SUBTRACT command

Remove the volume or area of selected solids, surfaces or regions from another object using a Boolean subtraction.

Command
SUBTRACT
Alias
SU
Tool group
3D
Level
Beginner

What does SUBTRACT do?

SUBTRACT removes the volume or area of one set of objects from another. It is one of the main Boolean modelling commands and is commonly used to create holes, recesses, slots and other cut-outs in 3D solids.

The command can also work with coplanar 2D regions. The order of selection is important: first select the objects you want to keep, then select the objects that should be subtracted.

How to use the command

  1. Position the objects so that the geometry to be removed overlaps the object you want to keep.
  2. Type SUBTRACT or its shortcut SU, then press Enter.
  3. Select the solids, surfaces or regions that you want to keep and press Enter.
  4. Select the objects that should be subtracted.
  5. Press Enter to complete the Boolean operation.
Command: SU ↵
Select objects: select solid to keep ↵
Select solids, surfaces, and regions to subtract: select cutting solid ↵

Key SUBTRACT options

SUBTRACT has no additional command-line options. The result is determined by the two selection sets and the geometry they contain.

Objects to keep
The first selection set defines the solids or regions from which material will be removed.
Objects to subtract
The second selection set defines the geometry whose overlapping volume or area will be removed.
3D solids
Removes the overlapping volume of one or more solids from the solids in the first selection set.
2D regions
Subtracts overlapping areas from coplanar region objects.
Mesh objects
Cannot be subtracted directly and must first be converted to solids or surfaces.

Practical example: create a hole through a solid

Suppose you have a rectangular solid measuring 100 × 60 × 20 mm and need a hole with a diameter of 20 mm. Create a cylinder with a diameter of 20 mm that passes completely through the plate.

Run SUBTRACT, select the rectangular solid first and press Enter. Then select the cylinder and press Enter. GstarCAD removes the cylinder’s overlapping volume and leaves a circular hole through the plate.

Tip

Selection order matters. First select what you want to keep, then select what you want to remove.

All commands Updated 13 October 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.