Photonsters / Chitubox-Plugin-Helper

MIT License
13 stars 4 forks source link

Why do I get invalid file format on printer? #3

Open ForceFedDSM opened 4 years ago

ForceFedDSM commented 4 years ago

Thanks for your work. I needed a way to edit start layer heights on my files and this was perfect. I am using an Elegoo Mars(cbddlp file format)and your plugin. Once the folder appears, I make my gcode edit, save, and then click ok on msg box. The resulting file I get will not work on my printer. I assume if I was slicing for a particular printer, if there wasn't any conversion done by the plugin, that the resulting file would be sliced in the format chosen. Looking at the win_debug.py code, it doesn't look like any conversion is done to the file format, just captures the parameters and opens the message box.

I tried running plugin as supplied and changing output file extension to cbddlp, doesn't work with printer.

I edited debug.json to use cbddlp as file extension, I don't get an output file if I do this, strange.

Also, cbddlp uses RLE encoded images, this plugin looks to encode as RAW_PNG? How can I change that? Where is original documentation from Chitu? I can't find it anywhere.

X3msnake commented 4 years ago

cbddlp is a binary file completely different than a a zip file+gcode

Only way to make a plugin that works on the temp folder images is if you yourself pick those images and compile them to the cbddlp format

X3msnake commented 4 years ago

The cbddlp does not use Gcode. what are you trying to achieve? Probably better to use the PhotonFileEditor or any of the other .photon or .cbddlp tools from photonsters.org community projects

ForceFedDSM commented 4 years ago

I am working on a project that requires the resin tank to be installed after the printer homes. To do this, I need to edit first layer to ~100mm height and show blank image and/or don't turn light on. Another option, I could add the G0 Z100 to start code and add a timed pause. Using either option, I would also need to edit each layer height after first layer to an undetermined value at this stage. I'm guessing I'll have to add 0.05 to each layer until I can test. I have an elegoo mars and mars pro so I need files in cbddlp or ctb format.

X3msnake commented 4 years ago

cbddlp is the same as photon and you can use the photon file editor for that.

ctb is still unknown format so you are probably out of luck there or you have to reverse the format yourself... we know it uses greyscale instead of binary images... but that is about it.

maybe you can make the .photon file edit on PFE, rename it to cbddlp, open it on chitubox and save it as ctb as a work around

No dia domingo, 8 de março de 2020, ForceFedDSM notifications@github.com escreveu:

I am working on a project that requires the resin tank to be installed after the printer homes. To do this, I need to edit first layer to ~100mm height and show blank image and/or don't turn light on. Another option, I could add the G0 Z100 to start code and add a timed pause. Using either option, I would also need to edit each layer height after first layer to an undetermined value at this stage. I'm guessing I'll have to add 0.05 to each layer until I can test. I have an elegoo mars and mars pro so I need files in cbddlp or ctb format.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/Photonsters/Chitubox-Plugin-Helper/issues/3?email_source=notifications&email_token=ACUR56TTGDCFMZZZDR6GYKTRGPI4NA5CNFSM4LD2OF32YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEOE2QXI#issuecomment-596224093, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACUR56Q6HLN3AMQLO4LAPQDRGPI4NANCNFSM4LD2OF3Q .

-- Com os melhores cumprimentos, Vinicius Silva

X3msnake commented 4 years ago

alternatively you can use the timelapse tool that was made before the network tool to pause. once the machine is paused it accepts commands via network push but you have to dive into the code yourself or ask the Master that made the timelapser tool.

again this is for the photon and mars, i dont know how much the pro shares in terms of firmware with the classic mars

No dia segunda-feira, 9 de março de 2020, Vinicius Silva x3msnake@gmail.com escreveu:

cbddlp is the same as photon and you can use the photon file editor for that.

ctb is still unknown format so you are probably out of luck there or you have to reverse the format yourself... we know it uses greyscale instead of binary images... but that is about it.

maybe you can make the .photon file edit on PFE, rename it to cbddlp, open it on chitubox and save it as ctb as a work around

No dia domingo, 8 de março de 2020, ForceFedDSM notifications@github.com escreveu:

I am working on a project that requires the resin tank to be installed after the printer homes. To do this, I need to edit first layer to ~100mm height and show blank image and/or don't turn light on. Another option, I could add the G0 Z100 to start code and add a timed pause. Using either option, I would also need to edit each layer height after first layer to an undetermined value at this stage. I'm guessing I'll have to add 0.05 to each layer until I can test. I have an elegoo mars and mars pro so I need files in cbddlp or ctb format.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/Photonsters/Chitubox-Plugin-Helper/issues/3?email_source=notifications&email_token=ACUR56TTGDCFMZZZDR6GYKTRGPI4NA5CNFSM4LD2OF32YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEOE2QXI#issuecomment-596224093, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACUR56Q6HLN3AMQLO4LAPQDRGPI4NANCNFSM4LD2OF3Q .

-- Com os melhores cumprimentos, Vinicius Silva

-- Com os melhores cumprimentos, Vinicius Silva