Files
UVtools/UVtools.WPF/Controls/Tools/ToolLayerExportImageControl.axaml
T
Tiago Conceição c94b5fb7f1 v2.17.0
- **Windows MSI:**
   - (Fix) Use the folder programs x64 instead of x86 for new installation path (#254)
   - (Improvement) Mark program and all files as x64
   - (Improvement) Add UVtools logo to side panel and top banner
   - (Improvement) Add open-source logo to side panel
   - (Improvement) License text aligment and bold title
- (Add) File format: OSLA / ODLP / OMSLA - Universal binary file format
- (Add) Calibration - Lift height: Generates test models with various strategies and increments to measure the optimal lift height or peel forces for layers given the printed area
- (Add) Layer Actions - Export layers to images (PNG, JPG/JPEG, JP2, TIF/TIFF, BMP, PBM, PGM, SR/RAS and SVG)
- (Add) About box: License with link
- (Add) Include a copy of the LICENSE on the packages
- (Improvement) File formats: Implement `Wait time before cure` properties on file formats with light-off delay, when used it will calculate the right light-off delay with that extra time and set to `LightOffDelay` property
- (Improvement) Change all date times to Utc instead of local
- (Fix) Tool - Flip: 'Both' were not working correctly
- (Fix) Linux: File 'UVtools.sh' with incorrect line break type, changed to \n (#258)
2021-08-08 23:57:00 +01:00

68 lines
3.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"
mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
x:Class="UVtools.WPF.Controls.Tools.ToolLayerExportImageControl">
<StackPanel Orientation="Vertical" Spacing="10">
<Grid RowDefinitions="Auto,10,Auto,10,Auto,10,Auto,10,Auto,10,Auto,10,Auto"
ColumnDefinitions="Auto,10,500,5,Auto">
<TextBlock Grid.Row="0" Grid.Column="0"
VerticalAlignment="Center"
Text="Output folder:"/>
<TextBox Grid.Row="0" Grid.Column="2"
VerticalAlignment="Center"
IsReadOnly="True"
Text="{Binding Operation.OutputFolder}"/>
<Button Grid.Row="0" Grid.Column="4"
VerticalAlignment="Stretch"
Command="{Binding ChooseFolder}">
<Image Source="/Assets/Icons/open-16x16.png"/>
</Button>
<TextBlock Grid.Row="2" Grid.Column="0"
VerticalAlignment="Center"
Text="Prepend filename:"/>
<TextBox Grid.Row="2" Grid.Column="2" Grid.ColumnSpan="3"
VerticalAlignment="Center"
Text="{Binding Operation.Filename}"/>
<TextBlock Grid.Row="4" Grid.Column="0"
VerticalAlignment="Center"
Text="Image type:"/>
<ComboBox Grid.Row="4" Grid.Column="2" Grid.ColumnSpan="3"
HorizontalAlignment="Stretch"
Items="{Binding Operation.ImageType, Converter={StaticResource EnumToCollectionConverter}, Mode=OneTime}"
SelectedItem="{Binding Operation.ImageType, Converter={StaticResource FromValueDescriptionToEnumConverter}}"/>
<TextBlock Grid.Row="6" Grid.Column="0"
VerticalAlignment="Center"
Text="Rotate direction:"/>
<ComboBox Grid.Row="6" Grid.Column="2" Grid.ColumnSpan="3"
HorizontalAlignment="Stretch"
Items="{Binding Operation.RotateDirection, Converter={StaticResource EnumToCollectionConverter}, Mode=OneTime}"
SelectedItem="{Binding Operation.RotateDirection, Converter={StaticResource FromValueDescriptionToEnumConverter}}"/>
<TextBlock Grid.Row="8" Grid.Column="0"
VerticalAlignment="Center"
Text="Flip direction:"/>
<ComboBox Grid.Row="8" Grid.Column="2" Grid.ColumnSpan="3"
HorizontalAlignment="Stretch"
Items="{Binding Operation.FlipDirection, Converter={StaticResource EnumToCollectionConverter}, Mode=OneTime}"
SelectedItem="{Binding Operation.FlipDirection, Converter={StaticResource FromValueDescriptionToEnumConverter}}"/>
<CheckBox Grid.Row="10" Grid.Column="2"
ToolTip.Tip="Example:&#x0a;
Enabled: layer0010&#x0a;
Disabled: layer10"
Content="Pad layer index filename with left zeros"
IsChecked="{Binding Operation.PadLayerIndex}"/>
<CheckBox Grid.Row="12" Grid.Column="2"
Content="Crop image by selected ROI"
IsVisible="{Binding ParentWindow.IsROIVisible}"
IsChecked="{Binding Operation.CropByROI}"/>
</Grid>
</StackPanel>
</UserControl>