-
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 drivers: deduplicate code, remove spaces from output
- Loading branch information
Showing
6 changed files
with
258 additions
and
267 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
146 changes: 73 additions & 73 deletions
146
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,75 +1,75 @@ | ||
G21 | ||
G90 | ||
G0 Z0 | ||
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 S0.75 | ||
G1 X2.2352 Y4.0132 S0 | ||
G1 X2.5908 Y4.0132 S0.75 | ||
G1 X7.5692 Y4.0132 S0 | ||
G0 X0 Y4.064 F3600 | ||
G1 X2.2352 Y4.064 F1200 | ||
G1 X2.5908 Y4.064 S0.5 | ||
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 | ||
G0Z0 | ||
G0X0.508Y0.508F3600.000000 | ||
G1X25.4Y50.8S1F1200 | ||
G1X50.8Y0 | ||
G0X101.6Y0F3600.000000 | ||
G1X76.2Y5.08F1200 | ||
G1X76.1492Y20.32 | ||
G1X76.1492Y22.86 | ||
G1X76.0984Y25.4 | ||
G1X76.1492Y30.48 | ||
G1X76.2Y45.72 | ||
G1X101.6Y50.8 | ||
G0X0Y1.8796F3600.000000 | ||
G1X0.6604Y1.8796S0F1200 | ||
G1X0.762Y1.8796S1 | ||
G1X0.8636Y1.8796 | ||
G1X0.9144Y1.8796 | ||
G1X1.0668Y1.8796 | ||
G1X1.1176Y1.8796 | ||
G1X6.096Y1.8796S0 | ||
G0X0Y1.9304F3600.000000 | ||
G1X0.6604Y1.9304F1200 | ||
G1X0.8128Y1.9304S1 | ||
G1X0.8636Y1.9304 | ||
G1X0.9652Y1.9304 | ||
G1X1.0668Y1.9304 | ||
G1X1.1176Y1.9304 | ||
G1X6.096Y1.9304S0 | ||
G0X0Y1.9812F3600.000000 | ||
G1X0.6604Y1.9812F1200 | ||
G1X1.1176Y1.9812S1 | ||
G1X6.096Y1.9812S0 | ||
G0X0Y2.032F3600.000000 | ||
G1X0.6604Y2.032F1200 | ||
G1X0.762Y2.032S1 | ||
G1X1.1176Y2.032 | ||
G1X6.096Y2.032S0 | ||
G0X0Y2.0828F3600.000000 | ||
G1X0.6604Y2.0828F1200 | ||
G1X1.1176Y2.0828S1 | ||
G1X6.096Y2.0828S0 | ||
G0X0Y2.1336F3600.000000 | ||
G1X0.6604Y2.1336F1200 | ||
G1X0.762Y2.1336S1 | ||
G1X1.1176Y2.1336 | ||
G1X6.096Y2.1336S0 | ||
G0X0Y3.9116F3600.000000 | ||
G1X2.2352Y3.9116F1200 | ||
G1X2.3368Y3.9116S1 | ||
G1X2.3876Y3.9116S0 | ||
G1X2.54Y3.9116S1 | ||
G1X7.5184Y3.9116S0 | ||
G0X0Y3.9624F3600.000000 | ||
G1X2.286Y3.9624F1200 | ||
G1X2.3368Y3.9624S1 | ||
G1X2.4384Y3.9624S0 | ||
G1X2.54Y3.9624S1 | ||
G1X7.5184Y3.9624S0 | ||
G0X0Y4.0132F3600.000000 | ||
G1X2.1336Y4.0132F1200 | ||
G1X2.1844Y4.0132S0.75 | ||
G1X2.2352Y4.0132S0 | ||
G1X2.5908Y4.0132S0.75 | ||
G1X7.5692Y4.0132S0 | ||
G0X0Y4.064F3600.000000 | ||
G1X2.2352Y4.064F1200 | ||
G1X2.5908Y4.064S0.5 | ||
G1X7.5692Y4.064S0 | ||
G0X0Y4.1656F3600.000000 | ||
G1X2.1336Y4.1656F1200 | ||
G1X2.2352Y4.1656S1 | ||
G1X7.2136Y4.1656S0 | ||
G0X0Y0 |
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.