gcalero/CuttingOptimizer ? reverse-engineered prompt
Reverse engineered prompt
Build me a simple tool that helps optimize cutting rectangular pieces from one or more fixed size sheets of material.
I want to enter the sheet width and height, plus a list of pieces with their own width and height, and get back the best arrangement it can make. It should show which pieces fit on each sheet, what space is left over, and which pieces could not be placed because they are too big.
If possible, also make it easy to view the result visually in a browser, so I can paste the output in and see the layout on the sheet. A small command line way to run it would be great too, but the main goal is the optimizer itself and a clear result format.
Please keep the code clean and make sure it handles multiple sheets and leftover pieces. If you need to check anything, look up current docs online first.
Are you gonna build this?
make sure you review the code using coderabbit