feat: serialize HasManualLeadIns, LeadInsLocked, and :SUPPRESSED in nest files

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-03-30 13:29:49 -04:00
parent f34dce95da
commit c9b5ee1918
4 changed files with 60 additions and 31 deletions
+9 -1
View File
@@ -173,7 +173,9 @@ namespace OpenNest.IO
DrawingId = match.Key,
X = part.Location.X,
Y = part.Location.Y,
Rotation = part.Rotation
Rotation = part.Rotation,
HasManualLeadIns = part.HasManualLeadIns,
LeadInsLocked = part.LeadInsLocked
});
}
@@ -336,6 +338,9 @@ namespace OpenNest.IO
if (arcMove.Layer != LayerType.Cut)
sb.Append(GetLayerString(arcMove.Layer));
if (arcMove.Suppressed)
sb.Append(":SUPPRESSED");
return sb.ToString();
}
@@ -357,6 +362,9 @@ namespace OpenNest.IO
if (linearMove.Layer != LayerType.Cut)
sb.Append(GetLayerString(linearMove.Layer));
if (linearMove.Suppressed)
sb.Append(":SUPPRESSED");
return sb.ToString();
}