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

Output files of size zero #1

Open
mihai-stanimir opened this issue Feb 26, 2022 · 5 comments
Open

Output files of size zero #1

mihai-stanimir opened this issue Feb 26, 2022 · 5 comments

Comments

@mihai-stanimir
Copy link

mihai-stanimir commented Feb 26, 2022

GFormer is an awesome idea with this code, first of all.

Seems to work for very simple manipulation, but often once I want to export the new g-code I get a file of size zero, and I also lose any modifications to the g-code. Running this via Live Server. Any ideas where I should look or how to fix it?

Edit: I sliced my Benchy with PrusaSlicer with pretty much stock settings.

@zalo
Copy link
Owner

zalo commented Feb 28, 2022

Were any errors printed to the javascript/browser console?

@mihai-stanimir
Copy link
Author

None that I could find. But it seems to quickly reload afterwards.
Doing more tests, it doesn't seem to happen with the provided g-code. But with my own slicing of the Benchy in PrusaSlicer 2.4 I get weird results. I managed to get some deformed output, but the model doesn't look printable, with travel moves apparently replaced by extrusion moves. Not sure why this happens, and I imagine it could be caused by something in the original slicing.

@zalo
Copy link
Owner

zalo commented Feb 28, 2022

Could you upload your GCode?

The amplification should only multiply existing (positive) extruder movement; perhaps the slicer is creating small positive extrusions during travel moves...

@mihai-stanimir
Copy link
Author

Sure. I've attached the GCode from PrusaSlicer 2.4.0 and the output of GFormer after adding one deformation point. Hope this helps.

3DBenchy_0.1mm_PET_MK3S_2h53m.gcode.zip
one.zip

@zalo
Copy link
Owner

zalo commented Mar 1, 2022

Ahh, so it does.... I'll take a look to see why that is happening here...

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