Sticker design
Turn a brand kit into a set of die-cut sticker designs, review them with the user, and hand over files any printer (online shop, local print house, Cricut/Silhouette, CorelDRAW/Illustrator) can use.
Scripts live in scripts/; install once with pip install -r requirements.txt.
| Script | What it does |
|---|---|
stickerkit.py | Library: outlined text, logo placement, lettering, arc text, contour + shape die-cuts, QA helpers |
designs.py brand.json OUT | Builds 16 design families from one config (see table below) |
export.py contact OUT | Labelled contact sheet of every design |
picker.py OUT | One-file HTML page: user ticks designs, writes change notes, copies PICK: list |
export.py package OUT --pick ... --a4 | Final print package + zip |
Workflow
-
Collect the brand kit (ask only for what's missing; look in the user's repo/folders first — logos often sit in
public/, fonts inapp/fonts/or the CSS):- logo as SVG (raster logos make fuzzy prints; trace or ask for vector)
- brand name, tagline split into two parts (
lead,punch— the punch is the bigger/coloured line) - colours: a dark background, an accent, optional second accent
- fonts: the brand's display + body fonts (TTF/OTF/WOFF/WOFF2; variable fonts OK — set
weight) - website/URL (optional), print vendor + its product page (sizes, material, minimum quantity)
Copy
examples/brand.example.json, fill it in. Never invent a tagline or URL for a real business; ask.
-
Check the vendor's specs before designing. Open the product page (browser) and note: available sizes (e.g. 2x2, 3x3, 4x2, 4x3, 4x4 in), materials, minimum order, file format, bleed. Recommend die-cut, opaque/white vinyl for laptops/bottles. Warn: transparent vinyl usually cannot print white, so white logos vanish.
-
Generate —
python scripts/designs.py brand.json outthenpython scripts/export.py contact out. Look at the contact sheet yourself before showing it. Fix anything from the checklist below. -
Let the user choose —
python scripts/picker.py outand give themout/picker.html(or publish it as a page/artifact if your environment can). They paste back:PICK: id1,id2,...plus oneid: change requestline per note. -
Iterate on notes (edit the family function in
designs.pyor add a new one with the kit). Re-show only what changed, side by side with the previous version when comparing options. -
Package —
python scripts/export.py package out --pick <ids> --vendor brand.json --a4→out/final.zip. Tell the user which file goes where (README inside the zip):- online printer:
PNG_print/*.png, one order line per design, size fromORDER_SHEET.txt - printer asks for vector/cut path:
PDF_cutline/orEPS_cutline/ - CorelDRAW (X7 and older): use the EPS, not SVG
- Cricut/Silhouette:
SVG_flat/
- online printer:
Design families (designs.py)
| key | size | idea |
|---|---|---|
logo_diecut | 3x3 | logo alone, cut around its shape on a dark backing |
nameplate | 4x3 | big name as outlined lettering, logo sitting on its end |
speech_bubble | 4x3 | logo "says" the tagline in an accent bubble |
lettering_logo_left/top | 4x4 | tilted chunky lettering (outline + offset shadow), logo beside/above |
lettering_name | 4x4 | name as first lettering line + tagline |
lettering_hero | 4x4 | tagline small, last word huge |
lettering_light | 4x4 | white backing, dark letters, accent shadow |
lettering_ribbon | 4x4 | lettering + name on a ribbon + logo on top |
badge, statement, pill | 4x2 | rectangle/pill: logo + name + accent rule + two-line tagline |
circle, emblem, gear_emblem, tab_badge | 3x3 | round seal with name/tagline on arcs, gear cut, tabbed badge |
Every design except logo_diecut carries logo + name + tagline — users consistently ask for all
three. Add brand-specific families (e.g. product-shaped cuts: a chip with pins, a circuit board, a
bottle) with shape_sticker / contour_sticker; these usually become favourites.
Quality checklist (run by eye on every contact sheet)
- Custom shape > generic badge. Rectangles and circles read as "template". Outlines that follow the art (lettering, mascot, speech bubble, product silhouette) are what people pick.
- Lettering style: heavy display font, uppercase, each line justified to the same width, thick outline in the backing colour + offset shadow, 4–7° tilt. This is the "funky text" look.
- Text size: on a 3–4 in sticker nothing under ~6 pt (≈2.1 mm cap height); taglines grow when wrapped onto two lines with a light lead-in and a bold punch line.
- Logo is big — at least ~40% of the sticker height on badges. Small logos get complaints.
- Nothing collides: logo vs lettering, bubble tail vs text, caption vs QR, art vs cut. Use
boxes_clear()for layouts you compute; for tilted lettering, add generous gaps and look. - One die-cut island.
contour_stickerraises if art splits into pieces — move elements closer or growbacking_pad. Keep ≥2 mm white border outside the art (border=2.0). - White art on white backing disappears — put the logo on a dark plate (
logo_plate) for light variants, and check white logos against transparent materials. - Rounded-corner cutting: keep art ≥ radius from corners (
corner_clear()). - Contrast: accent text on the dark backing must stay readable; muted greys only for small print.
Files that don't break in other software
Learned the hard way — "fonts are breaking" reports usually aren't about fonts:
- All text is converted to outlines at generation time; never ship live text.
export.pyflattens for interchange: bakes every transform, turns strokes into fills, merges overlapping contours (overlaps get punched out as holes in even-odd apps such as CorelDRAW, Cricut, Silhouette, many RIPs), converts quadratic curves to cubic, bakesgradientTransform(old CorelDRAW drops it), rounds to 3 dp, writesversion="1.1".- It verifies each flattened file renders like the original (pixel diff; thin rings ~1% from anti-aliasing is normal) and warns otherwise.
- For old CorelDRAW (X7 and earlier) prefer EPS (File → Import → curves) or PDF ("text as curves").
- Cut line = separate path, magenta
#EC008Chairline, groupCutContour. Printers that want a spot colour: set that outline to a spot colour namedCutContourin Illustrator/CorelDRAW. - Don't upload cut-line files to "upload your design" fields; the magenta line may print.
- A4 proof sheets: shrink everything by the same factor when it doesn't fit and say so; for viewers
that still misrender, the image-only PDF (
A4_sheet_images.pdf) is the fallback.
When showing work
- One overview image per round; name each design in a short table (what it is, size).
- Recommend 2–3 favourites with a one-line reason.
- Comparisons: current version on the left, options to the right.
- Keep track of the user's final list and rebuild the zip from exactly that list.
- Never imitate another company's brand assets or make stickers that pass as someone else's product.