fix: only remove bend-generated etch entities, preserve user etch lines

UpdateEtchEntities was removing all entities on the ETCH layer, which
also deleted user-added etch marks like part numbers. Now tags generated
bend etch lines with a BendEtch tag and filters on that instead.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-03-28 14:47:26 -04:00
parent 8104bd3626
commit e3e51611d5
2 changed files with 8 additions and 2 deletions

View File

@@ -29,6 +29,11 @@ namespace OpenNest.Geometry
/// </summary>
public bool IsVisible { get; set; } = true;
/// <summary>
/// Optional tag for identifying generated entities (e.g. bend etch marks).
/// </summary>
public string Tag { get; set; }
/// <summary>
/// Smallest box that contains the entity.
/// </summary>