WeldingWeb - Welding Community for pros and enthusiasts banner

Cut list generator using Python

1 reading
7.6K views 7 replies 6 participants last post by  Bob_C  
#1 ·
Here's a little Python script I wrote to help with creating cut lists. I recently did a job with 78 bits of 1" square tube, and making the cut list while minimizing drop was a chore. The script is still a work in progress, but at least it works now. It compensates for kerf losses, and is super easy to use (I think).
It's written in Python 3.3, which is free to download if you don't have it. If anyone has suggestions for greater functionality or features, I'm all ears. I want to write one that will optimize the cut list based on varying stock lengths, which is a situation I often run into. Say you have some stock at 48", 89", and 101", how do you make a cut list which makes the most efficient use of material?
 

Attachments

#7 ·
Hey Bebo, When I attempt to open the site www.narr.com on your signature line my browser indicates it is reported as unsafe. Thought you might want to look into fixing it. Your script is pretty neat.

Reported Attack Page!
This web page at www.narr.com has been reported as an attack page and has been blocked based on your security preferences.
Attack pages try to install programs that steal private information, use your computer to attack others, or damage your system.Some attack pages intentionally distribute harmful software, but many are compromised without the knowledge or permission of their owners.