refactor: extract ShapeBuilder from Helper

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-03-15 17:41:40 -04:00
parent be318bc1c1
commit 7c4eac5460
13 changed files with 168 additions and 159 deletions

View File

@@ -65,7 +65,7 @@ namespace OpenNest
public void UpdateArea()
{
var geometry = ConvertProgram.ToGeometry(Program).Where(entity => entity.Layer != SpecialLayers.Rapid);
var shapes = Helper.GetShapes(geometry);
var shapes = ShapeBuilder.GetShapes(geometry);
if (shapes.Count == 0)
return;