Sort items from largest to smallest after packing
This commit is contained in:
@@ -65,6 +65,8 @@ namespace SawCut.Nesting
|
||||
count++;
|
||||
}
|
||||
|
||||
bin.Items = bin.Items.OrderByDescending(i => i.Length).ToList();
|
||||
|
||||
bins.Add(bin);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user