mirror of
https://github.com/riegera2412/UVtools.git
synced 2026-07-12 19:42:32 +02:00
15c500ecaf
- **PCB Exposure:** - (Add) Able to select multiple files and create a layer per file or merge them into one layer - (Add) Able to import files from a zip file - (Improvement) Round pixel coordinates and line thickness - (Improvement) Better position precision for primitives - (Improvement) Disable the ok button if no files were selected - (Change) Do not auto mirror based on printer lcd mirror type - (Fix) Limit line thickness to 1px minimum - (Fix) Allow leading zero omit from XY coordinates (#492) - (Fix) Mirror option was shifting the board position - (Add) Calibrate - Blooming effect: Generates test models with various strategies and increments to measure the blooming effect - (Add) Setting: Issues - Default order by, changes the default order on the issues list (#482) - (Improvement) CTBv4 and encrypted: Fetch `BottomWaitTimes` virtual property from first bottom layer that has at least 2 pixels (#483) - (Fix) Linux: Enable desktop integration for AppImages (#490) - (Fix) Extracting zip contents inside folders would cause a error and not extract those contents - (Upgrade) AvaloniaUI from 0.10.14 to 0.10.15 [Fixes auto-size problems]
74 lines
3.7 KiB
XML
74 lines
3.7 KiB
XML
<UserControl xmlns="https://github.com/avaloniaui"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
|
xmlns:i="clr-namespace:Projektanker.Icons.Avalonia;assembly=Projektanker.Icons.Avalonia"
|
|
mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
|
|
x:Class="UVtools.WPF.Controls.Tools.ToolRedrawModelControl">
|
|
<Grid RowDefinitions="Auto,10,Auto,10,Auto,10,Auto"
|
|
ColumnDefinitions="Auto,10,Auto">
|
|
<TextBlock Grid.Row="0" Grid.Column="0"
|
|
ToolTip.Tip="Select the sliced file without supports and raft. (Model B)"
|
|
VerticalAlignment="Center"
|
|
Text="Body file:"/>
|
|
<StackPanel Grid.Row="0" Grid.Column="2" Orientation="Horizontal" Spacing="1">
|
|
<TextBox
|
|
ToolTip.Tip="Select the sliced file without supports and raft. (Model B)"
|
|
IsReadOnly="True"
|
|
Watermark="Select the sliced file without supports and raft. (Model B)"
|
|
HorizontalAlignment="Stretch"
|
|
Width="505"
|
|
Text="{Binding Operation.FilePath}"/>
|
|
<Button
|
|
VerticalAlignment="Stretch"
|
|
ToolTip.Tip="Select the sliced file without supports and raft. (Model B)"
|
|
Command="{Binding ImportFile}"
|
|
i:Attached.Icon="fa-solid fa-file-import"/>
|
|
</StackPanel>
|
|
|
|
|
|
<TextBlock Grid.Row="2" Grid.Column="0"
|
|
VerticalAlignment="Center"
|
|
Text="Redraw:"/>
|
|
|
|
<StackPanel Grid.Row="2" Grid.Column="2" Orientation="Horizontal" Spacing="10">
|
|
<ComboBox
|
|
SelectedItem="{Binding Operation.RedrawType}"
|
|
Items="{Binding Operation.RedrawTypesItems}"
|
|
Width="120"/>
|
|
|
|
<CheckBox
|
|
VerticalAlignment="Center"
|
|
IsVisible="{Binding !Operation.RedrawType}"
|
|
IsChecked="{Binding Operation.ContactPointsOnly}"
|
|
ToolTip.Tip="If enabled, it will only redraw the supports with physical contact points within the model. (Slower)"
|
|
Content="Only the contact supports"/>
|
|
|
|
<CheckBox
|
|
VerticalAlignment="Center"
|
|
IsVisible="{Binding Operation.ContactPointsOnly}"
|
|
IsChecked="{Binding Operation.IgnoreContactLessPixels}"
|
|
ToolTip.Tip="If enabled, all supports pixels with no physical contact with the model will be ignored and maintain the same original brightness."
|
|
Content="Ignore contact-less pixels"/>
|
|
</StackPanel>
|
|
|
|
<TextBlock Grid.Row="4" Grid.Column="0"
|
|
VerticalAlignment="Center"
|
|
Text="Brightness:"/>
|
|
|
|
<StackPanel Grid.Row="4" Grid.Column="2" Orientation="Horizontal" Spacing="5">
|
|
<NumericUpDown
|
|
Classes="ValueLabel ValueLabel_sun"
|
|
Width="180"
|
|
Minimum="0"
|
|
Maximum="255"
|
|
Increment="1"
|
|
Value="{Binding Operation.Brightness}"/>
|
|
<TextBlock
|
|
VerticalAlignment="Center"
|
|
Text="{Binding Operation.BrightnessPercent, StringFormat=\{0:F2\}%}"/>
|
|
</StackPanel>
|
|
|
|
</Grid>
|
|
</UserControl>
|