Skip to content
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

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

Open
ForceFedDSM opened this issue Mar 8, 2020 · 5 comments
Open

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

ForceFedDSM opened this issue Mar 8, 2020 · 5 comments

Comments

@ForceFedDSM
Copy link

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
Copy link
Member

X3msnake commented Mar 8, 2020

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
Copy link
Member

X3msnake commented Mar 8, 2020

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
Copy link
Author

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
Copy link
Member

X3msnake commented Mar 9, 2020 via email

@X3msnake
Copy link
Member

X3msnake commented Mar 9, 2020 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants