-
-
Notifications
You must be signed in to change notification settings - Fork 388
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* first cut of adding _selected_tool * Got rid of gc_state.tool It is now .selected_tool * Added some test gcode to fixtures * Test fixture now works with the python script * Cleanup * Update GCode.h Removed commented-out line --------- Co-authored-by: Mitch Bradley <[email protected]>
- Loading branch information
1 parent
870d88f
commit 119a8b4
Showing
8 changed files
with
108 additions
and
18 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
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
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
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 |
---|---|---|
@@ -0,0 +1,55 @@ | ||
-> $X | ||
<~ [MSG:INFO: Caution: Unlocked] | ||
<- ok | ||
-> $G | ||
<- [GC:G0 G54 G17 G21 G90 G94 M5 M9 T0 F0 S0] | ||
<- ok | ||
-> (print, Cur tool=%d#<_current_tool>, Sel tool=%d#<_selected_tool>) | ||
<- [MSG:INFO: PRINT, Cur tool=-1 Sel tool=0] | ||
<- ok | ||
-> T1 | ||
<- ok | ||
-> $G | ||
<- [GC:G0 G54 G17 G21 G90 G94 M5 M9 T1 F0 S0] | ||
<- ok | ||
-> (print, Cur tool=%d#<_current_tool>, Sel tool=%d#<_selected_tool>) | ||
<- [MSG:INFO: PRINT, Cur tool=-1 Sel tool=1] | ||
<- ok | ||
-> M6 | ||
<- ok | ||
-> $G | ||
<- [GC:G0 G54 G17 G21 G90 G94 M5 M9 T1 F0 S0] | ||
<- ok | ||
-> (print, Cur tool=%d#<_current_tool>, Sel tool=%d#<_selected_tool>) | ||
<- [MSG:INFO: PRINT, Cur tool=1 Sel tool=1] | ||
<- ok | ||
-> M6T2 | ||
<- ok | ||
-> $G | ||
<- [GC:G0 G54 G17 G21 G90 G94 M5 M9 T2 F0 S0] | ||
<- ok | ||
-> (print, Cur tool=%d#<_current_tool>, Sel tool=%d#<_selected_tool>) | ||
<- [MSG:INFO: PRINT, Cur tool=2 Sel tool=2] | ||
<- ok | ||
-> (print, Cur tool=%d#<_current_tool>) | ||
<- [MSG:INFO: PRINT, Cur tool=2] | ||
<- ok | ||
-> (print, Sel tool=%d#<_selected_tool>) | ||
<- [MSG:INFO: PRINT, Sel tool=2] | ||
<- ok | ||
-> M61Q3 | ||
<- ok | ||
-> $G | ||
<- [GC:G0 G54 G17 G21 G90 G94 M5 M9 T3 F0 S0] | ||
<- ok | ||
-> (print, Cur tool=%d#<_current_tool>, Sel tool=%d#<_selected_tool>) | ||
<- [MSG:INFO: PRINT, Cur tool=3 Sel tool=3] | ||
<- ok | ||
-> M6T0 | ||
<- ok | ||
-> $G | ||
<- [GC:G0 G54 G17 G21 G90 G94 M5 M9 T0 F0 S0] | ||
<- ok | ||
-> (print, Cur tool=%d#<_current_tool>, Sel tool=%d#<_selected_tool>) | ||
<- [MSG:INFO: PRINT, Cur tool=0 Sel tool=0] | ||
<- ok |
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 |
---|---|---|
@@ -0,0 +1,28 @@ | ||
$G | ||
(print, $G) | ||
(print, Current tool=%d#<_current_tool>) | ||
(print, Selected tool=%d#<_selected_tool>) | ||
T1 | ||
(print, T1) | ||
$G | ||
(print, $G) | ||
(print, Current tool=%d#<_current_tool>) | ||
(print, Selected tool=%d#<_selected_tool>) | ||
M6 | ||
(print, M6) | ||
$G | ||
(print, $G) | ||
(print, Current tool=%d#<_current_tool>) | ||
(print, Selected tool=%d#<_selected_tool>) | ||
M6T2 | ||
(print, M6T2) | ||
$G | ||
(print, $G) | ||
(print, Current tool=%d#<_current_tool>) | ||
(print, Selected tool=%d#<_selected_tool>) | ||
M61Q3 | ||
(print, M61Q3) | ||
$G | ||
(print, $G) | ||
(print, Current tool=%d#<_current_tool>) | ||
(print, Selected tool=%d#<_selected_tool>) |