Cuttlefish

Fabric Cut Maximizer

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.


Try it !

  1. Input your fabric's width. Fabric height is optional if you're still deciding how much fabric to buy.
  2. Input the size and quantity of rectangles you wish to cut from the fabric.
  3. Click 'Generate' to see how the rectangles can be cut from the fabric.

Note that rectangles will not be rotated to preserve how you'd like the pieces to be patterned along the fabric grain.

Fabric Width Orientation

Fabric

W: H:


Rectangles to Cut

W: H: Qty:


How does it work?

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