Commit graph

72 commits

Author SHA1 Message Date
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
Lars Brubaker
57113f48f2 fixing test with new first move code 2018-12-06 17:58:36 -08:00
Lars Brubaker
844f97a060 Removed active printer static
issue: MatterHackers/MCCentral#4562
GCodeStream
2018-11-12 15:03:02 -08:00
John Lewin
ceda78872b Hold printer rather than PrinterSettings reference 2018-10-29 18:16:09 -07:00
John Lewin
544f389946 Switch to printer rather that PrinterSettings dependency
- MatterHackers/MCCentral#4299
Leveling data ignored by running MatterControl instance
2018-10-28 12:08:06 -07:00
John Lewin
4e019b4624 Remove failing tests dependencies on ActiveSliceSettings.Instance 2018-10-04 22:40:22 -07:00
LarsBrubaker
7e7d82df09 Fixed the resume test now that it does a move to set the speed 2018-04-22 21:46:11 -07:00
John Lewin
f5d31e7d29 Move Printing objects from GCodeVisualizer namespace to MC.Printing 2018-01-05 12:44:57 -08:00
John Lewin
ed66d862a4 Rename ApplicationControl static printer property to ActivePrinter 2017-09-17 14:01:58 -07:00
John Lewin
e1f3dec6b1 Make PrinterConnection.PrinterSettings private, use PrinterConfig 2017-09-15 12:09:56 -07:00
John Lewin
3f08e621bd Workarounds for issues in latest NUnit
- Assert.AreEqual on double values in a dedicated AppDomains crash
2017-09-14 23:45:56 -07:00
Lars Brubaker
b39666634a More making printerConnection passed to classes.
Made the speeds for movement controls be extensions methods on PrinterSettings
TODO: Why on ExportPrintItemPage was that if the leveling turned on or off we would show the check box by rebuilding that window.
2017-09-05 10:33:46 -07:00