What does TRIM do?
TRIM removes unwanted portions of drawing objects by cutting them back to one or more boundary edges. It is commonly used to clean up intersecting geometry, shorten construction lines and finish corners without manually redrawing objects. In GstarCAD, the command can trim objects such as lines, arcs, circles, unclosed polylines and rays.
How to use the command
- Type
TRIMor its shortcut TR, then press Enter. - Select one or more objects to use as cutting edges, then press Enter. You can also press Enter immediately to use all suitable objects as boundaries.
- Select the portion of the object that you want to remove.
- Continue selecting additional portions if required, then press Enter to finish.
Command: TR ↵
Select objects or <select all>: select cutting edge ↵
Select object to trim or shift-select to extend: select unwanted segment ↵
Select object to trim or shift-select to extend: Enter
Key TRIM options
These options help you work faster when several objects need to be edited.
Practical example: clean up a wall intersection
Suppose a horizontal wall line is 4250 mm long but should stop at a vertical wall boundary at 4000 mm. Start TRIM, select the vertical wall line as the cutting edge and press Enter. Then click the 250 mm portion of the horizontal line that extends past the boundary. GstarCAD removes the excess segment while keeping the remaining wall line ending exactly at the selected boundary.
Tip
When working in a complex drawing, select only the cutting edges you actually need instead of using every object as a boundary. You can also hold Shift while trimming to temporarily switch to extending.