-
-
Notifications
You must be signed in to change notification settings - Fork 105
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] UVTools produces corrupted pm5s files for the Anycubic Photon Mono 5s #742
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! 🙌 |
If I understand correctly, the conversion out of SL1 generates a bad file, but if you reopen the file and force a resave without any other change it makes files good? |
That's correct. I've spent the last few days figuring out how to
consistently reproduce the problem. My method of forcing a re-save is to
edit the print settings to increase the base layers by 1 and then set it
back.
…On Tue, Jul 18, 2023, 7:34 PM Tiago Conceição ***@***.***> wrote:
If I understand correctly, the conversion out of SL1 generates a bad file,
but if you reopen the file and force a resave without any other change it
makes files good?
—
Reply to this email directly, view it on GitHub
<#742 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACQARWXHD2BEXRUIP6L2SRLXQ5BR5ANCNFSM6AAAAAA2PD2BWA>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
I forgot to mention that this happens on both Windows as well as MacOs
…On Tue, Jul 18, 2023 at 7:44 PM Chris Heiser ***@***.***> wrote:
That's correct. I've spent the last few days figuring out how to
consistently reproduce the problem. My method of forcing a re-save is to
edit the print settings to increase the base layers by 1 and then set it
back.
On Tue, Jul 18, 2023, 7:34 PM Tiago Conceição ***@***.***>
wrote:
> If I understand correctly, the conversion out of SL1 generates a bad
> file, but if you reopen the file and force a resave without any other
> change it makes files good?
>
> —
> Reply to this email directly, view it on GitHub
> <#742 (comment)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/ACQARWXHD2BEXRUIP6L2SRLXQ5BR5ANCNFSM6AAAAAA2PD2BWA>
> .
> You are receiving this because you authored the thread.Message ID:
> ***@***.***>
>
|
There is a better way to force a full save: Pixel editor and erase a black pixel on a black pixel (Does nothing but turns the full encode flag). Also, it's possible to change the save flag via Terminal with two lines of code. What I find between both: |
Can you check if theres an firmware upgrade for your printer? |
The printer is on 1.0.2.1 which is the latest version on Anycubic's site.
…On Wed, Jul 19, 2023 at 8:15 AM Tiago Conceição ***@***.***> wrote:
Can you check if theres an firmware upgrade for your printer?
Because that is not normal, it is trip by follow layer table and those are
correct set as I have checked.
Please report back with your firmware version
—
Reply to this email directly, view it on GitHub
<#742 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACQARWXML4QWBAWAMMWB6CLXQ72XLANCNFSM6AAAAAA2PD2BWA>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Ok, so let's do another test... |
I sliced this file in Anycubic Photon Workshop and it prints without
error: https://file.io/PEquEQfzs8y3
…On Wed, Jul 19, 2023 at 10:36 AM Tiago Conceição ***@***.***> wrote:
Ok, so let's do another test...
Slice a file on Anycubic slicer, test if its printing and attach here.
(Without UVtools processing)
—
Reply to this email directly, view it on GitHub
<#742 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACQARWT4HFLKEFRWTNKEXFDXRALJXANCNFSM6AAAAAA2PD2BWA>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Now try the same file but with per layer flag on (Manually edited): Diablo WingsPerLayer.zip |
Looks like it's the per layer flag. Your file exhibits the identical
behavior to all the other problematic files.
…On Wed, Jul 19, 2023 at 1:04 PM Tiago Conceição ***@***.***> wrote:
Now try the same file but with per layer flag on (Manually edited): Diablo
WingsPerLayer.zip
<https://github.com/sn4k3/UVtools/files/12099704/Diablo.WingsPerLayer.zip>
However, that produced file uses version 518 and UVtools was using 517.
—
Reply to this email directly, view it on GitHub
<#742 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACQARWQJEFFLOQNMKNCU6IDXRA4ULANCNFSM6AAAAAA2PD2BWA>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
I have the same issue when running Lychee Slicer 5.2.201 to slice followed by UV Tools 3.15.1 to post process. The Lychee generated file displays correct times and layers, however the UV Tools file does not print beyond the first layer, show a correct preview, or show correct times. This is evident on both the AnyCubic M5S interface as well as the AnyCubic Photon Workshop. |
- **UI:** - **Settings:** - (Add) Themes: Fluent default, which set light/dark mode depending on system settings - (Add) Theme density which only applies to Fluent theme - (Change) Themes: Rename "Default" to "Simple" - (Remove) Simple theme - **Exposure time finder:** - (Fix) "Multiple layer height" panel visibility was wrongly check for `ExposureTime` instead of `PositionZ` - (Fix) "Multiple exposures" panel was always visible even if not able - (Improvement) Disable "Multiple exposure" and "Multiple heights" for the AnyCubic format - **Tool windows:** - (Fix) Align the description to the left to fix the misalignment when resizing the window - (Fix) Make layer selection shortcuts to work - (Fix) Some invalid bindings - (Fix) Save properties to disk/clipboard was disabled when file has no thumbnails - (Fix) File - Reset layer properties was no unlocking the File - Save - (Improvement) When sending a command under "File - Terminal", it will now unlock the "File - Save" option and refresh the UI with the new information if changed - (Improvement) When moving model by an operation or suggestion it will redetect the issues to update their positions (#752) - **Layer actions - Import layer(s):** - (Add) Button to set the current layer - (Improvement) If any file isn't imported it will show an message informing why - (Fix) Layer properties were getting rebuilt (#739) - **File formats:** - (Change) Thumbnails logic, it's now a `List` instead of a fixed array, this allow to dynamic add or remove thumbnails without having a fixed number - (Fix) The flag for using per layer settings (`IsUsingGlobalParameters`) now take into account if layer is able to use each property in check before compare (#742) - (Fix) Accessing `BoundingRectangleMillimeters` was not calculating the `BoundingRectangle` if necessary - (Fix) SL1: Files with thumbnails size different from original SL1 would not display under the UI - (Fix) Anycubic: Model information is not set after an auto-conversion from SL1 - (Fix) CTB: Error when open file in partial model with malformed file due invalid checksum - (Fix) Image files: Could not find a writer for the specified extension (#755) - **UVtoolsCmd:** - (Add) "compare" command to compare two files and output the differences - (Add) "print-formats" command to print the available formats - (Improvement) Improve "extract" command to allow extract specific thumbnails or layers in a range or indexes (#754) - **Project:** - (Change) Rename UVtools.WPF to UVtools.UI - (Change) Make UVtools.UI nullable enabled - (Remove) UVtools.GUI - (Improvement) Use CompiledBinding instead of ReflectionBinding - (Improvement) Sign the libraries and project with a strong key - (Upgrade) .NET from 6.0.18 to 6.0.22 - (Upgrade) AvaloniaUI from 0.10.21 to 11.0.4 - (Upgrade) OpenCV from 4.7.0 to 4.8.0 - (Add) PrusaSlicer printer: Elegoo Saturn S
Fixed |
So the above comment
this is the fix? cant this be fixed in a uv tools update? or is this a anycubic issue? just clicking that button fixes the issue? or are there more steps required? I really want to use uv tools but i also get that first layer issue. a step by step guide also posted on reddit could save a lot of people a lot of time. edit: I am using version 4.0.1 and have the same issue |
It's fixed on v4, however the bug persist on the firmware, if you use the suggestions on UVtools it will enable the flag that trigger the problem. If you only use to fix issues it won't be enabled. If and only after you save the file the following highlight "PerLayerOverride" is True printer will produce that problem In your case if you see True you must turn that False by the trick of "reset layer properties". |
I am able to reproduce this bug with 4.0.3: After slicing the file with Lychee, and openning in UVTools the PerLayerOverride property is False: I used the Pixel Editor to delete a blank pixel and saved the file (Save As). After which the PerLayerOverride is True: Using the Reset Layer Properties does reset it back to False. Please let me know if you need any additional information. Thanks |
Yeah exactly. thats why we closed it. thanks for the heads up again |
I'm not sure I follow. Based on the comments above, I thought that 4.0.0 included a fix for UVTools to not always set PerLayerOverride to True when using it to detect and repair issues (i.e., islands, resin traps, etc.). Is that not the case? If not, I'm curious if there are plans to make that change or if this is the intended behavior? The workaround provided (thank you) is easy enough to make this a low priority, but it is easy to forget to do, If the change has been made, is there something I am doing incorrectly that is resulting in that property getting set to True? What triggers that change? Thanks |
You need to provide the file, for me replicate and find the problem.
Yes, until you apply suggestions or have them to auto apply the |
Here is the file created by Lychee before post-processing (PerLayerOverride=False): M5_100um_3DSLA_TestModel.pm5s This is the file saved by UVTools after solely using the Pixel Editor to delete a black pixel (PerLayerOverride=True): M5_100um_3DSLA_TestModel_00h32m_1ml_copy.pm5s Thanks |
The problem is on slicer or how you have configured it: All layers are set with 1200 mm/min lift speed, however the global properties are set with 180mm/min. UVtools find that and turn flag on to respect layer data instead. |
That makes sense. I'll take a look at fixing the profile in the slicer. Thank you for looking into this for me. |
System
Printer and Slicer
Description of the bug
Initial generated pm5s files are corrupted resulting in a print that does not proceed past the first layer. Print times displayed are several orders of magnitude greater than what's expected (hundreds of hours), and never proceeds past the first layer.
I've made both the bad and working pm5s files available here: https://file.io/JoWgslx6cLfQ as well as the sl1 file these were converted from. I can also share the original prusa project.
How to reproduce
If you reopen the pm5s file and make a no-op change and re-save it, the resulting file prints successfully.
Files
No response
The text was updated successfully, but these errors were encountered: