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

Gcode seems to be at wrong x/y position #1583

Closed
jesterhead82 opened this issue Sep 22, 2021 · 6 comments
Closed

Gcode seems to be at wrong x/y position #1583

jesterhead82 opened this issue Sep 22, 2021 · 6 comments
Labels

Comments

@jesterhead82
Copy link

Describe the bug
When slicing for example the attached files the Gcode seems to be at wrong x/y positions, using 2.3.57
This happens also when i slice other objects.
FYI: This happens only with my second printer profile (first one is 1 300x300 printer, 2nd is a 180x180 printer), this does not happen on the first printer (here it gets centers in the gcode as in the plate view)

Plate:
image

Sliced:
Mini Bear 2 Left Z-Axis_with Retract.zip
image

GCode Preview:
image

Gcode In PS Gcode viewer:
image

Mini Bear 2 Left Z-Axis_with Retract.zip

@jesterhead82
Copy link
Author

Hello,

I found out that only the Gcode view seems to be shifted (for all prints), but when I print the sliced Gcode everything is fine.

@supermerill
Copy link
Owner

maybe something with 32 bit precision somewhere... i'll check.

@supermerill supermerill added the bug Something isn't working as intended label Sep 26, 2021
@supermerill
Copy link
Owner

your start_filament_gcode

; Filament gcode
G0 Z0.2;Move to default first layer height
G92 Z0.2-0.04} ; Positive Value means lower z base
G0 Z0.2;Move to adjusted first layer height

; Filament gcode\nM900 K{if printer_notes=~/.*PRINTER_MODEL_MINI.*/ and nozzle_diameter[0]==0.6}0.12{elsif printer_notes=~/.*PRINTER_MODEL_MINI.*/}0.1{elsif printer_notes=~/.*PRINTER_HAS_BOWDEN.*/}200{elsif nozzle_diameter[0]==0.6}18{else}0{endif} ; Filament gcode

look at the third line, there is an error.
do you mean G92 Z{0.2-0.04} ?

@supermerill supermerill added question and removed bug Something isn't working as intended labels Sep 26, 2021
@jesterhead82
Copy link
Author

Typo on my side ;)

But still happening after fixing that.

@supermerill
Copy link
Owner

But still happening after fixing that.

are you sure? it fixes it for me.

@jesterhead82
Copy link
Author

Hmm, relselectedfilament type then it worked for me too, sorry about that

supermerill added a commit that referenced this issue Sep 27, 2021
medial_axis fusion_corners fix
using #1583 project to reproduce
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants