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
Move out of range on first layer #83
Comments
Move out of Range is in 99% a problem with absolute/relative (G90/G91) move settings. I am a little suprised as we insure in https://github.com/mainsail-crew/moonraker-timelapse/blob/main/klipper_macro/timelapse.cfg#L275 that we are in absolute before we execute the park move. Please slice e.g. a small cube with your slicer and provide the generated gcode. I would also need a klippy.log so that I see all your macros. |
I figured it was something related to absolute/relative, but wasn't sure. Here's a 20mm x 20mm cube sliced in SuperSlicer. Right now I have Here's my klippy.log: Let me know if you need anything else! |
That looks all ok, could you add
and run it in the console and send the result. |
Here you go: I'm really struggling to figure out what's going on here! |
Please also |
On line 7m, what does the |
dz means delta z, on z we only lift the nozzle by that value. Next I will modify your gcode, to add a few console outputs. Then we can see where the error really happens. |
OK please add the following macro to your printer.cfg:
It simple sends the text to the console. I used your gcode file and added some printouts: Before you print the file I recommend that you open it and confirm that I did not do anything harmful. (You will find 6 DUMP_TO_CONSOLE comands in the first 110 lines). That is something I always recomand if someone ask you to print a pre sliced file. |
Here's the output! |
Are you really sure that that is the output? I see that you open a other file in the middle of the print
This should never be in there. |
I also do not understand $ get_timelapse_setup I checked the Klippy.log and also the Goode file and both do not call it. So did you execute that manual? |
Weird, I missed that. I must've copied some old logs too or something, my bad! Here's a new version: |
Ok that makes a lot more sense. It’s really looking like that the error happens in TIMELAPSE_TAKE_FRAME. I will prepare a TIMELAPSE_TAKE_FRAME macro with debug prints so that we get a better understanding. That might take 1 or 2 days. Sorry that the process is so slow but I can not reproduce it on my machine’s here |
Wait a moment.
Is the answer of the Timelapse plugin after the shoot is done. That means the error happens at RESUME. Could you do one more test:
This will move the head away from the edge and insures that the resume point is within the bed. |
Ok interesting, that seems to have fixed it. Thank you for finding that! |
Whenever I start a print, I have to remove the first instance of
TIMELAPSE_TAKE_FRAME
or else I get this error:!! Move out of range: -0.013 -0.013 0.285 [355.142]
I'm not sure what's causing it. The timelapse park position is set to Center.
The text was updated successfully, but these errors were encountered: