Open lukepighetti opened 2 years ago
I will admit, the cut_optimizer_2d
solution is better if you're scoring for sequential first rips. Would love to hear your thoughts on this.
The fitness of a solution doesn't currently take cuts into account. It's mostly driven by the ratio free_area / total_area
. It's not immediately clear to me how I would add cuts into the equation, but maybe I'll play around with it when I get some time.
Thanks for the info. I do think cut count should be considered, otherwise really bizarre solutions could be given, such as no pieces touching
I found a trivial case where human layout scores better than cut_optimizer_2d driven layout. I have documented it below.
My scoring criteria was reducing waste (no change) and reducing cut lines (human solution preferred).
Thank you for authoring this lovely piece of software.
Source
Output