Commit graph

306 commits

Author SHA1 Message Date
Lars Brubaker
8d47359ad9 Clear user baby stepping after new print leveling.
settings save on change
removed redundant expand_thin_walls setting
2017-02-01 13:38:14 -08:00
larsbrubaker
cdab37fbb5 Made the probe height a settings value
MatterHackers/MatterControl#937
On print leveling setup move up an amount from the previous point, not to an absolute point
2017-02-01 07:54:55 -08:00
Lars Brubaker
b0d2ad7718 Put in error for external perimeter being bad value.
MatterHackers/MatterControl#1841
Outside Perimeters (Extrusion Width) setting does not have an error for invalid entries
2017-01-30 16:45:39 -08:00
Lars Brubaker
4fe9457901 Made a mapping for slic3r
Fixed slic3r bed shape
Fixed slic3r centering
2017-01-30 12:55:12 -08:00
Lars Brubaker
da7bc876a0 Fixed a fix needed test
Fixed macro progress display
2017-01-19 12:35:33 -08:00
Lars Brubaker
e086f6058d Make sure we recalculate leveling when the user changes settings in the editor. 2017-01-18 14:44:49 -08:00
John Lewin
405c40ba76 Remove comment, create issue 2017-01-11 14:40:53 -08:00
John Lewin
1eeaa5208d Move user-override stashing to PrinterSettings, invoke on SetValue
- Issue MatterHackers/MCCentral#1053
Editing Preset does not stash changes
2017-01-11 14:29:29 -08:00
Lars Brubaker
f0933631e1 Saving and restoring baby stepping 2017-01-04 15:35:38 -08:00
John Lewin
704cc13c04 Refactor ReloadAll 2016-12-29 11:11:56 -08:00
Lars Brubaker
ddc06594c9 Merge remote-tracking branch 'origin/master' into 1.6 2016-12-20 16:18:45 -08:00
John Lewin
e83c5e7388 Add LayerGCodeHasExpectedValue test
- Immutable PrinterSettings.BaseLayer
- Add PrinterSettings.AutoSave flag to support disabling autosave
  - Save to default path fails under test
- Add PrinterSettings.Save(path) to support manual save
- Migrate 'active_quality_key' to SettingsKey class
2016-12-20 10:45:32 -08:00
John Lewin
a566e745f2 Fix build breaks
- Default ActivePrinterSettings.Instance to EmptyProfile
- Clean up assignment code
- Move EmptyProfile to PrinterSettings
2016-12-14 17:19:19 -08:00
John Lewin
836dcee8b8 Improve startup state initialization
- Use single instance for .EmptyProfile
- Remove ActiveSliceSettings static constructor, rely on ProfileManager
- Remove SettingsKey.active_theme_name and db usage
- Revise LoadUITheme to only load oem or default color theme
- Only assign ActiveSliceSettings.Instance during ProfileManager assign
2016-12-14 16:18:54 -08:00
Tyler Anderson
dae087f87f Show error messages when exporting files fails 2016-12-14 12:45:56 -08:00
John Lewin
ff2f7d249e Prevent unexpected ActivePrinter changes
- Prevent selection changes on "Add New Printer..." menu item
- Prevent ActivePrinterChanged on differing EmptyProfile instances
- Prevent calling SwitchToProfile on PrinterSelector change if already
  on instance
2016-12-10 14:40:04 -08:00
John Lewin
8f7d1332f3 Update LastProfileID on create printer 2016-12-09 17:05:27 -08:00
Lars Brubaker
9896346610 Get the starting color set correctly
Made the android printer select window fix its colors on change
2016-12-09 10:40:01 -08:00
Lars Brubaker
d8d3e23522 Put in the action menus and controls. 2016-12-08 15:39:23 -08:00
Lars Brubaker
f4633a582f Fixed test
Refactored to NumberOfHotEnds
2016-12-07 16:26:35 -08:00
Lars Brubaker
dbd2c20398 Merge branch '1.6'
# Conflicts:
#	SlicerConfiguration/Settings/ProfileManager.cs
#	Tests/MatterControl.AutomationTests/PrintQueueTests.cs
#	Tests/MatterControl.Tests/MatterControl/MatterControlUtilities.cs
2016-12-07 16:14:56 -08:00
Lars Brubaker
837c445e0b Fixed shared temp showing correct controls for multiple extruders. 2016-12-07 15:45:46 -08:00
Lars Brubaker
83a3c87557 Quality settings override correctly. 2016-12-06 17:54:27 -08:00
John Lewin
755c7ac2aa Rewrite PrinterConfigTests to use .printer/PrinterSettings files
- Migrate first_layer_speed to SettingsKey
- Use specialized Asserts to assist in troubleshooting
- Improve failure text to assist in troubleshooting
- Process all layers in .printer files
2016-12-05 15:18:43 -08:00
larsbrubaker
78439d34ab Got the new mocros menu working well 2016-12-03 12:08:39 -08:00
John Lewin
c4bdc41b3e Ensure 'Import Printers' window appears after authentication
- Simplify wizard - move external code into button events
- Migrate from user specific constructor to static Load('user')
- Actually deserialize profile during Load
2016-11-30 13:44:31 -08:00
Matt Moening
b6d34bcdf7 Converted hard coded strings to SettingsKey 2016-11-29 12:17:36 -08:00
Matt Moening
701dd0bf48 Added Network Printing checks in Edit Printer Settings Page 2016-11-29 10:57:44 -08:00
John Lewin
6de490fd39 Force Make/Model to Other/Other if null or empty
- Workaround for server side requirements
2016-11-11 13:03:57 -08:00
Lars Brubaker
ff0c2738d8 Made importing a quality setting set the name correctly. 2016-11-07 12:41:05 -08:00
John Lewin
bd8c4b64f9 Ensure preset values initially take precedence over user overrides 2016-11-07 11:24:49 -08:00
John Lewin
a118df636a Restore environment specific Profile directories 2016-11-02 15:56:49 -07:00
John Lewin
861e8d4f1a Include more scope in lock 2016-10-31 13:34:36 -07:00
John Lewin
99762f5063 Remove .Profiles setter 2016-10-31 10:51:25 -07:00
John Lewin
cced08d2d4 Track sync calling context 2016-10-31 10:51:24 -07:00
Lars Brubaker
6509b8f287 Change wording to 'Restore Settings' 2016-10-28 16:32:00 -07:00
Lars Brubaker
a22ef1d32b Put in the ability to turn off Merge Overlapping Lines
Fixes a possible regression in slicing
2016-10-27 18:36:02 -07:00
John Lewin
67b151aa2c Revise IsGuestProfile property, revert LastSessionUsername changes 2016-10-21 16:12:47 -07:00
John Lewin
42cc88b9d4 Refactor ProfileManager to prefer isolated instances
- Replace DB nomenclatures with ProfilesDoc/Profiles terms
- Convert SetLastProfile() to LastProfileID property
- Remove LoadLastProfileWithoutRecovery function
  - Use LoadWithoutRecovery(LastProfileID)
  - One caller, far more clear with only one LoadWithout function
- Move safe FileSystem UserName to AuthenticationData, like UserName
- Skip importing guest profiles that are missing PrinterSettings files
2016-10-21 13:00:53 -07:00
Lars Brubaker
47968f566f Going back to the old leveling method. 2016-10-19 16:03:08 -07:00
Lars Brubaker
b659a3ea50 Make sure we clear z_offset_after_home on reset. 2016-10-18 15:58:50 -07:00
Lars Brubaker
a22093bfcf Write the current color into printers on creation. 2016-10-18 11:45:47 -07:00
Matt Moening
a23b66e966 Creating a new printer maintains the current color
- The color is also set as the printer's active theme
2016-10-18 11:19:04 -07:00
Matt Moening
6b586be835 Fixed color behavior for users with unset default
-  When both the user and oem settings are unset we now both set the active theme color to be blue and set this as the user default
 - Removed redundant null check/fallback.
2016-10-17 12:55:18 -07:00
John Lewin
35a25c4957 Prevent invoke on SyncPrinterProfiles if null 2016-10-15 12:35:39 -07:00
Lars Brubaker
3bb439d198 Make it possible to have the print leveling go negative
Took out the 2 point leveling solution
MatterHackers/MatterControl#804
2016-10-11 14:56:36 -07:00
larsbrubaker
426c0ede6a Code to enable going below 0 for printe recovery 2016-10-10 19:30:48 -07:00
Lars Brubaker
7712dab117 Merge branch 'master' into master 2016-10-10 13:06:17 -07:00
Matt Moening
076619d0eb Fix Regression in user color preservation
- Setting color for a printer sets value in user settings
 - use UserSetting color as default for loading theme color
 - if Active slice settings dont have an active theme set it to default
 - If user setting  theme is null attempt to load OemColor preference and set as user setting theme
2016-10-10 12:55:14 -07:00
Lars Brubaker
eccc9a2a81 Fixed a bug in getting extruder temps
Made temperature a settings key
MatterHackers/MCCentral#553
Extruder and bed not being heated before printing
2016-10-10 12:44:22 -07:00