refactor(engine): remove dead import and add spacing comment in PatternTiler

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-03-18 09:48:14 -04:00
parent 0ac7b9babd
commit 76a338f3d0

View File

@@ -1,6 +1,4 @@
using System;
using System.Collections.Generic;
using System.Linq;
using OpenNest.Geometry;
namespace OpenNest.Engine
@@ -28,6 +26,8 @@ namespace OpenNest.Engine
if (cols <= 0 || rows <= 0)
return new List<Part>();
// Shift cell so parts start at halfSpacing inset, ensuring symmetric
// spacing between adjacent tiled cells on all sides.
var cellOrigin = cellBox.Location;
var baseOffset = new Vector(halfSpacing - cellOrigin.X, halfSpacing - cellOrigin.Y);