sn4k3 / UVtools

MSLA/DLP, file analysis, calibration, repair, conversion and manipulation
GNU Affero General Public License v3.0
1.21k stars 104 forks source link

[Bug] Incorrect Material Cost Calculation #780

Closed TRusselo closed 10 months ago

TRusselo commented 11 months ago

System

UVtools v4.0.3 X64
Operative system: Microsoft Windows 10.0.22621 X64
Processor: Intel(R) Core(TM) i9-9900KF CPU @ 3.60GHz
Processor cores: 16
Memory RAM: 12.93 / 15.92 GB
Runtime: win10-x64
Framework: .NET 6.0.23
AvaloniaUI: 11.0.5
OpenCV: 4.8.0

Sreens, resolution, working area, usable area:
1: 1920 x 1080 @ 100%
    WA: 1920 x 1032    UA: 1920 x 1032
2: 3840 x 2160 @ 100%
    WA: 3840 x 2112    UA: 3840 x 2112
3: 5120 x 1440 @ 100% (Primary) (On this)
    WA: 5120 x 1392    UA: 5120 x 1392

Path:       C:\Program Files\UVtools\
Executable: C:\Program Files\UVtools\UVtools.exe
Loaded file: phone_holeder_top_nut_scr_05h23m_108ml_copy.ctb [Version: 0] [Class: CTBEncryptedFile]

Printer and Slicer

Description of the bug

UVTools Material Cost $1.400,628.38 Lychee Material Cost $5.60 CAD

image

How to reproduce

Edit file in Lychee, click "calculate resin volume" in lower left corner, says CAD $5.60 export slices to file Open with UVtools (by clicking button in Lychee) Apply Suggestions ( ? unsure if required )

Noticed 1.4 million dollars at bottom of UV TOOLS

Files

phone_holeder_top_nut_scr (2).zip phone_holeder_top_nut_scr_06h08m_108ml_copy.zip

ctb files compressed to rar, then zipped

zip could not compress enough, rar not supported. sorry for the extra clicks, i promise nothing sketchy.

github-actions[bot] commented 11 months ago

This is your first time submitting an issue with UVtools 🥳Please review your issue and ensure that the submit template was followed, the information is complete, and not related to any other open issue. It will be reviewed shortly. Debugging is very important and make the program better. Thanks for contributing and making the software better! 🙌

sn4k3 commented 11 months ago

Not the first time I see such issue. It looks like a lychee bug when writing the file. If you look at properties of the file you can find that value. Note that values are only updated by UVtools when you save the file, before that what you see comes directly from slicer.

ie: try to slice same file on Chitubox and open in UVtools.

image