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
- Create or position the objects that you want to combine.
- Type
UNIONor its shortcut UNI, then press Enter. - Select the 3D solids, surfaces or regions that should be combined.
- Press Enter to complete the selection.
- 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.
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.