Learn python programming through algorithms - Binpacking
Bin packing algorithm for regular and irregular shape Part 1: theory and data preparation This is not intended to be just a programming tutorial that has the one “right” route to solving a problem, I will state the philosophy behind choosing something, and by philosophy I mean that everything has a good side and an underside and I will be detailing them both as well as some of the mistakes and weird undocumented python behaviors that I learned from. for example : Most of my clients ask for fitting the largest items first but it almost always fails to bring good results I will be explaining the theory and giving examples from my code as I go instead of just stating the theories and explaining them in one bulk. So many clients asked me to do a variant of an algorithm to pack items for them into the tightest space possible as an alternative for softwares like Fastcam’s fastcut optimizer or Sketchcut and many others as each had its own limitation/problem. Sa...