Commit graph

708 commits

Author SHA1 Message Date
Lars Brubaker
a2e3c4f2ac added another support test 2019-04-11 14:17:52 -07:00
LarsBrubaker
2be74c87a0 Improving support generation in dual extrusion scenarios
issue: MatterHackers/MCCentral#5275
Dual extruder support fail
2019-04-10 18:25:12 -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
Lars Brubaker
b094d882f1 Getting temp tests to work with new ToolChangeStream fix 2019-04-08 14:56:19 -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
eafdb55262 Move Category attribute to class 2019-04-05 23:02:52 -07:00
John Lewin
0a2856296d Remove inputLines array, pass gcode string to RunSimulatedPrint() 2019-04-05 23:02:52 -07:00
John Lewin
d9f5623a19 Rename printer construction method 2019-04-05 23:02:52 -07:00
John Lewin
64e63a5a1d Extract test initialization code from printer construction method 2019-04-05 23:02:52 -07:00
John Lewin
9b18c230b9 Move expected results immediately before assert 2019-04-05 23:02:52 -07:00
John Lewin
1d145ccc80 Convert RunSimulatedPrint to extension method 2019-04-05 23:02:52 -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
eada7f8ed9 Need to write the probe_offset value correctly 2019-04-04 14:16:06 -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
405a836f17 Changing to a single field for probe_offset
issue: MatterHackers/MCCentral#5174
Consolidate probe z and xy into single field (like extruder offset)
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
21f92bf4eb More tests and better support generation
issue: MatterHackers/MCCentral#5004
Generate support from bed

issue: MatterHackers/MatterControl#4265
Support needed on flat surface

issue: MatterHackers/MCCentral#5047
Unusable support generated for item

issue: MatterHackers/MatterControl#4377
Bed Support
2019-03-29 15:24:34 -07:00
Lars Brubaker
4a571418f6 spelling fixes 2019-03-29 13:58:13 -07:00
Lars Brubaker
0ba8e47014 Support tests are currently passing
support handles selections better for create and remove
2019-03-29 10:10:39 -07:00
Lars Brubaker
6ac91df984 From bed support generation has tests for many scenarios and passes them. 2019-03-28 16:04:17 -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
b0404fc183 updated curve test to consider no re-positioning 2019-03-22 12:27:27 -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
fb9cda684e Debugging leveling offset problem 2019-03-11 16:01:15 -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
Lars Brubaker
a055192700 Changing to await able create methods
issue: MatterHackers/MCCentral#4966
async Rebuild calls must be awaited in Create methods
2019-03-04 14:00:52 -08:00
LarsBrubaker
229ff18baf Fix stream tests considering max length stream changes 2019-03-03 08:41:38 -08:00
LarsBrubaker
9baa0a86b4 Fixed a problem with fit to bounds and made a new validation test 2019-03-03 08:24:32 -08:00
LarsBrubaker
0a5b7eb7c8 Making new test for align and fit 2019-03-01 19:39:09 -08:00