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

@@ -2,7 +2,7 @@
using System.Text; using System.Text;
using System.Text.RegularExpressions; using System.Text.RegularExpressions;
namespace SawCut namespace CutList.Core
{ {
public static class ArchUnits public static class ArchUnits
{ {

View File

@@ -1,6 +1,6 @@
using System; using System;
namespace SawCut namespace CutList.Core
{ {
public static class BestCombination public static class BestCombination
{ {

View File

@@ -2,7 +2,7 @@
using System.Collections.Generic; using System.Collections.Generic;
using System.Linq; using System.Linq;
namespace SawCut namespace CutList.Core
{ {
public class Bin public class Bin
{ {

View File

@@ -2,7 +2,7 @@ using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Linq; using System.Linq;
namespace SawCut namespace CutList.Core
{ {
/// <summary> /// <summary>
/// Compares bins to determine if they are identical (same items in same order). /// Compares bins to determine if they are identical (same items in same order).

View File

@@ -2,7 +2,7 @@ using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Linq; using System.Linq;
namespace SawCut namespace CutList.Core
{ {
/// <summary> /// <summary>
/// Represents a group of identical bins (bins with the same items in the same order). /// Represents a group of identical bins (bins with the same items in the same order).

View File

@@ -1,6 +1,6 @@
using System; using System;
namespace SawCut namespace CutList.Core
{ {
/// <summary> /// <summary>
/// Represents an item to be placed in a bin. /// Represents an item to be placed in a bin.

View File

@@ -1,6 +1,6 @@
using System; using System;
namespace SawCut namespace CutList.Core
{ {
/// <summary> /// <summary>
/// Provides formatting utilities for displaying measurements and values. /// Provides formatting utilities for displaying measurements and values.

View File

@@ -3,7 +3,7 @@ using System.Linq;
using System.Text; using System.Text;
using System.Text.RegularExpressions; using System.Text.RegularExpressions;
namespace SawCut namespace CutList.Core
{ {
public static class Fraction public static class Fraction
{ {

View File

@@ -1,6 +1,6 @@
using System; using System;
namespace SawCut namespace CutList.Core
{ {
/// <summary> /// <summary>
/// Represents a type of bin with quantity and priority. /// Represents a type of bin with quantity and priority.

View File

@@ -1,11 +1,11 @@
using SawCut.Nesting; using CutList.Core.Nesting;
using SawCut; using CutList.Core;
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Data; using System.Data;
using System.Linq; using System.Linq;
namespace SawCut.Nesting namespace CutList.Core.Nesting
{ {
public class AdvancedFitEngine : IEngine public class AdvancedFitEngine : IEngine
{ {

View File

@@ -3,7 +3,7 @@ using System.Collections.Generic;
using System.Data; using System.Data;
using System.Linq; using System.Linq;
namespace SawCut.Nesting namespace CutList.Core.Nesting
{ {
public class BestFitEngine : IEngine public class BestFitEngine : IEngine
{ {

View File

@@ -1,4 +1,4 @@
namespace SawCut.Nesting namespace CutList.Core.Nesting
{ {
/// <summary> /// <summary>
/// Default implementation of IEngineFactory that creates AdvancedFitEngine instances. /// Default implementation of IEngineFactory that creates AdvancedFitEngine instances.

View File

@@ -1,6 +1,6 @@
using System.Collections.Generic; using System.Collections.Generic;
namespace SawCut.Nesting namespace CutList.Core.Nesting
{ {
public interface IEngine public interface IEngine
{ {

View File

@@ -1,4 +1,4 @@
namespace SawCut.Nesting namespace CutList.Core.Nesting
{ {
/// <summary> /// <summary>
/// Factory interface for creating bin packing engines. /// Factory interface for creating bin packing engines.

View File

@@ -2,7 +2,7 @@
using System.Collections.Generic; using System.Collections.Generic;
using System.Linq; using System.Linq;
namespace SawCut.Nesting namespace CutList.Core.Nesting
{ {
public class MultiBinEngine : IEngine public class MultiBinEngine : IEngine
{ {

View File

@@ -1,6 +1,6 @@
using System.Collections.Generic; using System.Collections.Generic;
namespace SawCut.Nesting namespace CutList.Core.Nesting
{ {
public class Result public class Result
{ {

View File

@@ -4,11 +4,11 @@ using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following // General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information // set of attributes. Change these attribute values to modify the information
// associated with an assembly. // associated with an assembly.
[assembly: AssemblyTitle("SawCut")] [assembly: AssemblyTitle("CutList.Core")]
[assembly: AssemblyDescription("")] [assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")] [assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")] [assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("SawCut")] [assembly: AssemblyProduct("CutList.Core")]
[assembly: AssemblyCopyright("Copyright © 2021")] [assembly: AssemblyCopyright("Copyright © 2021")]
[assembly: AssemblyTrademark("")] [assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")] [assembly: AssemblyCulture("")]

View File

@@ -1,6 +1,6 @@
using System; using System;
namespace SawCut namespace CutList.Core
{ {
public static class Tolerance public static class Tolerance
{ {

View File

@@ -5,7 +5,7 @@ VisualStudioVersion = 16.0.31402.337
MinimumVisualStudioVersion = 10.0.40219.1 MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CutList", "CutList\CutList.csproj", "{3E82A1E3-07A8-40C4-ABC4-DF24C5120073}" Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CutList", "CutList\CutList.csproj", "{3E82A1E3-07A8-40C4-ABC4-DF24C5120073}"
EndProject EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SawCut", "SawCut\SawCut.csproj", "{3D873FF0-6930-4BCE-A5A9-DA5C20354DEE}" Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CutList.Core", "CutList.Core\CutList.Core.csproj", "{3D873FF0-6930-4BCE-A5A9-DA5C20354DEE}"
EndProject EndProject
Global Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution GlobalSection(SolutionConfigurationPlatforms) = preSolution

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -1,7 +1,7 @@
using CutList.Common; using CutList.Common;
using CutList.Models; using CutList.Models;
using SawCut; using CutList.Core;
using SawCut.Nesting; using CutList.Core.Nesting;
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
@@ -20,7 +20,7 @@ namespace CutList.Services
/// <param name="stockBins">The available stock bins</param> /// <param name="stockBins">The available stock bins</param>
/// <param name="cuttingTool">The cutting tool to use (determines kerf/spacing)</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> /// <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 try
{ {
@@ -32,11 +32,11 @@ namespace CutList.Services
engine.Spacing = cuttingTool.Kerf; engine.Spacing = cuttingTool.Kerf;
var packResult = engine.Pack(binItems); var packResult = engine.Pack(binItems);
return Result<SawCut.Nesting.Result>.Success(packResult); return Result<CutList.Core.Nesting.Result>.Success(packResult);
} }
catch (Exception ex) catch (Exception ex)
{ {
return Result<SawCut.Nesting.Result>.Failure($"Packing failed: {ex.Message}"); return Result<CutList.Core.Nesting.Result>.Failure($"Packing failed: {ex.Message}");
} }
} }