mirror of
https://github.com/riegera2412/UVtools.git
synced 2026-07-08 17:42:31 +02:00
5c5670f0b1
* (Add) Pixel Dimming: Chamfer - Allow the number of walls pixels to be gradually varied as the operation progresses from the starting layer to the ending layer (#106) * (Add) PrusaSlicer print profiles: 0.01, 0.02, 0.03, 0.04, 0.15, 0.2 * (Change) Morph: "Fade" to "Chamfer" naming, created profiles need redo * (Change) Pixel Dimming: Allow start with 0px walls when using "Walls Only" * (Change) PrusaSlicer print profiles names, reduced bottom layers and raft height * (Remove) PrusaSlicer print profiles with 3 digit z precision (0.025 and 0.035) * (Fix) PW0, PWS, PWMX, PWMO, PWMS, PWX file formats, where 4 offsets (16 bytes) were missing on preview image, leading to wrong table size. Previous converted files with UVtools wont open from now on, you need to reconvert them. (ezrec/uv3dp#124) * (Fix) Unable to run Re-Height tool due a rounding problem on some cases (#101) * (Fix) Layer preview end with exception when no per layer settings are available (SL1 case)
85 lines
2.6 KiB
XML
85 lines
2.6 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="450" 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="70"
|
|
Value="{Binding Operation.IterationsStart}"
|
|
/>
|
|
|
|
<TextBlock
|
|
VerticalAlignment="Center"
|
|
Text="To:"
|
|
IsEnabled="{Binding Operation.Chamfer}"/>
|
|
|
|
<NumericUpDown
|
|
Minimum="1"
|
|
Width="70"
|
|
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"
|
|
SelectedIndex="{Binding MorphSelectedIndex}"
|
|
Items="{Binding Operation.MorphOperations}"
|
|
/>
|
|
|
|
</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>
|