softwarerror

OptiCut

OptiCut solves a classic resource allocation problem—determining the most efficient way to cut fixed-length materials (wire, cable, metal, wood, fabric, and more) based on a list of required cut lengths. Built with Python, this tool accepts CSV inputs for both available stock lengths and target cuts, then generates an optimal allocation to minimize waste and improve material utilization.

Get the App

The source code for OptiCut is available on GitHub. Clone the repo to run it locally or explore the Python logic that powers the optimization.

View on GitHub

Step 1: Upload Stock CSV

Begin by uploading a CSV file containing your available stock lengths (reels, boards, rods, rolls, etc.). Each entry should specify the item number and total length.

Step 1: Upload Stock

Step 2: Upload Cuts CSV

Next, upload a CSV file that lists the lengths of all the cuts you need. Each row should reference an item number and a required cut length.

Step 2: Upload Cuts

Step 3: Click Optimize

Once your files are uploaded, click the "Optimize" button. The app will match cuts to stock in a way that minimizes leftover waste and displays results in an easy-to-understand format.

Step 3: Optimize

Step 4: Export to CSV

Once optimized, you can export the results to CSV for integration with other systems or shop floor tooling.

Step 4: Export