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:
authorTiago Conceição <Tiago_caza@hotmail.com>2021-07-11 03:09:43 +0300
committerTiago Conceição <Tiago_caza@hotmail.com>2021-07-11 03:09:43 +0300
commit683a6f4fb4ba0942cb141245c7eff8afb7e43cea (patch)
tree045f1148096bf095df9002d298c7055af6407c0d /UVtools.WPF
parent29c485458ce300e0085d9af01ce2ecc87fd0cbd5 (diff)
v2.14.2v2.14.2
- **Exposure time finder:** - (Add) [ME] Option: 'Use different settings for layers with same Z positioning' - (Add) [ME] Option: 'Lift height' for same Z positioned layers - (Add) [ME] Option: 'Light-off delay' for same Z positioned layers - (Improvement) Auto-detect and optimize the 'multiple exposures' test to decrease the print time, by set a minimal lift to almost none - (Improvement) Better information on the thumbnail - (Fix) Importing a profile would crash the application - (Fix) Error with 'Pattern loaded model' fails when generating more models than build plate can afford (#239) - **GCode:** - (Fix) When the last layer have no lifts and a move to top command is set on end, that value were being set incorrectly as last layer position - (Fix) Layer parsing from mm/s to mm/m bad convertion - (Add) File formats: Setter `SuppressRebuildGCode` to disable or enable the gcode auto rebuild when needed, set this to false to manually write your own gcode - (Fix) ZCode: Some test files come with layer height of 0mm on a property, in that case lookup layer height on the second property as fallback
Diffstat (limited to 'UVtools.WPF')
-rw-r--r--UVtools.WPF/Controls/Calibrators/CalibrateExposureFinderControl.axaml91
-rw-r--r--UVtools.WPF/ErrorLog.cs4
-rw-r--r--UVtools.WPF/UVtools.WPF.csproj2
3 files changed, 76 insertions, 21 deletions
diff --git a/UVtools.WPF/Controls/Calibrators/CalibrateExposureFinderControl.axaml b/UVtools.WPF/Controls/Calibrators/CalibrateExposureFinderControl.axaml
index dd221a6..f15720a 100644
--- a/UVtools.WPF/Controls/Calibrators/CalibrateExposureFinderControl.axaml
+++ b/UVtools.WPF/Controls/Calibrators/CalibrateExposureFinderControl.axaml
@@ -896,24 +896,6 @@
Content="Enable - For advanced users only!"
IsChecked="{Binding Operation.MultipleExposures}"/>
- <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.
-&#x0a;Some printers may not support this and always require a lift after each layer, in that case turning this on will not affect the print."
- Content="Do not perform the lifting sequence for layers with same Z positioning"
- IsEnabled="{Binding Operation.MultipleExposures}"
- IsChecked="{Binding Operation.DontLiftSamePositionedLayers}"/>
-
- <CheckBox
- ToolTip.Tip="Sets the light-off delay to zero for each sequential layers with no lift's to save that additional time.
-&#x0a;Note that without a lift and a delay the UV LED and LCD will be almost always ON, that can lead to overheat and wear the LCD faster."
- Content="Also set light-off delay to zero"
- IsEnabled="{Binding Operation.DontLiftSamePositionedLayers}"
- IsChecked="{Binding Operation.ZeroLightOffSamePositionedLayers}"/>
- </StackPanel>
-
<TextBlock Text="Automatic exposure generation:"
IsEnabled="{Binding Operation.MultipleExposures}"
FontWeight="Bold"/>
@@ -1114,6 +1096,79 @@
</DataGrid>
+
+ <StackPanel Orientation="Vertical" Spacing="10"
+ IsEnabled="{Binding Operation.MultipleExposures}"
+ IsVisible="{Binding SlicerFile.SupportPerLayerSettings}">
+
+ <CheckBox
+ ToolTip.Tip="Change some defined settings for sequential layers that share same z position"
+ Content="Use different settings for layers with same Z positioning:"
+ FontWeight="Bold"
+ IsChecked="{Binding Operation.DifferentSettingsForSamePositionedLayers}"/>
+
+ <Grid RowDefinitions="Auto,10,Auto" ColumnDefinitions="Auto,10,Auto,5,Auto" IsEnabled="{Binding Operation.DifferentSettingsForSamePositionedLayers}">
+ <CheckBox Grid.Row="0" Grid.Column="0"
+ ToolTip.Tip="Use a low value to speed up layers with same Z position, lift is not really required here.
+&#x0a;Set no lift height (0mm) will not work on most of the printers, so far, only gcode printers are known/able to use no lifts.
+&#x0a;However set 0mm on a not compatible printer will cause no harm, value will be contained inside a min-max inside firmware."
+ Content="Lift height:"
+ IsVisible="{Binding SlicerFile.CanUseLayerLiftHeight}"
+ IsChecked="{Binding Operation.SamePositionedLayersLiftHeightEnabled}"
+ VerticalAlignment="Center"/>
+ <NumericUpDown Grid.Row="0" Grid.Column="2"
+ Increment="0.5"
+ Minimum="0"
+ Maximum="1000"
+ FormatString="F2"
+ IsVisible="{Binding SlicerFile.CanUseLayerLiftHeight}"
+ IsEnabled="{Binding Operation.SamePositionedLayersLiftHeightEnabled}"
+ Value="{Binding Operation.SamePositionedLayersLiftHeight}"/>
+ <TextBlock Grid.Row="0" Grid.Column="4"
+ Text="mm"
+ IsVisible="{Binding SlicerFile.CanUseLayerLiftHeight}"
+ VerticalAlignment="Center"/>
+
+ <CheckBox Grid.Row="2" Grid.Column="0"
+ ToolTip.Tip="Use a low value to speed up layers with same Z position, a delay is not really required here.
+&#x0a;Set no delay (0s) is not recommended for gcode printers, as most need some time to render the image before move to the next command, 2s is recommended as a safe-guard."
+ Content="Light-off delay:"
+ IsVisible="{Binding SlicerFile.CanUseLayerLightOffDelay}"
+ IsChecked="{Binding Operation.SamePositionedLayersLightOffDelayEnabled}"
+ VerticalAlignment="Center"/>
+ <NumericUpDown Grid.Row="2" Grid.Column="2"
+ Increment="0.5"
+ Minimum="0"
+ Maximum="1000"
+ FormatString="F2"
+ IsVisible="{Binding SlicerFile.CanUseLayerLightOffDelay}"
+ IsEnabled="{Binding Operation.SamePositionedLayersLightOffDelayEnabled}"
+ Value="{Binding Operation.SamePositionedLayersLightOffDelay}"/>
+ <TextBlock Grid.Row="2" Grid.Column="4"
+ Text="s"
+ IsVisible="{Binding SlicerFile.CanUseLayerLightOffDelay}"
+ VerticalAlignment="Center"/>
+
+ </Grid>
+
+
+ <!--
+ <CheckBox
+ ToolTip.Tip="The lift height will be set to 0 for sequential layers that share same z position, saving moves and time.
+&#x0a;Some printers may not support this and always require a lift after each layer, in that case turning this on will not affect the print."
+ Content="Do not perform the lifting sequence for layers with same Z positioning"
+ IsEnabled="{Binding Operation.MultipleExposures}"
+ IsChecked="{Binding Operation.DontLiftSamePositionedLayers}"/>
+
+ <CheckBox
+ ToolTip.Tip="Sets the light-off delay to zero for each sequential layers with no lift's to save that additional time.
+&#x0a;Note that without a lift and a delay the UV LED and LCD will be almost always ON, that can lead to overheat and wear the LCD faster."
+ Content="Also set light-off delay to zero"
+ IsEnabled="{Binding Operation.DontLiftSamePositionedLayers}"
+ IsChecked="{Binding Operation.ZeroLightOffSamePositionedLayers}"/>
+ !-->
+ </StackPanel>
+
</StackPanel>
</Expander>
diff --git a/UVtools.WPF/ErrorLog.cs b/UVtools.WPF/ErrorLog.cs
index d918064..7e2f229 100644
--- a/UVtools.WPF/ErrorLog.cs
+++ b/UVtools.WPF/ErrorLog.cs
@@ -15,7 +15,7 @@ namespace UVtools.WPF
try
{
File.AppendAllText(FullPath,
- $"({errorType}) @ {DateTime.Now}: {text}{Environment.NewLine}");
+ $"[v{App.VersionStr}] ({errorType}) @ {DateTime.Now}: {text}{Environment.NewLine}");
}
catch (Exception exception)
{
@@ -23,7 +23,7 @@ namespace UVtools.WPF
}
}
- public static StreamWriter AppendText()
+ public static StreamWriter GetStreamWriter()
{
return File.AppendText(FullPath);
}
diff --git a/UVtools.WPF/UVtools.WPF.csproj b/UVtools.WPF/UVtools.WPF.csproj
index d78fbe3..37b9bfc 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.14.1</Version>
+ <Version>2.14.2</Version>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">