mirror of
https://github.com/riegera2412/UVtools.git
synced 2026-07-26 10:26:12 +02:00
* **File formats:** * PhotonS: Implement the write/encode method to allow to use this format and fix the thumbnail * VDT: Allow to auto convert the .vdt to the target printer format using the Machine - Notes, using a flag: FILEFORMAT_YourPrinterExtension, for example: FILEFORMAT_CTB * (Fix) Unable to convert files with no thumbnails to other file format that requires thumbnails * **Tools:** * (Add) Re-height: Option to Anti-Aliasing layers * (Fix) Morph and Blur: The combobox was not setting to the selected item when preform a redo operation (Ctrl+Shift+Z) * **GUI:** * (Change) Progress window to be a grid element inside MainWindow, this allow to reuse the graphics and its elements without the need of spawning a Window instance everytime a progress is shown, resulting in better performance and more fluid transaction * (Improvement) Clear issues when generating calibration tests
84 lines
2.7 KiB
XML
84 lines
2.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:uc="clr-namespace:UVtools.WPF.Controls"
|
|
mc:Ignorable="d" d:DesignWidth="600" d:DesignHeight="400"
|
|
x:Class="UVtools.WPF.Controls.Tools.ToolMorphControl">
|
|
|
|
<StackPanel>
|
|
<Grid RowDefinitions="Auto,10,Auto" ColumnDefinitions="Auto,10,*">
|
|
<TextBlock
|
|
ToolTip.Tip="Selects the number of iterations/passes to perform on each layer using this mutator.
|
|

Enable the 'Chamfer' to chamfer the iteration over layers, you can use a start iteration higher than end to perform a inverse chamfer.
|
|

WARNING: Using high iteration values can destroy your model depending on the mutator being used, please use low values or with caution!"
|
|
VerticalAlignment="Center"
|
|
Text="Iterations:"/>
|
|
|
|
|
|
<StackPanel
|
|
Grid.Row="0"
|
|
Grid.Column="2"
|
|
Orientation="Horizontal" Spacing="10">
|
|
|
|
<NumericUpDown
|
|
Minimum="1"
|
|
Width="140"
|
|
Value="{Binding Operation.IterationsStart}"
|
|
/>
|
|
|
|
<TextBlock
|
|
VerticalAlignment="Center"
|
|
Text="To:"
|
|
IsEnabled="{Binding Operation.Chamfer}"/>
|
|
|
|
<NumericUpDown
|
|
Minimum="1"
|
|
Width="140"
|
|
Value="{Binding Operation.IterationsEnd}"
|
|
IsEnabled="{Binding Operation.Chamfer}"
|
|
/>
|
|
|
|
<CheckBox
|
|
ToolTip.Tip="Allow the number of iterations to be gradually varied as the operation progresses from the starting layer to the ending layer."
|
|
Content="Chamfer"
|
|
IsChecked="{Binding Operation.Chamfer}"
|
|
/>
|
|
</StackPanel>
|
|
|
|
<TextBlock
|
|
Grid.Row="2"
|
|
Grid.Column="0"
|
|
VerticalAlignment="Center"
|
|
Text="Operation:"/>
|
|
|
|
<ComboBox
|
|
Grid.Row="2"
|
|
Grid.Column="2"
|
|
HorizontalAlignment="Stretch"
|
|
Items="{Binding Operation.MorphOperation, Converter={StaticResource EnumToCollectionConverter}, Mode=OneTime}"
|
|
SelectedItem="{Binding Operation.MorphOperation, Converter={StaticResource FromValueDescriptionToEnumConverter}}"
|
|
/>
|
|
|
|
</Grid>
|
|
|
|
<Border
|
|
Margin="0,10,0,0" >
|
|
<Expander>
|
|
<Expander.Header>
|
|
<TextBlock Text="Kernel - Advanced options (Click to expand)"
|
|
FontWeight="Bold"
|
|
Cursor="Hand"/>
|
|
</Expander.Header>
|
|
<uc:KernelControl
|
|
Name="KernelCtrl"
|
|
Margin="0,10,0,0"
|
|
/>
|
|
</Expander>
|
|
</Border>
|
|
|
|
</StackPanel>
|
|
|
|
|
|
</UserControl>
|