Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add option to switch line endings to LF #2037

Merged
merged 1 commit into from
Mar 15, 2023

Conversation

HumbertoL
Copy link
Contributor

@HumbertoL HumbertoL commented Mar 15, 2023

This resolves issue #2036

The original problem is that some laser firmwares allow LF line endings ("\n") but not CRLF ("\r\n"). The line endings work correctly in the paid software, LightBurn. In my case, I have the Creality Laser Engraver CR Falcon SE which shows the firmware as Grbl 1.3a.

This PR adds a checkbox in the advanced options to use LF line endings on the exported gcode file. The checkbox is unchecked by default since most users probably don't need this.

SaveGcode

@HumbertoL HumbertoL force-pushed the feat/add-lf-line-endings-option branch from 0f6ad31 to dfd4c6d Compare March 15, 2023 02:11
@HumbertoL HumbertoL force-pushed the feat/add-lf-line-endings-option branch from dfd4c6d to dc0d8ba Compare March 15, 2023 02:19
@arkypita arkypita merged commit aed1b49 into arkypita:master Mar 15, 2023
@HumbertoL HumbertoL deleted the feat/add-lf-line-endings-option branch March 15, 2023 12:45
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.

2 participants