tags:

views:

2511

answers:

4

I'm looking for open source (preferably c++) algorithms for 2d bin packing of rectangular and or irregular shapes. I've found several papers on the subject but no code.

A: 

Could this be a variation on this problem?

Calculating a cutting list with the least amount of off cut waste

I know it isn't the same, but perhaps the algorithms can give you some insight for your own problem.

Lasse V. Karlsen
+1  A: 

This may be what you are after, it also has accompanying source code. The source code is in C# but hopefully you can gain something from it. Good Luck.

mdec
+1  A: 

This Ruby Quiz has a few solutions which shouldn't be too hard to translate to C++.

AShelly