Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/sn4k3/UVtools.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'UVtools.WPF/UserSettings.cs')
-rw-r--r--UVtools.WPF/UserSettings.cs22
1 files changed, 22 insertions, 0 deletions
diff --git a/UVtools.WPF/UserSettings.cs b/UVtools.WPF/UserSettings.cs
index 853c257..9d2123f 100644
--- a/UVtools.WPF/UserSettings.cs
+++ b/UVtools.WPF/UserSettings.cs
@@ -43,6 +43,7 @@ namespace UVtools.WPF
private string _defaultDirectorySaveFile;
private string _defaultDirectoryExtractFile;
private string _defaultDirectoryConvertFile;
+ private string _defaultDirectoryScripts;
private bool _promptOverwriteFileSave = true;
private string _fileSaveNamePrefix;
private string _fileSaveNameSuffix = "_copy";
@@ -121,6 +122,13 @@ namespace UVtools.WPF
set => RaiseAndSetIfChanged(ref _defaultDirectoryConvertFile, value);
}
+ public string DefaultDirectoryScripts
+ {
+ get => _defaultDirectoryScripts;
+ set => RaiseAndSetIfChanged(ref _defaultDirectoryScripts, value);
+ }
+
+
public bool PromptOverwriteFileSave
{
get => _promptOverwriteFileSave;
@@ -618,6 +626,7 @@ namespace UVtools.WPF
private bool _computeOverhangs = true;
private bool _computeResinTraps = true;
private bool _computeTouchingBounds = true;
+ private bool _computePrintHeight = true;
private bool _computeEmptyLayers = true;
private bool _islandEnhancedDetection = true;
private bool _islandAllowDiagonalBonds;
@@ -639,6 +648,7 @@ namespace UVtools.WPF
private byte _touchingBoundMarginRight = 5;
private byte _touchingBoundMarginBottom = 5;
private bool _touchingBoundSyncMargins = true;
+ private decimal _printHeightOffset;
public bool ComputeIssuesOnLoad
{
@@ -682,6 +692,12 @@ namespace UVtools.WPF
set => RaiseAndSetIfChanged(ref _computeTouchingBounds, value);
}
+ public bool ComputePrintHeight
+ {
+ get => _computePrintHeight;
+ set => RaiseAndSetIfChanged(ref _computePrintHeight, value);
+ }
+
public bool ComputeEmptyLayers
{
get => _computeEmptyLayers;
@@ -836,6 +852,12 @@ namespace UVtools.WPF
set => RaiseAndSetIfChanged(ref _touchingBoundSyncMargins, value);
}
+ public decimal PrintHeightOffset
+ {
+ get => _printHeightOffset;
+ set => RaiseAndSetIfChanged(ref _printHeightOffset, value);
+ }
+
public IssuesUserSettings Clone()
{
return MemberwiseClone() as IssuesUserSettings;