Skip to content

Repair Open Polylines

Closes open polylines by connecting their start and end points with a straight segment.

Repair Open Polylines dialog showing detected zero-width polylines and available repair options

When to Use

  • After importing files with broken geometry
  • When the broken polyline highlighting reveals open paths
  • Before boolean operations that require closed polygons

Options

OptionDescriptionDefault
Maximum gapOnly close polylines with a gap smaller than this valueUnlimited
Selected layers onlyApply to selected layers instead of allOff

How It Works

For each open polyline (where the first and last vertices don’t coincide):

  1. If the gap between endpoints is within the maximum gap tolerance, a closing segment is added
  2. If the gap exceeds the tolerance, the polyline is left open

Technical Notes

  • Use the maximum gap option to avoid closing intentionally open paths
  • This tool does not merge separate polylines — use Join Polylines for that
  • Run Highlight Broken Polylines first to identify problem areas