Skip to content

forestlin1212/sketch-meaxure

 
 

Repository files navigation

Sketch MeaXure

Sketch MeaXure is a re-implemention of Sketch Measure with TypeScript, uses Sketch JavaScript API.

It aims to be:

  1. More stable, not likely to break down after Sketch update.
  2. Easy to maintain.

Improvements

Improvements that users can recognize:

  1. Fully works with lastest version of Sketch (v66).
  2. The latest Tint feature support.
  3. Easily resize markers, without concerns to break them. (The resizing constrain feature).
  4. Export directly with Anima stacks activated.
  5. Customize the order of exported artboards.
  6. Better display of text fragments.
  7. Re-organize functions and panels.

Notice

If you encounter problems managing (toggle hidden/locked, remove, and export) markers created by Sketch Measure, run the menu Plugin - Sketch MeaXure - Help - Rename Old Markers.

Installation

  • Download the latest release of the plugin
  • Un-zip
  • Double-click on Sketch-Meaxure.sketchplugin

The difference of this repo

  • The exported preview images is changed from png to jpg, which can save a lot of storage.
  • Restored the scale options of Sketch Measure, and delete "Convert to pixels". In fact, I don’t think "Convert to pixels" is useful.
  • Change the exported preview image file name and link file name. Delete the page name and artboard index, only keep the artboard name. Because when artboards order is changed, the exported preview pictures and links will be renamed, resulting in many useless files.
  • Defualt artboard order set to layer-order.

How to build

  • Install npm
  • Download the Sketch-Meaxure.sketchplugin and unzip to project root directory, and rename to sketch-meaxure.sketchplugin
  • cd to project root directory
  • npm install typescript
  • npm install webpack
  • npm run build

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 70.4%
  • HTML 13.8%
  • CSS 13.6%
  • JavaScript 2.1%
  • Shell 0.1%