Cutting rectangles (or squares) of varying sizes from a piece of fabric?
This lightweight app helps you to maximize the use of your fabric, while minimizing scraps and wastage.
Note that rectangles will not be rotated to preserve how you'd like the pieces to be patterned along the fabric grain.
Finding the optimal way to cut rectangles from a piece of fabric is part of a general class of puzzles called the 2D bin packing problem (or, if you've unlimited fabric height, a strip packing problem).
Cuttlefish packs your rectangles in the order of decresing height, weight, and then area. Hence, it works best when your rectangles have similar heights. This is simply a shortcut to solve the problem, which is by no means optimal, but hopefully provides a decent solution for you to improve upon.
For more info: https://github.com/cottonrays/cuttlefish#technical-notes.
Leave feedback here: https://forms.gle/MSXG9oHt3z6gwaMh9
Built on top of Mapbox: Copyright © 2018, Mapbox, ISC License.
Copyright © 2020 to present, Cottonrays.com