refactor: remove UsableRemnantArea from NestProgress and UI

This commit is contained in:
2026-03-16 12:47:57 -04:00
parent 9b21a0c6d7
commit dd3a2b0e9a
3 changed files with 0 additions and 3 deletions

View File

@@ -229,7 +229,6 @@ namespace OpenNest
NestedWidth = bounds.Width,
NestedLength = bounds.Length,
NestedArea = totalPartArea,
UsableRemnantArea = workArea.Area() - totalPartArea,
BestParts = clonedParts,
Description = description
});

View File

@@ -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; }
}

View File

@@ -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;