/sketch-rotate-artboards

sketch plugin to rotate the orientation of selected artboards

Primary LanguageJavaScriptApache License 2.0Apache-2.0

Rotate Artboard Orientation

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:

  1. selecting an artboard
  2. 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

  1. Select one or more artboards
  2. 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

  1. Download the ZIP file and unzip (double clicking should do this automatically).

  2. 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".

  3. Manually copy the unzipped plugin folder (that was just downloaded) sketch-rotate-artboards-master into this destination.

Have The Machines Handle Installation

  1. Install using Sketch Toolbox

Contributors

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