style: apply CSharpier formatting to all C# sources
Repo-wide sweep with the pinned CSharpier 1.3.0 tool. Whitespace and line-wrapping only; OpenNest.Engine.Tests (109) and OpenNest.IO.Tests pass after reformat, full solution builds 0 errors. Added .csharpierignore so csproj/config XML keeps its existing layout (CSharpier's XML wrapping churns attributes with zero benefit). Formatting is now enforceable: dotnet csharpier check . passes.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
using OpenNest.CNC.CuttingStrategy;
|
||||
using OpenNest.Math;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using OpenNest.CNC.CuttingStrategy;
|
||||
using OpenNest.Math;
|
||||
|
||||
namespace OpenNest.Engine.Sequencing
|
||||
{
|
||||
@@ -50,9 +50,7 @@ namespace OpenNest.Engine.Sequencing
|
||||
private static List<PartRow> GroupIntoRows(IReadOnlyList<Part> parts, double minDistance)
|
||||
{
|
||||
// Sort parts by Y center
|
||||
var sorted = parts
|
||||
.OrderBy(p => p.BoundingBox.Center.Y)
|
||||
.ToList();
|
||||
var sorted = parts.OrderBy(p => p.BoundingBox.Center.Y).ToList();
|
||||
|
||||
var rows = new List<PartRow>();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user