Skip to content

Force Clockwise

Normalizes the vertex winding order of all polygons to clockwise.

When to Use

  • When target formats require a specific winding order
  • Before boolean operations that depend on consistent winding
  • To fix polygons with mixed winding orders from import

Options

Option Description Default
Direction Clockwise or Counter-clockwise Clockwise
Selected layers only Apply to selected layers instead of all Off

How It Works

For each polygon, the tool calculates the signed area:

  • Positive signed area = counter-clockwise winding
  • Negative signed area = clockwise winding

Polygons with the wrong winding order have their vertex sequence reversed.

Technical Notes

  • Winding order determines which side of a polygon is "inside" in some formats
  • GDSII convention is clockwise for outer boundaries
  • This operation does not change the visual appearance of the geometry