Shift a part by a few centimeters

Hello,

I'm wondering if it's possible to "shift" a part on the print bed directly in octoprint.
When I'm printing small parts (like, 2x2cm) on my 20x20cm bed, it happens that the print fails early on and I would like to retry it rapidly. The easiest way would be to shift the print by 5cm to the right and restart.
Right now, I do this by going back to the slicer, moving the part, slicing it again, export a new gcode file, import it, and finally print it.
I believe this would be much easier if I could load the existing gcode file in octoprint and tell it "shift everything by x centimeters to the right/left/front/back"
I understand that this would need to be done with caution as it may lead to "out of bed" printing.

I could not find an option to do so, but I'm still a beginner with octoprint so I may have missed it.

Is this something that is available?

The OctoPrint-Repository is your friend:

1 Like

Awesome!
I was using "shift" as my search keyword, never occurred to me to use "translate"

Thanks for the pointers

1 Like

Actually I searched for move

1 Like

Or do it manually.
If you want to shift the print 5cm to the right, pause the print after it has homed, then move 5cm to the right, G1 X50
then use G92 so the printer thinks it is at X=0 with G92 X0
Will auto add 50mm to the X position from then on

I think the installing the plugin has way less clicks and is more convenient.