mirror of
https://github.com/ajisaacs/OpenNest.git
synced 2026-11-07 04:15:43 -05:00
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:
1 parent
0ac7b9babd
commit
76a338f3d0
1 file changed
+2
-2
@@ -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);
|
||||
|
||||
|
||||
Reference in new issue
Block a user