refactor: remove UsableRemnantArea from NestProgress and UI
This commit is contained in:
@@ -229,7 +229,6 @@ namespace OpenNest
|
||||
NestedWidth = bounds.Width,
|
||||
NestedLength = bounds.Length,
|
||||
NestedArea = totalPartArea,
|
||||
UsableRemnantArea = workArea.Area() - totalPartArea,
|
||||
BestParts = clonedParts,
|
||||
Description = description
|
||||
});
|
||||
|
||||
@@ -41,7 +41,6 @@ namespace OpenNest
|
||||
public double NestedWidth { get; set; }
|
||||
public double NestedLength { get; set; }
|
||||
public double NestedArea { get; set; }
|
||||
public double UsableRemnantArea { get; set; }
|
||||
public List<Part> BestParts { get; set; }
|
||||
public string Description { get; set; }
|
||||
}
|
||||
|
||||
@@ -37,7 +37,6 @@ namespace OpenNest.Forms
|
||||
partsValue.Text = progress.BestPartCount.ToString();
|
||||
densityValue.Text = progress.BestDensity.ToString("P1");
|
||||
nestedAreaValue.Text = $"{progress.NestedWidth:F1} x {progress.NestedLength:F1} ({progress.NestedArea:F1} sq in)";
|
||||
remnantValue.Text = $"{progress.UsableRemnantArea:F1} sq in";
|
||||
|
||||
if (!string.IsNullOrEmpty(progress.Description))
|
||||
descriptionValue.Text = progress.Description;
|
||||
|
||||
Reference in New Issue
Block a user