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

STL file moves after pressing "Slice Now" #4792

Closed
Reconfirefly opened this issue Sep 23, 2020 · 5 comments
Closed

STL file moves after pressing "Slice Now" #4792

Reconfirefly opened this issue Sep 23, 2020 · 5 comments

Comments

@Reconfirefly
Copy link

Version

PrusaSlicer-2.2.0+win64-202003211145

Operating system type + version

Windows 10

3D printer brand / version + firmware version (if known)

Ender 5 Plus

Behavior

I have created a 350 x 350 mm rectangular bed to use prusaslicer with my E5+, but when I click slice now to slice the part, it ends up being shifted significantly in the direction of the red axis arrow (X or Y, not sure). This bug does not appear for the default prusa, or with the ender 3 preset. See the attached gif.
prusaslicer_bug

@lukasmatena
Copy link
Collaborator

Please, post a 3MF.

@Reconfirefly
Copy link
Author

3DBenchy.zip

There you are. I did a little more investigating, and it turns out that these lines in the starting gcode are the culprits...
G1 X60.0 E9.0 F1000.0 ; intro line
G1 X100.0 E12.5 F1000.0 ; intro line

@lukasmatena
Copy link
Collaborator

Thanks. The issue only affects the preview, not the gcode. And the culprit are not the intro lines, but the line just after it:
G92 E.0.0 ;. The extra dot after the E confuses the gcode preview so it shows the whole print shifted.

@lukasmatena
Copy link
Collaborator

The issue only affects the preview, not the gcode

Just to clarify that, I mean that the gcode extrusions have correct coordinates. The syntax error in G92 is probably interpreted by the gcode preview to set current nozzle position as zero (hence the shift depending on intro lines). I don't know what the printer firmware will do with it. Maybe the same, maybe not.

@Reconfirefly
Copy link
Author

That was the cause. Removed the extra period and all is working as it should.

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

3 participants