-
-
Notifications
You must be signed in to change notification settings - Fork 113
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug] Transition Layer Exposure Time Discrepancy between UVtools and Reality #984
Comments
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! 🙌 |
It's expected to have a small difference. Your printer uses hardware transition layers, the time is controlled by firmware and not by file. As so UVtools recreates the exposure time based on a simple math which can or not match the printer math for transition exposure time. Also, your measurement test is not accurate (Have a potential error), unless you do a video and use the frames to get the actual time between exposures. I won't consider that tool valid for this test, >200ms can easy pass between your action to lapse the timer. |
In other words the math/formula/calculation in UVtools is faulty. And I think I have an idea, what is wrong about it. I (and Chitubox it seems) would calculate the time decrease per transition layer as followed: And it seems that UVtools calculates: I testet it by increasing the number of bottom layers and the shown transition layer decrease time in UVtools also gets smaller. |
UVtools calculates the step like you have in chitu formula: UVtools/UVtools.Core/FileFormats/FileFormat.cs Lines 5254 to 5259 in 27f46ff
If you go to layer 2 you can see the information is right both in UVtools and File The bottom information has "different" information from your observations, which don't matter much as that is just a representation for HW controlled exposure. However you should get what layer table says when it's controlled by File, which in your case is not, it is controlled by firmware and they maybe use other formula! In other words no matter what time UVtools shows or set it won't make any difference, UNLESS you turn the flag to follow layer table instead of firmware globals. Also That reading comes from the file which was populated by slicer in first hand (Not UVtools): UVtools/UVtools.Core/FileFormats/FileFormat.cs Lines 5238 to 5245 in 27f46ff
|
Thank you for the further clarification! To conclude the findings: UVtools displays the decrease in exposure times which it finds between the last bottom layer and the first transition layer. Thus showing "technically correct" data. Again, thanks for clarifying and sorry for my persistence. My lack of knowledge really annoyed me and I needed to understand the connections between everything. |
Your printer can use custom transition times set by you, but the default for most printers that offer native transition is hardware. |
System
Printer and Slicer
Description of the bug
UVtools is showing wrong transition layer exposure times for a .ctb and .goo file sliced in ChituBox.
Print Settings: 2 Bottom Layers @ 20s, 5 transition layers, 2,1sek normal layers
Expected behaviour: Two layers @ 20s and then 5 Layers decreased by 2,98s every Layer.
Times shown in UVtools:
Layer 0: 20s
Layer 1: 20s
Layer 2: 17,76s
Layer 3: 15,52s
Layer 4: 13,29s
Layer 5: 11,05s
Layer 6: 8,81s
Layer 7: 2,1s
Times measured with a stopwatch at the printer:
Layer 0: 20s
Layer 1: 20s
Layer 2: 17,3s
Layer 3: 14,1s
Layer 4: 10,9s
Layer 5: 8,1s
Layer 6: 5,1s
Layer 7: 2,1s
Regarding my reaction times in handling the stopwatch, the measured data seems to be completely in the range of expected values (2,98s decrease in exposure time per Layer).
But UVTools shows completely different values.
How to reproduce
Shows up in every opened .ctb .goo file. (See attached file)
Files
TransTest.zip
The text was updated successfully, but these errors were encountered: