refactor(io): migrate nest file extension from .zip to .opnest

Add FileExtension and FileFilter constants to NestFormat and update all
references across Console, MCP, Training, and WinForms projects.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-03-18 07:26:04 -04:00
parent a487d33f52
commit d2eeb23107
7 changed files with 23 additions and 17 deletions

View File

@@ -21,8 +21,8 @@ namespace OpenNest.Mcp.Tools
}
[McpServerTool(Name = "load_nest")]
[Description("Load a .nest zip file into the session. Returns a summary of plates, parts, and drawings.")]
public string LoadNest([Description("Absolute path to the .nest file")] string path)
[Description("Load an .opnest file into the session. Returns a summary of plates, parts, and drawings.")]
public string LoadNest([Description("Absolute path to the .opnest file")] string path)
{
if (!File.Exists(path))
return $"Error: file not found: {path}";