-
Notifications
You must be signed in to change notification settings - Fork 56
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
GCode-based driver improvements: Force laser off, Adjustable precision
* Respect "Force laser off during G0" setting also when moving focus (Z axis) * Added settings to configure number of digits used for XYZ as well as S gCodes to allow slimmer gCodes when desired as most machines won't need 6 trailing digits of precision. Less digits gives gCode processor more time to run its main loop. Contributed by @McNugget6750
- Loading branch information
1 parent
5b7c43e
commit 360f950
Showing
6 changed files
with
281 additions
and
226 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
142 changes: 71 additions & 71 deletions
142
test-output/de.thomas_oster.liblasercut.drivers.GenericGcodeDriver.out
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,74 +1,74 @@ | ||
G21 | ||
G90 | ||
G0 X0.508000 Y0.508000 F3600 | ||
G1 X25.400000 Y50.800000 S1.000000 F1200 | ||
G1 X50.800000 Y0.000000 | ||
G0 X101.600000 Y0.000000 F3600 | ||
G1 X76.200000 Y5.080000 F1200 | ||
G1 X76.149200 Y20.320000 | ||
G1 X76.149200 Y22.860000 | ||
G1 X76.098400 Y25.400000 | ||
G1 X76.149200 Y30.480000 | ||
G1 X76.200000 Y45.720000 | ||
G1 X101.600000 Y50.800000 | ||
G0 X0.000000 Y1.879600 F3600 | ||
G1 X0.660400 Y1.879600 S0.000000 F1200 | ||
G1 X0.762000 Y1.879600 S1.000000 | ||
G1 X0.863600 Y1.879600 | ||
G1 X0.914400 Y1.879600 | ||
G1 X1.066800 Y1.879600 | ||
G1 X1.117600 Y1.879600 | ||
G1 X6.096000 Y1.879600 S0.000000 | ||
G0 X0.000000 Y1.930400 F3600 | ||
G1 X0.660400 Y1.930400 F1200 | ||
G1 X0.812800 Y1.930400 S1.000000 | ||
G1 X0.863600 Y1.930400 | ||
G1 X0.965200 Y1.930400 | ||
G1 X1.066800 Y1.930400 | ||
G1 X1.117600 Y1.930400 | ||
G1 X6.096000 Y1.930400 S0.000000 | ||
G0 X0.000000 Y1.981200 F3600 | ||
G1 X0.660400 Y1.981200 F1200 | ||
G1 X1.117600 Y1.981200 S1.000000 | ||
G1 X6.096000 Y1.981200 S0.000000 | ||
G0 X0.000000 Y2.032000 F3600 | ||
G1 X0.660400 Y2.032000 F1200 | ||
G1 X0.762000 Y2.032000 S1.000000 | ||
G1 X1.117600 Y2.032000 | ||
G1 X6.096000 Y2.032000 S0.000000 | ||
G0 X0.000000 Y2.082800 F3600 | ||
G1 X0.660400 Y2.082800 F1200 | ||
G1 X1.117600 Y2.082800 S1.000000 | ||
G1 X6.096000 Y2.082800 S0.000000 | ||
G0 X0.000000 Y2.133600 F3600 | ||
G1 X0.660400 Y2.133600 F1200 | ||
G1 X0.762000 Y2.133600 S1.000000 | ||
G1 X1.117600 Y2.133600 | ||
G1 X6.096000 Y2.133600 S0.000000 | ||
G0 X0.000000 Y3.911600 F3600 | ||
G1 X2.235200 Y3.911600 F1200 | ||
G1 X2.336800 Y3.911600 S1.000000 | ||
G1 X2.387600 Y3.911600 S0.000000 | ||
G1 X2.540000 Y3.911600 S1.000000 | ||
G1 X7.518400 Y3.911600 S0.000000 | ||
G0 X0.000000 Y3.962400 F3600 | ||
G1 X2.286000 Y3.962400 F1200 | ||
G1 X2.336800 Y3.962400 S1.000000 | ||
G1 X2.438400 Y3.962400 S0.000000 | ||
G1 X2.540000 Y3.962400 S1.000000 | ||
G1 X7.518400 Y3.962400 S0.000000 | ||
G0 X0.000000 Y4.013200 F3600 | ||
G1 X2.133600 Y4.013200 F1200 | ||
G1 X2.184400 Y4.013200 S0.750000 | ||
G1 X2.235200 Y4.013200 S0.000000 | ||
G1 X2.590800 Y4.013200 S0.750000 | ||
G1 X7.569200 Y4.013200 S0.000000 | ||
G0 X0.000000 Y4.064000 F3600 | ||
G1 X2.235200 Y4.064000 F1200 | ||
G1 X2.590800 Y4.064000 S0.500000 | ||
G1 X7.569200 Y4.064000 S0.000000 | ||
G0 X0.000000 Y4.165600 F3600 | ||
G1 X2.133600 Y4.165600 F1200 | ||
G1 X2.235200 Y4.165600 S1.000000 | ||
G1 X7.213600 Y4.165600 S0.000000 | ||
G0 X0.508 Y0.508 F3600 | ||
G1 X25.4 Y50.8 S1 F1200 | ||
G1 X50.8 Y0 | ||
G0 X101.6 Y0 F3600 | ||
G1 X76.2 Y5.08 F1200 | ||
G1 X76.1492 Y20.32 | ||
G1 X76.1492 Y22.86 | ||
G1 X76.0984 Y25.4 | ||
G1 X76.1492 Y30.48 | ||
G1 X76.2 Y45.72 | ||
G1 X101.6 Y50.8 | ||
G0 X0 Y1.8796 F3600 | ||
G1 X0.6604 Y1.8796 S0 F1200 | ||
G1 X0.762 Y1.8796 S1 | ||
G1 X0.8636 Y1.8796 | ||
G1 X0.9144 Y1.8796 | ||
G1 X1.0668 Y1.8796 | ||
G1 X1.1176 Y1.8796 | ||
G1 X6.096 Y1.8796 S0 | ||
G0 X0 Y1.9304 F3600 | ||
G1 X0.6604 Y1.9304 F1200 | ||
G1 X0.8128 Y1.9304 S1 | ||
G1 X0.8636 Y1.9304 | ||
G1 X0.9652 Y1.9304 | ||
G1 X1.0668 Y1.9304 | ||
G1 X1.1176 Y1.9304 | ||
G1 X6.096 Y1.9304 S0 | ||
G0 X0 Y1.9812 F3600 | ||
G1 X0.6604 Y1.9812 F1200 | ||
G1 X1.1176 Y1.9812 S1 | ||
G1 X6.096 Y1.9812 S0 | ||
G0 X0 Y2.032 F3600 | ||
G1 X0.6604 Y2.032 F1200 | ||
G1 X0.762 Y2.032 S1 | ||
G1 X1.1176 Y2.032 | ||
G1 X6.096 Y2.032 S0 | ||
G0 X0 Y2.0828 F3600 | ||
G1 X0.6604 Y2.0828 F1200 | ||
G1 X1.1176 Y2.0828 S1 | ||
G1 X6.096 Y2.0828 S0 | ||
G0 X0 Y2.1336 F3600 | ||
G1 X0.6604 Y2.1336 F1200 | ||
G1 X0.762 Y2.1336 S1 | ||
G1 X1.1176 Y2.1336 | ||
G1 X6.096 Y2.1336 S0 | ||
G0 X0 Y3.9116 F3600 | ||
G1 X2.2352 Y3.9116 F1200 | ||
G1 X2.3368 Y3.9116 S1 | ||
G1 X2.3876 Y3.9116 S0 | ||
G1 X2.54 Y3.9116 S1 | ||
G1 X7.5184 Y3.9116 S0 | ||
G0 X0 Y3.9624 F3600 | ||
G1 X2.286 Y3.9624 F1200 | ||
G1 X2.3368 Y3.9624 S1 | ||
G1 X2.4384 Y3.9624 S0 | ||
G1 X2.54 Y3.9624 S1 | ||
G1 X7.5184 Y3.9624 S0 | ||
G0 X0 Y4.0132 F3600 | ||
G1 X2.1336 Y4.0132 F1200 | ||
G1 X2.1844 Y4.0132 S1 | ||
G1 X2.2352 Y4.0132 S0 | ||
G1 X2.5908 Y4.0132 S1 | ||
G1 X7.5692 Y4.0132 S0 | ||
G0 X0 Y4.064 F3600 | ||
G1 X2.2352 Y4.064 F1200 | ||
G1 X2.5908 Y4.064 S0 | ||
G1 X7.5692 Y4.064 S0 | ||
G0 X0 Y4.1656 F3600 | ||
G1 X2.1336 Y4.1656 F1200 | ||
G1 X2.2352 Y4.1656 S1 | ||
G1 X7.2136 Y4.1656 S0 | ||
G0 X0 Y0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
the default of 0 breaks existing settings.