feat: add Motion.Suppressed property to mark tab-gap codes

Adds Suppressed bool to the Motion base class so LinearMove, ArcMove,
and RapidMove can be flagged for skip during rendering and post-processing
when they fall within a tab gap. Clone() updated on all three subclasses
to preserve the flag. Covered by new MotionSuppressedTests.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-03-30 13:13:00 -04:00
parent 3d4204db7b
commit f903cbe18a
5 changed files with 55 additions and 3 deletions

View File

@@ -12,6 +12,8 @@ namespace OpenNest.CNC
public int Feedrate { get; set; }
public bool Suppressed { get; set; }
protected Motion()
{
Feedrate = CNC.Feedrate.UseDefault;