Skip to content

Require original start G-code in helper - #113

Merged
plastikman merged 2 commits into
mainfrom
fix/start-gcode-virgin-input-guard
Oct 13, 2026
Merged

plastikman merged 2 commits into
mainfrom
fix/start-gcode-virgin-input-guard

Conversation

@plastikman

@plastikman plastikman commented Oct 13, 2026 •

Copy link
Copy Markdown
Owner

Clarifies that users should start from the original, unmodified slicer start G-code. The helper cannot prove a file is otherwise unmodified; it only checks the startup section for M141, M191, or its M106 P2 S178 fan command. It stops if it finds one, and the UI requires users to confirm they started from the original slicer code.

Validation: node --test tests/start_gcode_helper.test.js and git diff --check pass.

@plastikman
plastikman merged commit 2fc9f02 into main Oct 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant