Commit graph

118 commits

Author SHA1 Message Date
Lars Brubaker
977a2ec922 Return that SliceItem failed if we have nothing on the bed 2018-12-05 11:28:24 -08:00
Lars Brubaker
1a434b6388 Moved extruder offsets from passing to MS to being part of stream processing
Made '; NO_PROCESSING' track printer position correctly
issue: MatterHackers/MCCentral#4658
Create setting for ZOffset for extruder 2
2018-12-04 13:28:46 -08:00
Lars Brubaker
5fbf6281d7 put in the ability to specify "; NO_PROCESSING" on a gcode line
issue: MatterHackers/MCCentral#4663
set position Z Tower and no Level
2018-12-03 16:33:35 -08:00
Lars Brubaker
fa218d9ebe Making it possible to have a z offset in multi extruder setups 2018-12-03 14:58:42 -08:00
John Lewin
d850573340 Hook ProfileManager listener up to SettingChanged 2018-11-30 14:08:29 -08:00
John Lewin
ed16199978 Extract PrinterSettings from MatterControl 2018-11-30 14:08:29 -08:00
John Lewin
e53d1f614f Fire SettingChanged from ActiveMaterialKey setter 2018-11-30 14:08:29 -08:00
John Lewin
4ee6169778 Move MatterControl dependencies into application layer 2018-11-30 14:08:28 -08:00
John Lewin
4769ee451e Clarify scope of Just My Settings
- Issue MatterHackers/MCCentral#4570
All overridden settings should appear in "Just my settings"
2018-11-28 13:23:27 -08:00
Lars Brubaker
04211ec613 Removing PrinterCommunication from ActiveMaterialKey
issue: MatterHackers/MCCentral#4631
Remove PrinterConnection dependency in PrinterSettings.SetMaterialPreset
2018-11-26 14:23:03 -08:00
John Lewin
d7e243fd19 Extract embedded types to new files 2018-11-25 09:07:44 -08:00
John Lewin
da3bccb601 Move UI behavior into application layer 2018-11-25 09:07:44 -08:00
John Lewin
ac7d56ecdb Remove unused constructor and dependencies 2018-11-25 09:07:44 -08:00
John Lewin
18d4f3e193 Extract embedded type to new file 2018-11-25 09:07:44 -08:00
John Lewin
3113235ab6 Extract GCodeMacro.Run to extension method 2018-11-25 09:07:44 -08:00
John Lewin
2a2e052b53 Remove PrinterConfig reference from PrinterSettings 2018-11-25 09:07:44 -08:00
John Lewin
0b92b094eb Extract leveling validation from PrintLevelingData 2018-11-25 09:07:44 -08:00
John Lewin
3a3061978b Move SHA1 helpers into Agg, remove DataConverters3D dependency 2018-11-25 09:07:44 -08:00
John Lewin
91a9c33af7 Move LevelingSystem near PrinterSettings 2018-11-25 09:07:44 -08:00
John Lewin
c152da0228 Remove Localization dependency 2018-11-25 09:07:44 -08:00
John Lewin
cfeb515224 Move BedShape near PrinterSettings 2018-11-25 09:07:43 -08:00
John Lewin
2abdf9484b Extract settings validation from PrinterSettings
- Validation currently coupled to UI and MatterControl data
- Extracting to isolate dependencies
2018-11-25 09:07:43 -08:00
John Lewin
34c0c8cd30 Move settings recovery methods into ProfileManager 2018-11-25 09:07:43 -08:00
John Lewin
a0cd7eee52 Skip fields during merge that already equal target value
- Issue MatterHackers/MCCentral#4627
PrinterSettings merge pushes every imported value into target layer
2018-11-25 07:01:59 -08:00
John Lewin
ab82ad7a75 Use HoverImageWidget
- Issue MatterHackers/MCCentral#4585
Memory leak in ImageWidget when source image is static
2018-11-21 19:24:53 -08:00
John Lewin
0789160653 Only Save if changed
- Reduce file in use exceptions
2018-11-21 12:22:36 -08:00
John Lewin
d57620bc00 CodeFactor fixes 2018-11-21 11:18:14 -08:00
John Lewin
9923e13ac6 Clean up state after Delete Printer action
- Ensure OpenPrinters lists are up-to-date
- Ensure ID changes get synced
- Notify listeners when UserChanged due to sign in/out
- Clear ActivePrinters on UserChanged
- Eliminate WaitForReloadAll in non-reload scenario
2018-11-21 11:12:50 -08:00
John Lewin
ba862715c7 Revise naming to clarify behavior 2018-11-21 11:12:50 -08:00
John Lewin
466431b7e9 Remove UserChanged method, collapse into ProfileManger.Load(userID) 2018-11-21 11:12:50 -08:00
John Lewin
0137413966 Ensure _activeProfileIDs initialized before use 2018-11-21 11:12:50 -08:00
John Lewin
c30eb13688 Fire ActiveProfileModifed on Save if printer is open, pass Settings 2018-11-19 17:43:23 -08:00
John Lewin
bbcc3018f6 Listen for SettingChanged and update profile name/port as needed
- Move behavior back into ProfileManager
- Issue MatterHackers/MCCentral#4600
Hardware tab not syncing name changes
2018-11-16 15:53:44 -08:00
John Lewin
a15c98ea42 Dispose previous ProfileManager instance before assigning new 2018-11-16 15:53:44 -08:00
John Lewin
65ff632681 Make ProfileManager Disposable 2018-11-16 15:53:44 -08:00
John Lewin
2873a74ef7 Use standard event listener pattern 2018-11-16 15:53:43 -08:00
John Lewin
a1dc2cbaa6 CodeFactor cleanup 2018-11-16 05:12:34 -08:00
John Lewin
06e79394f2 Unregister listeners on Printer.Disposed
- Issue MatterHackers/MCCentral#4589
Ensure all printer.Disposed calls unregister listeners
2018-11-15 21:01:01 -08:00
John Lewin
51b15e053b Unregister listeners on Close
- Issue MatterHackers/MCCentral#4588
Listeners not unregistered on Close
2018-11-15 20:03:53 -08:00
John Lewin
5fe1d0e225 Use naming consistent with return types & behavior
- Issue MatterHackers/MCCentral#4554
Remove Profile nomenclature from ProfileManager
2018-11-15 20:03:49 -08:00
John Lewin
6de4906ee9 Remove dead code 2018-11-15 20:03:49 -08:00
Lars Brubaker
0babdab806 cleaning up MappedSetting 2018-11-14 13:33:25 -08:00
Lars Brubaker
1c9b105926 finishing up the removal of Rooded SettingsChanged
Added AnyPrinterSettingChanged event
2018-11-13 09:48:10 -08:00
Lars Brubaker
6405dad7ac Convert static SettingChanged event to instance based
issue: MatterHackers/MCCentral#4551
2018-11-12 17:45:13 -08:00
John Lewin
6e9d7b4b63 Remove ActivePrinter reference 2018-11-12 09:44:59 -08:00
John Lewin
1e7ac7f885 Remove LoadPrinter 2018-11-12 09:44:59 -08:00
John Lewin
39308e5b79 Restore open printers on load 2018-11-12 09:44:59 -08:00
John Lewin
0d9e6aadf2 Experimental multi-printer support 2018-11-12 09:44:59 -08:00
John Lewin
e2a6c761a4 Require and use printer reference rather than static ActivePrinter 2018-11-11 13:22:32 -08:00
Lars Brubaker
4bb93fcc19 changed CommunicationStateChanged to EventHandler 2018-11-09 13:19:29 -08:00