What does REGION do?
REGION converts closed planar geometry into a 2D region object. A region represents the area enclosed by its boundary rather than only the individual lines or curves around it. Regions are useful for area calculations, Boolean operations and preparing closed profiles for further 3D modelling operations.
How to use the command
- Make sure the selected geometry forms a completely closed and planar boundary.
- Type
REGIONor its shortcut REG, then press Enter. - Select the closed polyline, circle or collection of connected objects that should become a region.
- Select additional closed boundaries if several regions should be created at the same time.
- Press Enter to complete the conversion.
- GstarCAD creates a separate region for each valid closed loop.
Command: REG ↵
Select objects: select closed boundary
Select objects: Enter
Key REGION behaviour
The selected objects must form valid closed planar loops before they can be converted successfully.
Practical example: convert a profile for modelling
Suppose a mechanical profile is drawn as a closed polyline measuring 100 mm by 60 mm. Start REGION, select the closed profile and press Enter. GstarCAD converts the boundary into a region object. The region can then be used in operations such as UNION, SUBTRACT or as a closed profile in a later 3D modelling workflow.
Tip
If existing geometry visually encloses an area but is difficult to convert directly with REGION, try BOUNDARY. It can detect an enclosed area from an internal point and create a region automatically.
Important
A boundary that only appears closed may still contain small gaps, overlapping segments or self-intersections. Check the geometry carefully if REGION cannot create the expected result.