KufCad

OVERKILL — Delete duplicates, FLATTEN

Ribbon: Draw ▸ Modify ▸ slide-out ▸ Delete DuplicatesCommand: OVERKILL DELDUPLICATES FLATTENAlias: OV

OVERKILL deletes objects that duplicate each other and merges overlapping or end-to-end collinear lines and arcs. Use it to clean a drawing imported from elsewhere, where the same stroke is often drawn two or three times.

Delete Duplicates button
Figure 6.77 — The Delete Duplicates button 1 is in the slide-out part of the Modify panel. Typing OVERKILL or DELDUPLICATES opens the same dialog.

Removing duplicates

  1. Select the objects to clean (usually the whole drawing: Ctrl+A). For all the ways to select objects (window, crossing, lasso, fence, ALL…) see chapter 2.
  2. Click Delete Duplicates (or type OV, Enter). The Delete Duplicate Objects (OVERKILL) dialog opens 1.
  3. Adjust the settings (see below) and click OK. The command line reports how many objects were removed or merged, for example OVERKILL: removed 3 duplicate/merged object(s).
The OVERKILL dialog
Figure 6.78 — The Delete Duplicate Objects dialog: tolerance, the properties ignored when comparing, and the two merge options.
SettingMeaning
ToleranceAllowed error when comparing coordinates; 0 means they must coincide exactly.
Ignore object propertyTick Color, Layer, Lineweight, Linetype to ignore that property when comparing two objects.
OVERLAPMerge collinear lines and arcs that partly overlap into one.
END to ENDMerge collinear objects that meet end to end into one.
BeforeThree overlapping lines
→
AfterOne line left
Figure 6.79 — Two identical lines and a short one lying wholly on top of them. After OVERKILL only one line remains; clicking 1 shows grips at the two ends and the midpoint only.

FLATTEN — squash onto the plane Z = 0

Select objects, then type FLATTEN, Enter: every Z coordinate of the selected objects is set to 0. The command line reports FLATTEN: n object(s) flattened to Z = 0. Useful for 2D drawings imported from sources with stray elevations.

Notes

  • Each run of OVERKILL or FLATTEN is one undo step.