Skip to content

Align to Grid

Snaps all polygon vertices to the nearest point on a regular grid.

When to Use

  • To fix off-grid geometry from floating-point rounding during format conversion
  • When the target fabrication process requires grid-aligned coordinates
  • To enforce a minimum coordinate resolution

Options

Option Description Default
Grid size Grid spacing 1.0
Grid units Units for the grid spacing Database units

How It Works

Each vertex coordinate is rounded to the nearest multiple of the grid size:

  • Aligned X = round(X / grid) × grid
  • Aligned Y = round(Y / grid) × grid

Technical Notes

  • Grid alignment may create zero-length edges or degenerate polygons — run Sanitize Polygons afterward
  • Small grid sizes preserve more detail; large grid sizes enforce stricter alignment
  • This operation modifies all geometry in the drawing