Simple plugin for Sketch to rotate the orientation of selected artboards.
Akin to toggling between “landscape” to “portrait” orientation –- width becomes height, height becomes width.
Exactly the same as manually doing the following:
- selecting an artboard
- changing the value of the width to be the value of the height, and changing the height to be the value of the width
How To Use
- Select one or more artboards
- Run the plugin
Usage Notes
- The plugin will disregard selected items that are not artboards.
- If no elements are selected, the plugin will simply do nothing.
- There is basic logging (to the Sketch plugin console) for each artboard rotated.
Keyboard Shortcuts
None Assigned.
Known Issues
Artboard Overlap
Currently, an artboard might be rotated and end up overlapping another artboard on the document.
Solution is to manually move the overlapping artboard(s) so that they do not overlap.
Installation
Install Manually
- Download the ZIP file and unzip (double clicking should do this automatically).
- In a new Finder window, navigate to Users/[YOUR USERNAME]/Library/Application Support/com.bohemiancoding.sketch3/Plugins. From the terminal, this is
~/Library/Application Support/com.bohemiancoding.sketch3/Plugins.
You can also get to this directory from within Sketch: Sketch > Preferences > Plugins. Using the tiny gear menu, select “Show Plugins Folder”.
- Manually copy the unzipped plugin folder (that was just downloaded)
sketch-rotate-artboards-master
into this destination.
Have The Machines Handle Installation
- Install using Sketch Toolbox
Contributors
- mmilano # Author
Change Log
v1.0.2: 2017-09-18
- Updated to support Sketch’s built-in (and unsatisfactorily documented, in the opinion of this creator) plugin update system.
v1.0.1: 2017-02-25
- Adjust menu behavior so that main command it root (i.e. no need for a redundant submenu)
- Cleanup of some vestigal code.
v1.0: 2017-02-21
- Initial release
License
Apache License