Commit graph

83 commits

Author SHA1 Message Date
Lars Brubaker
b0d84a0a36 Make sure we put the leveling steam in after the max length stream
Fixes bug with leveling long lines
2022-04-27 14:10:01 -07:00
Lars Brubaker
2eacc07781 Fixed an issue with the fan speed no displaying correctly in the gcode preview
Fixed an issue with writing '; Software Leveling Applied' more than once into gocde files if double exported.
The gcode file was output correctly before but had multiple lines describing '; Software Leveling Applied'
2021-09-17 13:24:09 -07:00
Lars Brubaker
0482b558c5 finishing up new g92 test 2020-12-18 18:07:37 -08:00
LarsBrubaker
506f2b273f Making static data compile time and universal 2020-11-25 07:39:36 -08:00
Lars Brubaker
91d5e14e6f Fixing tests 2020-11-04 15:06:29 -08:00
Lars Brubaker
8ff919b6e3 Handling M83 better 2020-11-03 17:50:28 -08:00
Lars Brubaker
95b1257d67 Fixing tests 2020-07-02 14:42:11 -07:00
LarsBrubaker
6ef6503b94 Making feedrate and multiplier apply to current printer
issue: https://github.com/matterhackers/mattercontrol/issues/4793
2020-07-01 21:59:06 -07:00
Lars Brubaker
0d23c6f33b adding tests for expected probe behavior when leveling 2019-05-22 16:42:28 -07:00
jlewin
bb5d7dbcc5 Add required leveling data to test 2019-04-26 13:14:45 -07:00
jlewin
b561ed65aa Fix spelling 2019-04-17 14:34:36 -07:00
jlewin
9f0b1c658c Ensure ProcessWriteRegexStream is the last processor
- Issue MatterHackers/MCCentral#5292
Line written raw without WriteLineReplacement
- Issue MatterHackers/MCCentral#5259
Cannot connect to Flashforge Finder
2019-04-09 14:05:25 -07:00
John Lewin
a8596c522c Remove null termination requirement 2019-04-06 09:37:58 -07:00
John Lewin
ad7dda0008 Remove null termination lines 2019-04-06 09:37:58 -07:00
John Lewin
1e2c74378d Rename index variable 2019-04-06 09:37:58 -07:00
John Lewin
1b78d70aa2 Extract test initialization code to TestSetup method 2019-04-06 09:37:58 -07:00
John Lewin
f3aa8ca5e6 Move category attribute to type 2019-04-06 09:37:58 -07:00
John Lewin
912c997471 Extract tool change tests to dedicated file 2019-04-05 23:02:52 -07:00
John Lewin
1f504de9bd Reduce RunSimulatedPrint to running print and returning sent lines 2019-04-05 23:02:52 -07:00
John Lewin
b6ea496995 Remove orphaned event handler 2019-04-05 23:02:52 -07:00
John Lewin
5f9abe746c Remove null termination lines 2019-04-05 23:02:52 -07:00
John Lewin
3f5f3b0f28 Remove terminal only messaging from expected lines sent
- Terminal only messages are no longer sent via the LineSent event
2019-04-05 21:00:33 -07:00
Lars Brubaker
e8ad375934 Making sure tests are still passing with new settings changes 2019-04-02 15:18:10 -07:00
Lars Brubaker
21613b5cd2 More consideration of correct behavior on extrusion for smoothie
Better suppression of multiple M114 commands
Don't send G90 if it has already been sent

issue: MatterHackers/MCCentral#5227
Can't unload T1

issue: MatterHackers/MCCentral#5219
'Unload filament' extrudes filament indefinitely.
2019-04-01 16:18:29 -07:00
LarsBrubaker
7368536188 Don't send redundant M114
More tool change tests
2019-04-01 16:17:45 -07:00
LarsBrubaker
d0181a1de2 Many new tool change tests written and passing 2019-04-01 16:17:43 -07:00
jlewin
2f44b8e5c0 Update pause handling stream layer number detection
- Add test for layer number detection - GetLayerNumber(line)
- Issue MatterHackers/MCCentral#5024
Read thread exited with S3D gcode
2019-04-01 11:35:28 -07:00
Lars Brubaker
4a571418f6 spelling fixes 2019-03-29 13:58:13 -07:00
jlewin
e1567af7c2 Enable emulator in Release tests 2019-03-27 13:19:58 -07:00
LarsBrubaker
5dbbc9700d Changed the time out time to 1 minutes 2019-03-27 10:56:38 -07:00
LarsBrubaker
a2b2bf599e Make sure we don't use GetAwaiter in normal code
issue: MatterHackers/MCCentral#5218
Avoid .GetAwaiter().GetResult() like .Wait and .Result

turn the actual testing of lines back on
2019-03-26 21:40:48 -07:00
LarsBrubaker
dbd6380445 Make sure we get the exception back 2019-03-26 21:29:20 -07:00
LarsBrubaker
3a451f9591 Added a test that we don't heat T1 when only using T0 2019-03-26 21:10:52 -07:00
Lars Brubaker
cae6a7679b Got one of the dual extruder switching tests passing
Tool change stream tracking requested temps
Made printer use settings for settings rather than keeping a copy
Moved getting a line without checksum to GCodeFile so it can be re-used
2019-03-26 21:10:51 -07:00
Lars Brubaker
e7fe7bb8da Put in improved terminal filtering 2019-03-26 21:10:51 -07:00
LarsBrubaker
2cb8d521af allow printer connection to take a stream to print 2019-03-26 21:10:51 -07:00
Lars Brubaker
1903f701df updated tests with baby step change consideration 2019-03-21 14:57:08 -07:00
Lars Brubaker
8b4fd20889 Made a global baby step for all extruders
will calibrate extruder relative offsets separately
2019-03-21 13:18:24 -07:00
LarsBrubaker
64e3104d53 Move extruder offset back into baby step stream as it is always required
make sure we return the offsets for extruder 0 (needed for z offset)
Remove unused offset stream

issue:
MatterHackers/MCCentral#5150
re-slice not propogating final extruder through the stack correctly
2019-03-13 16:15:49 -07:00
Lars Brubaker
a4811285c3 Have the temp changing working and passing tests 2019-03-08 13:48:14 -08:00
Lars Brubaker
58e9732267 Getting a new tool change stream test together 2019-03-08 13:48:14 -08:00
LarsBrubaker
229ff18baf Fix stream tests considering max length stream changes 2019-03-03 08:41:38 -08:00
jlewin
7e1917b032 Move stream debug helpers into base type 2019-03-01 13:52:03 -08:00
jlewin
1ce6c92b78 Update leveling tests for new behavior 2019-02-22 11:32:55 -08:00
jlewin
1ca0151eb6 Ignore WIP test 2019-02-19 16:02:36 -08:00
Lars Brubaker
3f0f8a2369 starting work on software endstops stream 2019-02-19 14:24:29 -08:00
Lars Brubaker
a460ddbbf7 Make export without leveling not do line splitting.
Adding tests for export with and without leveling

issue: MatterHackers/MCCentral#4840
Move chopping significantly increases size of exported .gcode files
2019-01-14 15:35:30 -08:00
Lars Brubaker
aad87e0fa5 fixing error in changing the sent line while printing 2019-01-02 14:08:54 -08:00
Lars Brubaker
d74357508d Don't strip comments while exporting 2018-12-20 16:56:25 -08:00
Lars Brubaker
c789a3fe0a More GCode export fixes
More GCode export tests
2018-12-20 16:01:03 -08:00