Files
UVtools/UVtools.WPF/Controls/Tools/ToolMorphControl.axaml
T
Tiago Conceição 9ecfdf55ef v2.19.1
- (Add) Setting - Allow to resize the tool windows: Check this option if you have problems with content being cut on some windows, down-size the height by a bit and then expand to fix the content.
- (Fix) File formats: When converting from a TSMC-able file to an TSMC-unable file, the LiftHeight will be set to the total lift (1+2) as fail-safe guard
- (Fix) Pixel Arithmetic: Keep pattern visible by default to prevent content from being cut when made visible
- **(Fix) CTBv4:**
   - LiftHeight and LiftHeight2 properties when using TSMC, LiftHeight on CTB is the total of lifts 1+2
   - Soft-save is corrupting the file
2021-08-19 04:48:59 +01:00

79 lines
2.5 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.
&#x0a;Enable the 'Chamfer' to chamfer the iteration over layers, you can use a start iteration higher than end to perform a inverse chamfer.
&#x0a;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>
<Expander
Header="Kernel - Advanced options (Click to expand)"
Margin="0,10,0,0">
<uc:KernelControl
Name="KernelCtrl"
Margin="0,10,0,0"
/>
</Expander>
</StackPanel>
</UserControl>