ezrec / uv3dp

Tools for UV Resin based 3D Printers (in Go)
MIT License
58 stars 14 forks source link

fixed reading error of pw0 files #120

Closed ZeoX06 closed 3 years ago

ZeoX06 commented 3 years ago

Hi, I got the following error message: "panic: preview image 224x168: Expected 75264 bytes of image, got 75280" File was created with Anycubic Photon Workshop V2.1.24. Now the uv3dp info command is showing the right information of pw0 files for Anycubic Photon Zero.

Layers: 201, 480x854 slices, 55.44 x 98.64 x 10.05 mm bed required
Total time: 36m27s (32m0s exposure, 4m27s motion)
Exposure: 8s on, 1s off
Bottom: 60s on, 1s off (6 layers)
Lift: 6 mm, 180 mm/min
Retract: 0 mm, 180 mm/min
ezrec commented 3 years ago

Merged in PR #124

Consider enabling GitHub Actions in your repo fork's settings, to enable per-branch units test Workflows (which will make merging a PR a one-click operation on my side)

ZeoX06 commented 3 years ago

Thank you for integrating the changes and fixing of the unit tests, next time I will enable GitHub Actions.