What is Overlap?
In the Rhino WIP, we’ve added the Overlap command. It’s designed to help you clean up messy 2D drawings by finding and selecting duplicate and overlapping linework within a user-defined distance.
In previous versions of Rhino, the SelDup command would only detect exact copies. If the geometry was slightly overlapping or had different attributes, the SelDup would not be of help. Overlap bypasses these limitations.
*NOTE: Overlap does not work with surfaces & solids.
Why is Overlap Useful?
Duplicate/stacked linework is a common problem and can cause:
- Selection/edition headaches (you think you grabbed one line, but it’s actually several)
- Larger/heavier files and slower downstream operations
- Incorrect toolpaths (multiple passes over the same segment)
- Bad laser/plasma results (extra burn time, overcutting, inconsistent kerf)
Overlap targets these issues directly, especially in “2D production” pipelines.
How the Command Works
The commands we’ve included are:
Overlap
Try it:
- Download and open OverlapTest2.3dm (93.0 KB) in the Rhino WIP.
- Run the
Overlapcommand. - Set an
OverlapDistance(start with a default 0.001 “overlapping” tolerance). - Choose a
Modeand selectSegments. - Choose a
Deleteoption (SelectorDelete) - Optionally, set
Filters(these control which objects are compared). - Press Enter to select or delete overlapped linework.
Overlap Distance
Use this tolerance to define how strictly linework must coincide to be considered duplicates/overlapping:
- Smaller tolerance = stricter matching (safer, but may miss near-duplicates)
- Larger tolerance = more aggressive cleanup (may merge/select things you intended to keep)
Two Operating Modes
1) WholeCurves Mode
Best when duplicates are truly duplicated linework.
- Only selects entire linework that is completely overlapped by other linework (within tolerance)
- Great for stacked linework coming from imports or scripts
Typical results: Selects exact (or near) duplicate linework without changing remaining ones.
2) Segments Mode
Best for partially duplicated linework and “overdrawn” drawings.
- Can select sub-sections of linework that are partially overlapped
- Allows selection of portions of polylines & lines (not just whole objects)
Typical results: Cleans up partially redundant linework where only part of the geometry is duplicated.
Filtering Options (control what gets compared)
Overlap includes Filters, so you can decide whether linework is considered “the same” only when certain attributes match:
Locked| Ignore (Off), Participate (works with other filters), or Exclusive (this filter only)Color| Ignore or OnPrintColor| Ignore or OnLayer| Ignore or OnLinetype| Ignore or OnLinetypeScale| Ignore or OnPrintWeight| Ignore or On
NOTE: Filters are set to Ignore by default. Below, the image depicts Segments Mode, OverlapDistance = 0.1, and Locked=Participate.
Why filters matter
These options let you:
- Preserve layer structure (only compare within the same layer)
- Or Selectively compare geometry based on attributes (useful in imported files where duplicates may be split across layers/colors)
Example filter-based workflows:
- Imported PDF linework where duplicates exist on multiple layers → compare across layers by disabling the
Layerfilter. - Fabrication drawing where layer naming is meaningful → enable
Layerfilter so cleanup doesn’t cross-contaminate organization.
Common Overlap Use Cases
- Cleaning up imported PDF/DWG linework with stacked duplicates
- Reducing “mystery doubles” before joining curves, offsetting, or generating hatches
- Fixing output from scripts that generate duplicate linework
- Preparing geometry for laser cutting, CNC, plotting, or other toolpath workflows
Tips for Best Results
- Switch to a clear 2D view that represents the projection you want cleaned (since it works from the current camera projection and linework is initially projected to the current CPlane). If any linework is stacked in 3D, DO NOT use the Perspective viewport.
- Start with a small tolerance (e.g. the 0.001 default), preview results, then increase if needed.
- If your file is organized (layers/colors), use
filtersto prevent unintended cross-comparisons. - For partially duplicated linework, try
Segmentsmode first; for obvious stacked duplicates, useWholeCurvesmode.
Try Out Overlap!
- Download the Rhino WIP
- Test file: OverlapTest2.3dm (83.0 KB)




