So I created a simple hexagon using the polygon tool. When applying a 30° (360 / 6 / 2) rotation (to change its orientation) the anchor points are off by something what looks like a floating point rounding error.

So my question is, how do I rotate objects perfectly, so that the anchor points align with the grid again?

Steps to reproduce:

  1. Create a hexagon (Polygon tool, 6 sides, 100 px radius)
  2. Rotate it by 30° (Shift+F8)
  3. Enable the grid and zoom in. The top and bottom anchor point will be noticeably off.

A rotation of 29.9° is actually closer to the desired result than 30°.

top bottom

  • Possible fix: choosing the center/center reference point, before applying the transformation.
    – buschtoens
    Commented May 18, 2014 at 23:11
  • 3
    Disable Align to Pixel Grid if it is active. Read this . . .
    – Scott
    Commented May 18, 2014 at 23:50
  • It already is disabled. I am pretty certain that this is an inherent "bug" caused by the internal maths.
    – buschtoens
    Commented May 19, 2014 at 0:50
  • I'm not seeing any discrepancy. How are you rotating?
    – Scott
    Commented May 19, 2014 at 0:52
  • I've added images and steps to reproduce. As you can see, alignment to the pixel grid would in fact solve the problem. Therefore the link to "How do I stop Illustrator from snapping to pixel increments?" is not correct.
    – buschtoens
    Commented May 19, 2014 at 1:37

1 Answer 1


Going along with Scotts comment above, you would have to enable your grid and set your grid settings before creating your shapes, and thus transforming using the rotate tool.

NOTE: Do not accept this as an answer, all credit is due to Scott. I was unable to comment due to low reputation

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.