Optically

Description

A plugin for automated and mathematically precise optical adjustments in Sketch.

Optically makes it easy to align layers to visual centers, align edges with overshooting and scale layers to the same size.

Installation

Unzip the package and double click the Optically.sketchplugin file. The plugin will be installed to the default Sketch Plugins folder and will appear in Plugins tab in Preferences.

Sketch may need to be restarted for the changes to take effect.

Usage

Optically commands are available through Plugins > Optically menu in Sketch.

Align Horizontally to Centroid and Align Horizontally to Centroid move selected layers to their respective geometric center in either horizontal or vertical direction.

Overshoot Left, Overshoot Right, Overshoot Top and Overshoot Bottom offset selected layers to have the same overshooting areas on the left, right, top or bottom side respectively.

Make Same Size scales selected layers to the same weight (area) as the bottommost layer.

Some practical examples:

Please note that negative space should be considered when aligning. Otherwise, it may lead to inconsistent results. In the example above, boolean operations on some shapes were temporarily switched from Subtract to Union before aligning to centroids.