GstarCAD command

UNION command

Combine multiple 3D solids, surfaces or 2D regions into a single composite object.

Command
UNION
Alias
UNI
Tool group
3D
Level
Beginner

What does UNION do?

UNION combines two or more 3D solids, surfaces or 2D regions into a single composite object. It is one of the main Boolean modelling commands and is commonly used to build complex shapes from simpler geometry.

When 3D solids are combined, the resulting solid contains the total volume of the selected objects. Regions can also be joined when they form compatible coplanar geometry.

How to use the command

  1. Create or position the objects that you want to combine.
  2. Type UNION or its shortcut UNI, then press Enter.
  3. Select the 3D solids, surfaces or regions that should be combined.
  4. Press Enter to complete the selection.
  5. GstarCAD creates the resulting composite object.
Command: UNI ↵
Select objects: select first solid
Select objects: select second solid ↵

Key UNION options

UNION has no additional command-line options. The result depends mainly on the type of geometry selected.

3D solids
Combines selected solid volumes into a composite 3D solid.
Surfaces
Combines compatible surfaces, although using UNION on surfaces may cause them to lose associativity.
2D regions
Combines compatible coplanar regions into larger composite regions.
Mesh objects
Cannot be unioned directly. GstarCAD can prompt you to convert meshes into solids or surfaces first.

Practical example: combine two overlapping solids

Suppose you have a rectangular solid measuring 100 × 60 × 20 mm and a cylindrical solid that passes partly through its top surface. You want both objects to become one continuous component.

Run UNION, select the rectangular solid and the cylinder, then press Enter. GstarCAD combines their volumes into a single 3D solid. The resulting object can then be modified as one body using commands such as FILLETEDGE, CHAMFEREDGE or SLICE.

Tip

Remember the three main Boolean operations: UNION adds volumes together, SUBTRACT removes one volume from another, and INTERSECT keeps only their overlapping volume.

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.