using System.Collections.Generic; namespace OpenNest { public class MultiPlateNestOptions { public Plate Template { get; set; } public List PlateOptions { get; set; } public double SalvageRate { get; set; } = 0.5; public PartSortOrder SortOrder { get; set; } = PartSortOrder.BoundingBoxArea; public double MinRemnantSize { get; set; } = 12.0; public bool AllowPlateCreation { get; set; } = true; } public class MultiPlateResult { public List Plates { get; set; } = new(); public List UnplacedItems { get; set; } = new(); } public class PlateResult { public Plate Plate { get; set; } public List Parts { get; set; } = new(); public PlateOption ChosenSize { get; set; } public bool IsNew { get; set; } public void AddParts(IList parts) { Plate.Parts.AddRange(parts); Parts.AddRange(parts); } } }