Commit graph

195 commits

Author SHA1 Message Date
jlewin
2722f15473 Fix spelling
- Issue MatterHackers/MCCentral#5285
Typo in gcode output
2019-04-09 16:17:28 -07:00
jlewin
b2a54fd297 Extract StreamProcessor tool for interactive debugging 2019-04-09 14:05:25 -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
48f436cc4a added a T1 extrusion move speed multiplier
refactoring

issue: MatterHackers/MCCentral#5291
Create T1 printing move speed multiplier
2019-04-09 13:39:38 -07:00
Lars Brubaker
b094d882f1 Getting temp tests to work with new ToolChangeStream fix 2019-04-08 14:56:19 -07:00
jlewin
6b37fb57fb Fix observed toolchange mismatched 2019-04-08 14:06:34 -07:00
jlewin
b82cca9f04 Support WriteLineReplacements before StreamProcessor construction
- Issue MatterHackers/MCCentral#5259
Cannot connect to Flashforge Finder
2019-04-08 14:06:34 -07:00
LarsBrubaker
c93bb370bc Playing with a new web cache class 2019-04-07 11:10:28 -07:00
jlewin
005d9075c5 Ensure connection aborts due to timeouts are reported correctly
- Issue MatterHackers/MCCentral#5268
TcpipSerialPort should set reasonable timeout for connection attempt
2019-04-05 17:12:48 -07:00
jlewin
41c2e1c464 Ensure Cancel button is enabled after TcpipSerialPort Connect
- Issue
MatterHackers/MCCentral#5273
Connect button does not switch to Cancel connect on TcpipSerialPort
devices
2019-04-05 17:12:48 -07:00
jlewin
21252cd19a Fix whitespace 2019-04-05 17:12:48 -07:00
jlewin
dc22fb102c Set 8s connection timeout for TcpipSerialPort
- Issue MatterHackers/MCCentral#5268
TcpipSerialPort should set reasonable timeout for connection attempt
2019-04-05 17:12:48 -07:00
jlewin
cf06e19106 Remove try/catch from TcpipSerialPort.Open
- Allow exceptions to bubble to caller
- Issue MatterHackers/MCCentral#5271
TcpipSerialPort should not suppress connection failures
2019-04-05 17:12:48 -07:00
jlewin
1915bdf165 Only set stream properties on connection success
- Prevents null reference errors in the caught exception case
- Issue MatterHackers/MCCentral#5269
TcpipSerialPort throws when accessing null stream
2019-04-05 17:12:48 -07:00
jlewin
6721aa31b5 Only use default value if baud_rate is null or empty
- Issue MatterHackers/MCCentral#5259
Cannot connect to Flashforge Finder
2019-04-05 17:12:48 -07:00
jlewin
76c6fdc3fc Avoid LineSent for application messaging, use TerminalLog.WriteLine
- Issue MatterHackers/MCCentral#5267
CommunicationState change appears as line received in terminal
2019-04-05 17:12:48 -07:00
jlewin
6328e00090 Always set CommunicationState to Disconnected after Disable call 2019-04-05 11:46:32 -07:00
jlewin
af374e0abf Remove redundant EnableChanged event
- Issue MatterHackers/MCCentral#5265
Consider removing PrinterConnection.EnableChanged event
2019-04-05 11:44:55 -07:00
Lars Brubaker
641e5cdeee Make sure we always setup the read line replacements
issue: MatterHackers/MCCentral#5246
Smoothie machines don't print
2019-04-04 10:37:33 -07:00
jlewin
0203290148 Unregister TerminalLog listeners 2019-04-03 09:27:07 -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
4320ed954c make sure we return to correct temp on tool change
issue: MatterHackers/MCCentral#5223
Temperature progressively drops during dual extrusion prints.
2019-04-02 09:24:11 -07:00
John Lewin
c09e65fe72 Convert field to event 2019-04-01 17:08:01 -07:00
Lars Brubaker
dcedd2034e Getting messages for print finished and print canceled so we can display messages 2019-04-01 16:19:23 -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
LarsBrubaker
474d3894ed make sure we do not send empty G1
order GCode export steams the same as the printing streams
2019-04-01 16:14:43 -07:00
LarsBrubaker
6421798c36 spelling 2019-04-01 16:14:42 -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
jlewin
e1567af7c2 Enable emulator in Release tests 2019-03-27 13:19:58 -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
jlewin
a355a0e2aa Fix typos 2019-03-26 12:24:01 -07:00
jlewin
014040276f Add AnyCommunicationStateChanged event
- Issue MatterHackers/MCCentral#5197
Disable sign-in widget while printing
2019-03-22 14:53:23 -07:00
jlewin
51e56992b5 Improve naming 2019-03-22 14:53:18 -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
John Lewin
b6cddc2109 Use expected backing field naming 2019-03-20 23:50:56 -07:00
John Lewin
bbfdb1f908 Add missing else qualifier
- Issue MatterHackers/MCCentral#5192
DetailedPrintState oscillates between modes
- Issue MatterHackers/MCCentral#5179
Many independent heating tasks started
2019-03-20 23:49:20 -07:00
Lars Brubaker
062cb109f5 Creating separate printer delegate for detailed state (instead of shared communication state) 2019-03-20 13:26:15 -07:00
Lars Brubaker
545de62b99 turn off new emulated endstops by default
issue: MatterHackers/MCCentral#5173
Make new MC software endstops have a setting that turns it on and default it to off
2019-03-19 17:19:43 -07:00
jlewin
d4b91a84ba Disable stop button after invoke
- Issue MatterHackers/MCCentral#5112
Clicking Stop button multiple times causes Cancel G-Code to be sent
multiple times.
2019-03-19 13:44:35 -07:00
jlewin
9f5eb2c012 Fix typo 2019-03-19 13:13:14 -07:00
jlewin
e90dc032d6 Expose LevelingData with property, use cached backing field ref
- Issue MatterHackers/MCCentral#5077
PrintLevelingData reloaded for each line in gcode file
2019-03-19 12:37:57 -07:00
jlewin
9702ef321a Use reference to self 2019-03-18 14:23:10 -07:00
jlewin
afedb2555a Move temp processing into PrinterConnection 2019-03-18 14:12:09 -07:00
LarsBrubaker
d7f6469a59 Make sure we apply the offset as we are printing 2019-03-17 14:01:00 -07:00
LarsBrubaker
0e2f163f6e Working to add a xy calibration object 2019-03-15 14:12:13 -07:00