I wrote a free Illustrator script that lets you rotate objects around any X/Y point you type in, instead of eyeballing the centre point with the Rotate tool. It has live preview, units, and copy-and-repeat. Jump to the download.
I came up with it while designing a pattern for the lid of a wooden bench I’m building. I wanted a set of shapes rotated around one exact point, and I was frustrated by how little control Illustrator’s Rotate dialog gives you over that point. So, I asked Claude to write a small script, and a few rounds of tweaking later I had what I needed.
What it does
- Custom centre of rotation: type an X and Y, or use the “Selection centre” and “Artboard centre” buttons.
- Artboard or document coordinates: artboard mode matches the Transform panel (origin top-left, Y down).
- Units: pt, px, mm, cm, in or pica. It starts on your current ruler unit.
- Live preview: see the result before clicking OK.
- Copy and Repeat: make a set number of rotated copies in one go.
- Remembers your last settings: the dialog reopens with your last angle, repeat count and Copy setting. In the same document it also restores your centre point.
- Arrow keys: Up and Down nudge the angle, X, Y and Repeat fields. Hold Shift for bigger steps, Alt/Option for finer ones.

The Bench Design
For this design I used Copy and Repeat: 45° steps, repeated seven times, all around the same centre point. Doing that by hand with the Rotate tool would have taken forever, and the point would never have been exact.

I exported the design as an EPS file because VCarve doesn’t take .ai files, imported it into VCarve, and previewed the toolpaths:

I felt delighted as the CNC router carved my perfectly rotated design into the lid of the hallway bench:

The design’s visibility drastically improved after staining, though I’m not too happy with how the stain looks on the alder wood I’m using. I’d probably use more expensive wood next time.

Download
Get your copy from the GitHub gist. It’s free to use and modify. (There is an embedded copy of the code after the jump).
Continue reading “Rotate on a Specific Point – Illustrator Script”








