Smart Rotate
Script for Adobe Illustrator
ㅤ
Description
Smart Rotate is a powerful Adobe Illustrator script that provides an enhanced rotation interface with real-time preview capabilities. This script offers precision control over object rotation with an intuitive slider-based interface, multiple reference point options, and advanced features for handling grouped objects and compound paths.
ㅤ
Key Features
- Interactive Angle Control: Dual input system with both slider and text input (range: -180° to 180°).
- Real-time Preview: Live preview of rotation changes as you adjust settings.
- 9-Point Reference System: Choose from 9 different reference points for rotation anchor.
- Group Item Control: Option to rotate individual items within groups.
- Compound Path Support: Rotate individual path items within compound paths.
- Zoom to Selection: Built-in zoom feature to focus on selected objects.
- Hide Edges Toggle: Option to hide object edges for cleaner preview.
- Settings Persistence: Automatically saves and restores your preferred settings.
ㅤ
Installation
1. Download the Smart Rotate.jsx file.
2. Place it in your Adobe Illustrator Scripts folder:
⮑ Mac: /Applications/Adobe Illustrator <Version>/Presets/<Language>/Scripts
⮑ Windows: C:\Program Files\Adobe\Adobe Illustrator <Version>\Presets\<Language>\Scripts
3. Restart Adobe Illustrator if it's already running.
ㅤ
Getting Started
- Open Adobe Illustrator and create or open a document.
- Select the objects you want to rotate (single objects, multiple objects, or groups).
- Run the script from File > Scripts > Smart Rotate.
ㅤ
Using the Script
ㅤ

ㅤ
ㅤ
➊ Setting the Rotation Angle
ㅤ
Method 1: Using the Slider
- Drag the horizontal slider to adjust the angle from -180° to 180°.
- The angle updates in real-time in the text field.
- Small increments: Click the slider arrows (1° steps).
- Large increments: Click in the slider bar (5° steps).
ㅤ
Method 2: Direct Text Input
- Click in the angle input field and type your desired angle.
- Press Enter to apply the value.
- Use Up/Down arrow keys for fine adjustments (±1°).
- Hold Shift + Up/Down arrows for larger adjustments (±10°).
ㅤ
ㅤ
➋ Choosing Reference Point
ㅤ
The reference point determines the pivot point for rotation:
- Top Row: Top Left, Top Center, Top Right.
- Middle Row: Middle Left, Center, Middle Right.
- Bottom Row: Bottom Left, Bottom Center, Bottom Right.
ㅤ
To select a reference point:
- Click on any of the 9 radio buttons in the Reference Point panel.
- The selected point will be highlighted.
- Hover over buttons to see directional hints (arrows and symbols).
ㅤ
ㅤ
➌ Advanced Options
ㅤ
Rotate Individual Group Items
- Check this box to rotate each item within groups separately.
- When unchecked, groups rotate as a single unit.
- Useful for creating complex rotation effects within grouped objects.
ㅤ
Rotate Compound Path Items
- Check this box to rotate individual path items within compound paths.
- When unchecked, compound paths rotate as a single unit.
- Helpful for detailed control over complex path objects.
ㅤ
Preview
- Toggle real-time preview on/off.
- When enabled, changes are shown immediately as you adjust settings.
- Disable for better performance with complex artwork.
ㅤ
Hide Edges
- Toggle visibility of object edges/paths.
- Useful for cleaner preview without distracting outlines.
- Executes Illustrator's standard edge toggle command.
ㅤ
ㅤ
➍ Navigation and View Controls
ㅤ
Applying Changes
- Ensure "Preview" is checked.
- Adjust settings and see changes in real-time.
- Click "Apply" when satisfied with the result.
ㅤ
Cancel Operation
- Click "Cancel" to exit without applying changes.
- If preview was active, all changes will be automatically undone.
ㅤ
Zoom to Selection Button (✚)
- Click to automatically zoom and center the view on selected objects.
- Zoom level set to 85% for optimal viewing.
- Helpful when working with small objects or detailed artwork.
ㅤ
User Guide: Available through the script's help icon (⏼).
ㅤ
ㅤ
☻ Conclusion
Smart Rotate transforms the way you work with object rotation in Adobe Illustrator by providing an intuitive, preview-driven interface that goes far beyond the standard transform tools.
With its combination of precise controls, real-time feedback, and advanced options for handling complex objects, this script streamlines your workflow whether you're making subtle adjustments or exploring bold creative rotations.
ㅤ
ㅤ