The editor above opens on a sample sticker. The magenta line around it is the cut line: it is traced from the artwork, sits a set distance outside it, and is redrawn after every edit. Upload a transparent PNG to try your own.
How it's built
- Tracing: the page is rendered without the cut line on a small grid, the artwork is grown by the offset, and the outline of each separate piece becomes a closed SVG path, simplified and rounded. It runs in the browser and reruns shortly after each edit.
- The cut line is an ordinary element: an SVG path in a colour no artwork uses, locked so customers cannot move or delete it.
- Export:
@polotno/pdf-exportmaps that colour to a spot ink named CutContour with overprint (spot colors and overprint). The artwork stays in colour, and the line reaches the PDF as its own separation.
Adapting it to your product
- Your cutter: the offset, the line colour and the ink name are constants in the example. Use the ink name your RIP or cutter reads.
- Your products: set the page to the sticker or label size you sell, and the offset to your bleed.
- Your interface: the cut-line panel is ordinary React beside the editor, so it can be a step in your order flow instead.
What it does not do
Holes inside the shape, several stickers on one sheet, a white underbase and checks against a specific cutter are not part of this demo.
Where it fits
Sticker and label shops, print-on-demand platforms, and the software that ships with print-and-cut, DTF and UV printers.
