Commit graph

45 commits

Author SHA1 Message Date
jlewin
9efbca43c2 Change to default(Vector3) due to build error 2019-04-23 11:09:01 -07:00
jlewin
78e3a171df Remove unexpected addition 2019-04-23 10:55:23 -07:00
jlewin
5256267ea3 Consider OemLayer when migrating probe offsets
- Issue MatterHackers/MCCentral#5367
Trouble with Bed Leveling
- Issue MatterHackers/MCCentral#5278
Bed leveling with zero'd probe values crashes into bed
2019-04-23 10:49:50 -07:00
jlewin
654ad81ba1 Ignore ToolBounds property
- Issue MatterHackers/MCCentral#5370
Computed ToolBounds property serialized into printer settings
2019-04-23 10:49:50 -07:00
LarsBrubaker
73ebdde9e5 Changing nozzle1_inset to t0_inset
refactoring some surrounding code to talk about tool rather than nozzle
or hotend

figure it's better to do this change before we have any profiles with this set into them

issue: MatterHackers/MCCentral#5333
Consider if Tool nomenclature should be used instead of Nozzle
2019-04-20 21:03:05 -07:00
John Lewin
ddf9a8784f Invalidate per hotend bed textures on related settings change
- Issue MatterHackers/MCCentral#5321
2019-04-12 22:18:17 -07:00
jlewin
c7e2e693ad Fix hotend bounds 2019-04-12 16:44:06 -07:00
jlewin
1d1a06a966 Use new Vector4/Bounds field for nozzle insets 2019-04-12 16:44:06 -07:00
jlewin
db94e08e1c Move HotendBounds to PrinterSettings 2019-04-12 16:44:06 -07:00
jlewin
73c38a415f Add private OnDeserialize method 2019-04-12 16:44:06 -07:00
jlewin
1a0e0dfcb8 Move bed bounds to PrinterSettings 2019-04-12 16:44:06 -07:00
jlewin
bdb794514f Remove dead code 2019-04-12 16:41:22 -07:00
jlewin
57eeda3c2f Fix lost user probe setting
- MatterHackers/MCCentral#5281
UserLayer probe offsets lost during migration to new probe_offset
field
2019-04-08 14:06:34 -07:00
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)