Commit graph

32 commits

Author SHA1 Message Date
jlewin
37c942fdb2 Remove Helpers.ParseDouble
- Issue MatterHackers/MCCentral#5249
2019-04-04 14:36:31 -07:00
Lars Brubaker
0caaded36c actually addressed the issue: MatterHackers/MCCentral#5250
Inconsistent serialization format used for SettingsKey.probe_offset
2019-04-04 13:30:39 -07:00
Lars Brubaker
7f69315593 use Vector3 ToString for output
issue: MatterHackers/MCCentral#5250
Inconsistent serialization format used for SettingsKey.probe_offset
2019-04-04 13:30:38 -07:00
Lars Brubaker
a6f918ce12 fixing parsing and tests 2019-04-04 11:37:41 -07:00
Lars Brubaker
301bc9e797 improving probe settings migration
issue: MatterHackers/MCCentral#5252
Fix problem with loading xy and z probe offsets
2019-04-04 10:37:32 -07:00
John Lewin
a0059309b6 Simplify 2019-04-03 16:07:08 -07:00
John Lewin
ce5b17ee8b Remove IConvertible constraint 2019-04-03 16:07:03 -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
jlewin
08c1184b23 Simplify 2019-03-25 17:48:23 -07:00
jlewin
40a6c9438f Rename GetLongHashCode to GetGCodeCacheKey
- Issue MatterHackers/MCCentral#5194
Rename PrinterSettings.GetLongHashCode to better depict its intended
use
2019-03-22 14:19:06 -07:00
jlewin
7a893817a7 Only recover MaterialSettingsKeys if ActiveMaterialKey unset 2019-03-06 15:56:19 -08:00
jlewin
f3620aa29c Add custom converter to import non-serialized MaterialSettingsKeys
- Issue MatterHackers/MCCentral#5127
Active material lost after sync fixes
2019-03-06 15:56:18 -08:00
jlewin
588c7e3504 Fix errors in CopyFrom 2019-03-06 08:25:11 -08:00
jlewin
c42034480e Prevent Material/Quaility key assign on load, use correct key source 2019-03-06 08:25:11 -08:00
jlewin
c3914ed09c Ignore helper properties, value serialized with existing SettingsKey 2019-03-06 08:25:11 -08:00
jlewin
50ee6152c9 Use safer dictionary assignment
- Observed exception on Add with preexisting value
2019-03-06 08:25:11 -08:00
jlewin
2bb8f23611 Remove redundant event, use SettingChanged 2019-03-06 08:25:11 -08:00
John Lewin
a3d4a65a46 Eliminate serialized layer cascade
- Issue MatterHackers/MCCentral#5078
defaultLayerCascade serialized into PrinterSettings
2019-02-26 11:11:26 -08:00
jlewin
640833367d Update SwapToSettings to update in-place as recommended in TODO 2019-02-19 11:05:40 -08:00
LarsBrubaker
052048ee6e Much better Get Long Hash Code implementation 2019-01-28 20:21:20 -08:00
John Lewin
31dc4e0edf Filter validation errors to setting context
- Ensure that presets windows only show errors for preset values
- Issue MatterHackers/MCCentral#4896
Validation error appears in preset window for user override value
2019-01-28 17:11:11 -08:00
John Lewin
00a3b33a4c Remove unreachable code 2019-01-28 17:11:11 -08:00
John Lewin
e2a9d81e77 Inline type declarations 2019-01-28 17:11:11 -08:00
John Lewin
a26a474ab4 Remove properties.json, eliminate remaining dependencies 2019-01-14 12:06:13 -08:00
John Lewin
9dc181bd59 Convert properties.json into C# code 2019-01-14 12:06:13 -08:00
John Lewin
8fce34c8a5 Remove SettingsLayout.Instance, move to PrinterSettings.Layout 2019-01-06 13:28:37 -08:00
John Lewin
b327b95e4a Move settings dictionary into PrinterSettings 2019-01-06 13:19:01 -08:00
John Lewin
ae2da3b29c Remove GetSettingsData method, use SettingsData dictionary
- Issue MatterHackers/MCCentral#4821
Consider removing SettingsOrganizer.Instance.GetSettingsData
2019-01-06 11:39:14 -08:00
John Lewin
f06e67a65e Use EventHandler<StringEventArgs> for SettingChanged event
- Issue MatterHackers/MCCentral#4730
Event should declare specialized EventArgs used via EventHandler<T>
2018-12-21 18:37:11 -08:00
John Lewin
a366e1ad3b Use standard event pattern 2018-12-18 11:54:31 -08:00
John Lewin
ed16199978 Extract PrinterSettings from MatterControl 2018-11-30 14:08:29 -08:00
Renamed from MatterControlLib/SlicerConfiguration/Settings/PrinterSettings.cs (Browse further)