fookatchu / pyphotonfile

Library for reading and writing files for the Anycubic Photon 3D-Printer (.photon and .cbddlp)
GNU General Public License v3.0
24 stars 9 forks source link

Phenom file Format Support - 3840*2160 #13

Open X3msnake opened 4 years ago

X3msnake commented 4 years ago

So i tried changing the hardcoded 2560x1440 XY size on the library to the Phenom file size and i was able to export the image slices.

Importing slices to file again result in a bad file that Chitubox can no longer read

what am I doing wrong?

image

image

X3msnake commented 4 years ago

So looks like this has to do with the file format being v2.

I sliced a file with the old photon slicer wich still outputs v1 format files and i managed to replace the images...

fookatchu commented 4 years ago

Hmm... v2 should be backwards compatible with v1, as far as I know. The only difference would be some extra fields if I remember correctly. Maybe there is some problem with the padding if the layers are too big. If you find out what exactly causes this I can write a fix.

cab404 commented 4 years ago

Can you please attach sample Phenom file, so I can compare them?