Skip to content

Commit c8e2469

Browse files
author
etet100
committed
Refactor G-Code converters to a stream-based interface
Replace the batch-oriented AbstractConverter / AbstractBatchConverter / Pipeline / SingleConverter hierarchy with a unified streaming model: StreamConverter exposes push/flush/reset, and StreamPipeline composes stages with a cascading flush so late-bound items propagate down the chain. All existing converters (ArcsToLines, ApplyHeightmap, FeedRateConverter, FusionRestoreRapidMovements, ModifyFeedRate, MovePath, ShakingGCode, StripComments) are reworked to the new API, and the source program stays read-only. Also gate the file-open action through UiPermissions in FrmMain so it respects the current state behaviour.
1 parent 311087b commit c8e2469

29 files changed

Lines changed: 660 additions & 1125 deletions

src/gpilot/core/gcode/converter/abstractbatchconverter.h

Lines changed: 0 additions & 28 deletions
This file was deleted.

src/gpilot/core/gcode/converter/abstractconverter.cpp

Lines changed: 0 additions & 19 deletions
This file was deleted.

src/gpilot/core/gcode/converter/abstractconverter.h

Lines changed: 0 additions & 49 deletions
This file was deleted.

0 commit comments

Comments
 (0)