mirror of
https://github.com/riegera2412/UVtools.git
synced 2026-07-09 01:52:32 +02:00
v2.12.0
- **Layer arithmetic:** - (Add) Allow to use ':' to define a layer range to set, eg, 0:20 to select from 0 to 20 layers - (Improvement) Modifications with set ROI and/or Mask(s) are only applied to target layer on that same regions - (Improvement) Disallow set one layer to the same layer without any modification - (Improvement) Clear and sanitize non-existing layers indexes - (Improvement) Disable the layer range selector from dialog - (Fix) Prevent error when using non-existing layers indexes - (Fix) Allow use only a mask for operations - (Fix) Implement the progress bar - **File formats:** - (Add) VDA.ZIP (Voxeldance Additive) - (Improvement) Add a check to global `LightPWM` if 0 it will force to 255 - (Improvement) Add a check to layer `LightPWM` if 0 it will force to 255 - (Add) Allow to save the selected region (ROI) to a image file - (Update) .NET 5.0.5 to 5.0.6 - (Fix) Getting the transposed rectangle in fliped images are offseting the position by -1 - (Fix) Tools: Hide ROI Region text when empty/not selected
This commit is contained in:
@@ -514,10 +514,10 @@ namespace UVtools.Core.GCode
|
||||
|
||||
AppendLineIfCanComment(BeginLayerComments, layerIndex, layer.PositionZ);
|
||||
|
||||
if (layer.CanExpose)
|
||||
{
|
||||
AppendShowImageM6054(GetShowImageString(layerIndex));
|
||||
}
|
||||
//if (layer.CanExpose)
|
||||
//{ Dont check this for compability
|
||||
AppendShowImageM6054(GetShowImageString(layerIndex));
|
||||
//}
|
||||
|
||||
if (liftHeight > 0 && liftZPosAbs > layer.PositionZ)
|
||||
{
|
||||
@@ -627,7 +627,7 @@ namespace UVtools.Core.GCode
|
||||
float positionZ = 0;
|
||||
for (uint layerIndex = 0; layerIndex < slicerFile.LayerCount; layerIndex++)
|
||||
{
|
||||
var layer = slicerFile[layerIndex];
|
||||
var layer = slicerFile[layerIndex];
|
||||
if(layer is null) continue;
|
||||
var startStr = CommandShowImageM6054.ToStringWithoutComments(GetShowImageString(layerIndex));
|
||||
var endStr = CommandShowImageM6054.ToStringWithoutComments(GetShowImageString(layerIndex+1));
|
||||
|
||||
Reference in New Issue
Block a user