Rename SawCut library to CutList.Core

Rename the core library project from SawCut to CutList.Core for consistent
branding across the solution. This includes:
- Rename project folder and .csproj file
- Update namespace from SawCut to CutList.Core
- Update all using statements and project references

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
2026-01-28 12:31:30 -05:00
parent c612a40a46
commit f25e31698f
30 changed files with 36 additions and 36 deletions

View File

@@ -1,4 +1,4 @@
using SawCut;
using CutList.Core;
using System;
using System.Drawing;
using System.Drawing.Drawing2D;

View File

@@ -27,7 +27,7 @@
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\SawCut\SawCut.csproj" />
<ProjectReference Include="..\CutList.Core\CutList.Core.csproj" />
</ItemGroup>
<ItemGroup>

View File

@@ -1,4 +1,4 @@
using SawCut;
using CutList.Core;
using System;
using System.Collections.Generic;
using System.Diagnostics;

View File

@@ -1,7 +1,7 @@
using CutList.Models;
using CutList.Presenters;
using CutList.Services;
using SawCut;
using CutList.Core;
using System;
using System.Collections.Generic;
using System.ComponentModel;

View File

@@ -131,7 +131,7 @@
//
// binBindingSource
//
this.binBindingSource.DataSource = typeof(SawCut.BinGroup);
this.binBindingSource.DataSource = typeof(CutList.Core.BinGroup);
//
// splitContainer1
//

View File

@@ -1,4 +1,4 @@
using SawCut;
using CutList.Core;
using System;
using System.Collections.Generic;
using System.Diagnostics;

View File

@@ -1,4 +1,4 @@
using SawCut;
using CutList.Core;
using System.Drawing;
using System.Windows.Forms;

View File

@@ -1,5 +1,5 @@
using Newtonsoft.Json;
using SawCut;
using CutList.Core;
using System;
namespace CutList.Models

View File

@@ -1,5 +1,5 @@
using CutList.Models;
using SawCut;
using CutList.Core;
using System.Collections.Generic;
namespace CutList.Presenters

View File

@@ -1,7 +1,7 @@
using CutList.Common;
using CutList.Models;
using SawCut;
using SawCut.Nesting;
using CutList.Core;
using CutList.Core.Nesting;
using System;
using System.Collections.Generic;
@@ -20,7 +20,7 @@ namespace CutList.Services
/// <param name="stockBins">The available stock bins</param>
/// <param name="cuttingTool">The cutting tool to use (determines kerf/spacing)</param>
/// <returns>Result containing the packing result with optimized bins and unused items, or error message</returns>
public Result<SawCut.Nesting.Result> Pack(List<PartInputItem> parts, List<BinInputItem> stockBins, Tool cuttingTool)
public Result<CutList.Core.Nesting.Result> Pack(List<PartInputItem> parts, List<BinInputItem> stockBins, Tool cuttingTool)
{
try
{
@@ -32,11 +32,11 @@ namespace CutList.Services
engine.Spacing = cuttingTool.Kerf;
var packResult = engine.Pack(binItems);
return Result<SawCut.Nesting.Result>.Success(packResult);
return Result<CutList.Core.Nesting.Result>.Success(packResult);
}
catch (Exception ex)
{
return Result<SawCut.Nesting.Result>.Failure($"Packing failed: {ex.Message}");
return Result<CutList.Core.Nesting.Result>.Failure($"Packing failed: {ex.Message}");
}
}