Commit graph

554 commits

Author SHA1 Message Date
John Lewin
7b4020523e Add AppContext object, move platform features to AppContext 2017-12-18 10:53:26 -08:00
John Lewin
13600b25ef Overridable TemperatureStream TempStabilizationTime 2017-12-15 19:21:50 -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
545d19acd6 Once we replace the line don't process it any more 2017-12-05 15:38:05 -08:00
Lars Brubaker
e8dcea1987 Don't process empty strings 2017-12-05 10:39:08 -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
02443adebc Guard for test scenarios with uninitialized environment 2017-11-14 17:56:16 -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
Lars Brubaker
c1aed47756 Hook up error message 2017-10-10 16:40:59 -07:00
Lars Brubaker
5e01c82125 Make sure we cancel the macro stream on canceling the macro window 2017-09-26 13:10:33 -07:00
John Lewin
c9e37d1db5 Fix CloseShouldNotStopSDPrint test 2017-09-23 09:19:32 -07:00
John Lewin
eb4560cc8c Take dependency as constructor parameter, make private 2017-09-20 15:40:27 -07:00
John Lewin
9721f93266 Rename instance method to Connect 2017-09-18 12:14:58 -07:00
John Lewin
76e7af0436 Eliminate PrinterConnection.Instance 2017-09-17 21:08:16 -07:00
John Lewin
de922d8a2e Convert PrinterConnection usage from static to local references 2017-09-17 13:31:32 -07:00
John Lewin
d258b60bb1 Extract embedded types to new file 2017-09-17 13:31:32 -07:00
John Lewin
294df0a588 Convert ActiveSliceSettings usage from static to local references 2017-09-17 01:12:18 -07:00
John Lewin
b77d9db15a Remove activePrintItem reference from PrinterConnection, use Bed ref 2017-09-16 21:25:31 -07:00
John Lewin
55ac2571fa Remove static ActivePrintItem 2017-09-15 18:45:21 -07:00
John Lewin
e1f3dec6b1 Make PrinterConnection.PrinterSettings private, use PrinterConfig 2017-09-15 12:09:56 -07:00
Lars Brubaker
9479c2a061 Finished the temperature widget tests and implementation
Refactoring extruder to hotend where true
2017-09-08 10:23:28 -07:00
Lars Brubaker
0a54cd266b Wrote test for Hotend drop down
Theme  the folders check box
Make sure we reset the macros when we start them (made clear by unload -> cancel -> unload)
Made fan controls more consistent with actual data model of printer
improved edit number display to be more consistent with 3d number edits
2017-09-07 16:24:31 -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
Lars Brubaker
1f58e6c987 More making printerConnection passed to classes. 2017-09-03 15:51:14 -07:00
Lars Brubaker
3dd9270797 More making printerConnection passed to classes. 2017-09-03 11:48:24 -07:00
Lars Brubaker
611ff4799a Made the bed change on printer change
Started work on a publish to MatterHackers
2017-08-31 15:52:47 -07:00
Lars Brubaker
293fd3ff12 Made more tests pass
deleted unused print status row
Made printer connection only have one status message output
Made sure the ApplicationTemDataPath is right for tests
Refactoring
2017-08-30 10:38:01 -07:00
John Lewin
559c300cb4 Revise WizardWindow api
- WizardPage instance should drive window namespace and title
- Key open windows page initial WizardPage type
2017-08-23 15:51:29 -07:00
John Lewin
3a9833697d Platform providers
- New Provider model
- Remove WindowsFileDialogs project
- Remove PlatformAbstract assembly, use AggContext
- Rename OsInformation to OperatingSystem
2017-08-22 13:42:34 -07:00
John Lewin
ea28bb7999 Fix touchscreen build breaks 2017-08-20 13:24:49 -07:00
Lars Brubaker
7a04b93d57 Refactoring QueuedCommandsStream to take a PrinterConnection
Moved MacroProcessing out of QueuedCommandsStream
2017-08-04 09:37:28 -07:00
Lars Brubaker
c65380ef66 Renaming members for clarity 2017-08-03 16:35:22 -07:00
Lars Brubaker
28668ca3da Making printer connection have lest instance data 2017-08-03 15:24:41 -07:00