Skip to content

[Bug] clone layers, doesn't always increase layerheight if used on layer 1 and layer 0 is empty #1046

@djamu

Description

@djamu

System

UVtools v5.1.4 X64
Operative system: Microsoft Windows 6.1.7601 Service Pack 1 X64
Processor: Intel(R) Core(TM) i7 CPU         920  @ 2.67GHz
Processor cores: 8
Memory RAM: 9.20 / 12.00 GB
Runtime: win-x64
Framework: .NET 9.0.6
AvaloniaUI: 11.3.2
OpenCV: 4.10.0

Sreens, resolution, working area, usable area:
1: 2048 x 1152 @ 100%
    WA: 2048 x 1152    UA: 2048 x 1152
2: 2048 x 1152 @ 100% (Primary) (On this)
    WA: 2048 x 1152    UA: 2048 x 1152
3: 2048 x 1152 @ 100%
    WA: 2048 x 1152    UA: 2048 x 1152

Path:       C:\Program Files\UVtools\
Executable: C:\Program Files\UVtools\UVtools.exe
Loaded file: Impeller UTIII-R-63 B-printable-v3-20mm-thin.ctb [Version: 5] [Class: CTBEncryptedFile]

Printer and Slicer

  • Printer: Elegoo Saturn4 Ultra 16K
  • Slicer: Lychee

Description of the bug

When I use clone layers startying from the first layer, it increases the layer height eratically when layer 0 is empty.
I took 2screenshots to show what I did exactly. It doesn't add 0.3mm to the total height. The 2nd screenshot shows the situation working as intended.
Before this operation the layer heights are as follows.
This is originally a .goo file converted to .ctb V5

0 > 0.05mm ( empty layer )
1 > 0.05
2 > 0.1
3 > 0.15
4 > 0.2
5 > 0.25
6 > 0.3
....

Image

after this operation layer heights are as follows
0 > 0.05mm
1 > 0.05
2 > 0.05
3 > 0.1
4 > 0.1 *
5 > 0.15
6 > 0.2
7 > 0.25
8 > 0.25 *
9 > 0.3 ...
rest of the layers is normal

if I insert layers from layer 2 everything is normal.

Image

How to reproduce

Bug is 100 % reproducable

Files

No response

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions