/sketch-numbering-machine

Sketch plugin to generate IDs or Numbers for documents and export to PDF

Primary LanguageJavaScriptMIT LicenseMIT

Numbering Machine

Sketch plugin to generate PDF document based on selected artboards with generated numbers, like Numbering Machine does.

How to install

  1. Download the latest release and open it
  2. Duble click on Numbering Machine.sketchplugin to install the plugin

How to use

NumberingMachine

You can see it in more detail on Vimeo.

  1. Create text layer with any content with name NM, this layer will be replaced with generated number. (Five different IDs could be placed on one artboard)
  2. Select artboards wich you are going to export. (You can select several artboards)
  3. Run plugin (Plugins -> Numbering machine -> Export selected artboards)
  4. Configure numbering machine (see below)
  5. Generate and save PDF file

Basic

Start from number - From which number we should start the numbering

Generate amount - Amount of pages to be generated

Advanced

Template - Template for number. Placeholder [*] have to be part of tempate. Placeholder [*] will be replaced with generated number

Pad size - How many leading zeros will be in generated number

Check digit - Apply check digit algorithm to generated number. Supported algorithms:

Start from number - From which number we should start the numbering

Step - Generate numbers with step (default 1).

Generate amount - Amount of pages to be generated

Numbering direction - Which direction to use for numbering. Very similar to "Layout direction" in printer settings. There are two options:

  • "Direct sequence" (NM-1 -> NM-2 -> NM-3). When we are numbering all layers on the one page, then all on the second and so forth
  • "Drill sequence" (NM-1 -> NM-1 -> ... -> NM-1 -> NM-2 ...). When we are numbering all layers with name NM-1 on all pages, then numbering all NM-2 on oll pages and so forth

License

MIT licence