Lars Brubaker
bf2138c91c
Made smoothie printer work with run out sensor
...
Added "WRITE_RAW" comment parser that turns off checksum
Made readline rewrite work with multiple lines
2018-01-11 13:04:16 -08:00
John Lewin
f38be7eec8
Always initialize gCodeFileStream0, return -1 if null
...
- Issue MatterHackers/MCCentral#2599
Investigate PrinterRecoveryTest failure
2018-01-07 16:11:44 -08:00
John Lewin
98eacd8c44
Rename SendToDelegateFunctions to clarify behavior
2018-01-07 09:40:26 -08:00
John Lewin
87fab816dd
Remove seemingly unused code
2018-01-06 22:58:28 -08:00
John Lewin
98ac312331
Use lambdas
2018-01-06 22:23:44 -08:00
John Lewin
531376fb4f
Fix typo
2018-01-06 22:06:42 -08:00
John Lewin
2ab8002655
Rename sent/received events
...
- Issue MatterHackers/MCCentral#2597
Rename ReadLine event to resolve ambiguity in terms
2018-01-06 22:03:26 -08:00
John Lewin
59093ab73f
Move ReadLine replacement string parsing back into PrinterConnection
...
- Ensure update on settings change
2018-01-06 16:03:03 -08:00
John Lewin
f46aacf5c4
Remove SliceSettings coupling from PrinterConnection
...
- Add properties to PrinterConnection for dependencies in SliceSettings
- Set properties on construction
- Sync properties on change
2018-01-06 13:26:28 -08:00
John Lewin
723a48bcea
Remove Connect failed/troubleshoot UI from PrinterConnection
...
- Remove showHelpIfNoPort param
2018-01-06 12:00:14 -08:00
John Lewin
f5d31e7d29
Move Printing objects from GCodeVisualizer namespace to MC.Printing
2018-01-05 12:44:57 -08:00
John Lewin
976b0d18c6
Guard for null gCodeFileStream0
2018-01-05 11:46:07 -08:00
John Lewin
ccb833fc68
Improve Connect commands
...
- Move M110 reset from ClearQueuedGCode to CreateStreamProcessors
- Reduce to one M110 during connect
- Fix currentLineIndexToSend to position correctly
- Move loadedGCode into root stream processor
2018-01-04 18:32:54 -08:00
John Lewin
edceab2e85
Rename SendLineToPrinterNow -> QueueLine
...
- Issue MatterHackers/MCCentral#2550
SendLineToPrinterNow queues printer commands
2018-01-04 18:32:54 -08:00
John Lewin
2793db6a9a
During Connect, send raw line to printer rather than queueing
...
- Issue MatterHackers/MCCentral#2562
Unable to connect to Kossel Pro after PrinterConnection.Connect changes
2018-01-04 18:32:54 -08:00
John Lewin
0a074e7bcd
Possible workaround for stackoverflow exception
...
- Issue MatterHackers/MCCentral#2543
StackOverflowException during tests brings down NUnit
2017-12-31 14:21:12 -08:00
John Lewin
65f27e7267
Revise accessibility for touchscreen
2017-12-31 11:36:55 -08:00
John Lewin
aad001a634
Rename AbortConnectionAttempt to ReleaseAndReportFailedConnection
...
- Set failed connections to CommunicationStates.Disconnected
- Add ConnectionFailure.ConnectonLost enum value
- Issue MatterHackers/MCCentral#2539
WriteRawToPrinter should not use AbortConnectionAttempt
2017-12-31 06:15:17 -08:00
John Lewin
e529fc2cff
Reduce localization in PrinterConnection, move to application layer
...
- MatterHackers/MCCentral#2535
Remove localization from PrinterConnection
2017-12-31 06:15:16 -08:00
John Lewin
2dfb8dea10
Add notes around concerns
2017-12-31 06:14:19 -08:00
John Lewin
5809c51d39
Wait to set CommunicationStates.Connect until after ReadThread spinup
2017-12-31 06:14:19 -08:00
John Lewin
743b2ff0d7
Extract partial connection logic from loop, group with other steps
2017-12-31 06:14:19 -08:00
John Lewin
e02731207a
Remove dead code
2017-12-31 06:14:19 -08:00
John Lewin
0a1d0e2cfb
First functioning pass at consolidated connection logic
2017-12-31 06:14:19 -08:00
John Lewin
25cf68ee7a
Move connection validation logic from ReadFromPrinter to Connect
2017-12-31 06:14:19 -08:00
John Lewin
8d54e297e2
Collapse AttemptToConnect into Connect
2017-12-31 06:14:19 -08:00
John Lewin
65f29d82d8
Collapse Connect_Thread method into Connect
2017-12-31 06:14:19 -08:00
John Lewin
d0053fcbf2
Remove parallel connectThread logic, collapse into single call
2017-12-31 06:14:19 -08:00
John Lewin
940160042b
Remove null test for printer.Settings
2017-12-31 06:14:19 -08:00
John Lewin
e939dd0d8d
Move PrinterConnectionStatus from PrinterConnection to printer model
...
- Issue MatterHackers/MCCentral#2535
Remove localization from PrinterConnection
2017-12-31 06:14:19 -08:00
Lars Brubaker
cae45d4726
Make read regex able to return multiple lines
2017-12-15 16:21:45 -08:00
John Lewin
bd79414c34
Enable pause/resume on task, remove pause/resume/cancel from bar
...
- Issue MatterHackers/MCCentral#2407
Extend Tasks.Execute to support custom pause/stop implementations
2017-12-12 17:53:32 -08:00
Lars Brubaker
fb455b0353
Reset any time we think we see a g28 etc
2017-12-05 16:18:05 -08:00
Lars Brubaker
e70d1c780a
Don't send empty lines
2017-12-04 15:37:00 -08:00
LarsBrubaker
0353aab30c
Made it configurable if the motors are released automatically at the end of a print
2017-12-03 14:46:05 -08:00
Lars Brubaker
c43914861b
Don't ever set our index to less than 0
2017-11-30 16:52:52 -08:00
Lars Brubaker
cee88e16db
added ability to turn off send with checksum
...
made print_center setting show up
2017-11-30 13:59:25 -08:00
Lars Brubaker
cb94beb343
Make sure we process every line through write filters
...
Make regex stream connected to printer
2017-11-29 09:20:55 -08:00
John Lewin
f88e53b05c
Add explicit access modifiers, move statics to heading
2017-11-21 12:16:20 -08:00
John Lewin
fe72f0d2e4
Revise string variable names
2017-11-21 12:16:20 -08:00
Lars Brubaker
e9a88dd37a
Same fix as write buffer. Regex split needs a string.
2017-11-20 14:14:00 -08:00
John Lewin
46188d1eea
Reduce Print/Slice helper method couplings to PrintItemWrapper
2017-11-15 07:41:36 -08:00
John Lewin
23d7dedee7
Remove coupling to PrintItemWrapper, revise naming to follow suite
2017-11-14 14:02:56 -08:00
John Lewin
c1b2aeb7d8
Rename Wizard Window/Page -> Dialog Window/Page
2017-11-08 15:56:37 -08:00
Lars Brubaker
96f0977010
Made FanControls values go from 0-100
...
Made all values round trip without changing
Made sure we can't get into an update fan loop
Made printer connection hold the speed as a double but send as an int
Made sure the starting display value of EditableNumberDisplay is correct
2017-11-02 12:29:10 -07:00
Lars Brubaker
c02d2ca60f
Made an automation test for print recovery (made it pass)
...
Fixed the DoUndoTests
2017-11-01 13:57:45 -07:00
Lars Brubaker
359784877f
Unify Vector2 3 and 4 to have upper case field members
2017-10-31 12:53:46 -07:00
John Lewin
8ff0db18cd
Remove specialized PrinterSetup helpers from WizardWindow
2017-10-18 14:59:39 -07:00
John Lewin
fe6e93acef
Revise slicing to run as async tasks
...
- MatterHackers/MCCentral#1308
Change slicing thread system to run as async method
- MatterHackers/MCCentral#1941
Selecting 'Print' then viewing gcode does not show any gcode
2017-10-16 17:09:00 -07:00
Lars Brubaker
e737466184
Call the event correctly
2017-10-10 16:48:27 -07:00