We build small, single-purpose tools at KAVELA LTD. CutList is one of them — give it a stock sheet size and a list of pieces you need to cut, and it returns a layout that fits everything onto as few sheets as possible, with a printable PDF the carpenter can take to the saw. It's the kind of problem that looks trivial until you start coding it. This post walks through the parts that took the most iteration: why we constrained the solver to guillotine cuts, how we handled kerf width without making the math a nightmare, and the gotchas that come with shipping jsPDF inside a Capacitor app for users who write in Turkish, Greek, Russian, Czech, and Polish. What "panel cutting" actually means A carpenter buys plywood, MDF, melamine, or acrylic in standard sheet sizes — 2440×1220 mm in most of Europe, 4×8 ft in North America. A project needs dozens of smaller rectangular pieces: cabinet sides, shelves, drawer fronts, backs.…