diff options
author | Tiago Conceição <Tiago_caza@hotmail.com> | 2021-07-03 03:16:17 +0300 |
---|---|---|
committer | Tiago Conceição <Tiago_caza@hotmail.com> | 2021-07-03 03:16:17 +0300 |
commit | ac51b7c4e017f4e5abea87ad4def061584bc77f4 (patch) | |
tree | 8586e3cb34c97426e2824f07f6553c9738441fbd /UVtools.WPF | |
parent | 2329074efb137136db3597c95c040b3a8afdeeab (diff) |
v2.14.0v2.14.0
- **File Formats:**
- (Add) SL1S: Prusa SL1S Speed
- (Add) CTB v4 support (318570758)
- (Improvement) PHOTON, CBDDLP, CTB v2, PHZ: Disallow per layer settings, beside the format support, printers never use it
- (Improvement) Longer Orange format with new found keys
- (Improvement) CXDLP: Fix the resolution from CL-60 and trigger an error when a invalid resolution was set and unable to detect the printer model
- **Prusa Slicer:**
- (Add) UVtools Prusa SL1S SPEED
- (Add) Longer Orange 120
- (Fix) Creality HALOT-ONE CL-60: Flip resolution & display and remove mirror
- (Fix) Creality HALOT-SKY CL-89: Remove mirror
- (Improvement) Longer Orange printers with better default settings
- (Add) Button on `Help - Sponsor`: Open github sponsor webpage
Diffstat (limited to 'UVtools.WPF')
-rw-r--r-- | UVtools.WPF/Assets/Icons/heart-16x16.png | bin | 0 -> 189 bytes | |||
-rw-r--r-- | UVtools.WPF/Controls/Calibrators/CalibrateExposureFinderControl.axaml | 3 | ||||
-rw-r--r-- | UVtools.WPF/Controls/Calibrators/CalibrateExposureFinderControl.axaml.cs | 2 | ||||
-rw-r--r-- | UVtools.WPF/Controls/Tools/ToolDynamicLayerHeightControl.axaml.cs | 2 | ||||
-rw-r--r-- | UVtools.WPF/Controls/Tools/ToolDynamicLiftsControl.axaml.cs | 4 | ||||
-rw-r--r-- | UVtools.WPF/MainWindow.axaml | 10 | ||||
-rw-r--r-- | UVtools.WPF/UVtools.WPF.csproj | 2 |
7 files changed, 16 insertions, 7 deletions
diff --git a/UVtools.WPF/Assets/Icons/heart-16x16.png b/UVtools.WPF/Assets/Icons/heart-16x16.png Binary files differnew file mode 100644 index 0000000..ba3658d --- /dev/null +++ b/UVtools.WPF/Assets/Icons/heart-16x16.png diff --git a/UVtools.WPF/Controls/Calibrators/CalibrateExposureFinderControl.axaml b/UVtools.WPF/Controls/Calibrators/CalibrateExposureFinderControl.axaml index 612f590..0a95292 100644 --- a/UVtools.WPF/Controls/Calibrators/CalibrateExposureFinderControl.axaml +++ b/UVtools.WPF/Controls/Calibrators/CalibrateExposureFinderControl.axaml @@ -811,7 +811,8 @@ Content="Enable - For advanced users only!" IsChecked="{Binding Operation.MultipleExposures}"/> - <StackPanel Orientation="Horizontal" Spacing="20"> + <StackPanel Orientation="Horizontal" Spacing="20" + IsVisible="{Binding SlicerFile.CanUseLayerLiftHeight}"> <CheckBox ToolTip.Tip="The lift height will be set to 0 for sequential layers that share same z position, saving moves and time. diff --git a/UVtools.WPF/Controls/Calibrators/CalibrateExposureFinderControl.axaml.cs b/UVtools.WPF/Controls/Calibrators/CalibrateExposureFinderControl.axaml.cs index 52aaf61..8b331d7 100644 --- a/UVtools.WPF/Controls/Calibrators/CalibrateExposureFinderControl.axaml.cs +++ b/UVtools.WPF/Controls/Calibrators/CalibrateExposureFinderControl.axaml.cs @@ -31,7 +31,7 @@ namespace UVtools.WPF.Controls.Calibrators set => RaiseAndSetIfChanged(ref _previewImage, value); } - public bool CanSupportPerLayerSettings => SlicerFile.HavePrintParameterPerLayerModifier(FileFormat.PrintParameterModifier.ExposureSeconds); + public bool CanSupportPerLayerSettings => SlicerFile.HaveLayerParameterModifier(FileFormat.PrintParameterModifier.ExposureSeconds); public CalibrateExposureFinderControl() { diff --git a/UVtools.WPF/Controls/Tools/ToolDynamicLayerHeightControl.axaml.cs b/UVtools.WPF/Controls/Tools/ToolDynamicLayerHeightControl.axaml.cs index 10398aa..040ef78 100644 --- a/UVtools.WPF/Controls/Tools/ToolDynamicLayerHeightControl.axaml.cs +++ b/UVtools.WPF/Controls/Tools/ToolDynamicLayerHeightControl.axaml.cs @@ -44,7 +44,7 @@ namespace UVtools.WPF.Controls.Tools return; } - if (!SlicerFile.HavePrintParameterPerLayerModifier(FileFormat.PrintParameterModifier.ExposureSeconds)) + if (!SlicerFile.HaveLayerParameterModifier(FileFormat.PrintParameterModifier.ExposureSeconds)) { App.MainWindow.MessageBoxWaring($"Your printer seems to not support this tool, still you are allowed to run it for analyze, packing layers or simulation.\n" + $"Do not print this file after run this tool on a not compatible printer, it will result in malformed model and height violation.\n" + diff --git a/UVtools.WPF/Controls/Tools/ToolDynamicLiftsControl.axaml.cs b/UVtools.WPF/Controls/Tools/ToolDynamicLiftsControl.axaml.cs index ef0e742..3e6b548 100644 --- a/UVtools.WPF/Controls/Tools/ToolDynamicLiftsControl.axaml.cs +++ b/UVtools.WPF/Controls/Tools/ToolDynamicLiftsControl.axaml.cs @@ -14,8 +14,8 @@ namespace UVtools.WPF.Controls.Tools { InitializeComponent(); BaseOperation = new OperationDynamicLifts(SlicerFile); - if (!SlicerFile.HavePrintParameterPerLayerModifier(FileFormat.PrintParameterModifier.LiftHeight) || - !SlicerFile.HavePrintParameterPerLayerModifier(FileFormat.PrintParameterModifier.LiftSpeed)) + if (!SlicerFile.HaveLayerParameterModifier(FileFormat.PrintParameterModifier.LiftHeight) || + !SlicerFile.HaveLayerParameterModifier(FileFormat.PrintParameterModifier.LiftSpeed)) { App.MainWindow.MessageBoxInfo("Your printer/format does not support this tool.", "Dynamic lifts - Printer not supported"); CanRun = false; diff --git a/UVtools.WPF/MainWindow.axaml b/UVtools.WPF/MainWindow.axaml index 478ecd4..9e0efbc 100644 --- a/UVtools.WPF/MainWindow.axaml +++ b/UVtools.WPF/MainWindow.axaml @@ -191,13 +191,21 @@ <MenuItem Header="_Donate" - InputGesture="Ctrl + Shift + F1" HotKey="Ctrl + Shift + F1" Command="{Binding OpenDonateWebsite}"> <MenuItem.Icon> <Image Source="\Assets\Icons\donate-16x16.png"/> </MenuItem.Icon> </MenuItem> + <MenuItem + Header="_Sponsor" + Command="{Binding OpenWebsite}" + CommandParameter="https://github.com/sponsors/sn4k3"> + <MenuItem.Icon> + <Image Source="\Assets\Icons\heart-16x16.png"/> + </MenuItem.Icon> + </MenuItem> + <Separator/> <MenuItem diff --git a/UVtools.WPF/UVtools.WPF.csproj b/UVtools.WPF/UVtools.WPF.csproj index 8af7821..cc83180 100644 --- a/UVtools.WPF/UVtools.WPF.csproj +++ b/UVtools.WPF/UVtools.WPF.csproj @@ -12,7 +12,7 @@ <PackageLicenseFile>LICENSE</PackageLicenseFile> <RepositoryUrl>https://github.com/sn4k3/UVtools</RepositoryUrl> <RepositoryType>Git</RepositoryType> - <Version>2.13.4</Version> + <Version>2.14.0</Version> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'"> |