Jump to content

Ultimaker 3 - Weird retraction behaivor while timelapse

Go to solution Solved by abetub,

Recommended Posts

Posted (edited) · Ultimaker 3 - Weird retraction behaivor while timelapse

Hello everyone,


I'm currently using Cura's timelapse feature (extensions > post-processing > modify g-code) to capture one camera image per layer. Since stringing occurs when the print head moves into the corner, I have set a retraction of 3mm within the timelapse function. Now, unfortunately, a strange behavior occurs during printing with no discernible pattern. After the print head moves back to the original position (after the photo is taken) the printer starts pulling the filament half way back to the feeder, only to move it back to the print head and continue printing. Sometimes this happens several layers in a row, sometimes not at all.


In addition to higher completion times, the print head sometimes loses contact with the filament in the process because it does not push the filament back far enough, which means the print has to be aborted. I tested this on 2 UM3s - the problem occurs on both. Deleting the retraction in the timelapse function solves the issue, but it results in heavy stringing again, when the print head moves to the parking position.


So I think the problem is either with the cura timelapse function (which I think is unlikely, since the problem does not occur with every layer) or the reason is some kind of exception handling of the printer, but I dont unterstand why ...


BTW: The function insert this into the G-Code after every layer (I removed the command for triggering the internal camera, because i am using an external one): 


M83 ;Extrude Relative

G1 F3000 E-3 ;Retract filament
M82 ;Extrude Absolute
M400 ;Wait for moves to finish
G1 F3000 Z1.47 ;Z-Hop
;TimeLapse Begin
G1 F9000 X0 Y190 ;Park print head
M400 ;Wait for moves to finish
 ;Snap Photo
G4 P700 ;Wait for camera
G0 X91.72 Y82.72 Z0.47; Restore position
M400 ;Wait for moves to finish
M83 ;Extrude Relative
G1 F3000 E3 ;Retract filament
M82 ;Extrude Absolute


Do you guys have any ideas why this happens? Do you have different solutions for retracting the filament?  I am open to any idea. 


Best regards

Edited by abetub
  • Link to post
    Share on other sites

    • Solution
    Posted · Ultimaker 3 - Weird retraction behaivor while timelapse

    It seems that I have found the problem. Maybe the following solution will help someone else who also encounters this problem:


    Ultimaker does not use pure Marlin as firmware in the UM3, but a slightly adapted version of it (Griffin). This one does not support the commands used by the extension M82/M83 (Relative vs. Absolute Extrusion) - at least not without errors. You can read this in the community post of a former software developer of Ultimaker about the release of the UM3.



    Other absent codes are the M82/M83, relative E mode. I don't know if there is a slicer that depends on this. Due to some archtectual things in the code, these commands are difficult to support right now. (Note, I think they do something, but they might stop working in the future, or we will fix the bugs related to them)



    Sometimes the code was executed correctly, sometimes not. When it didn't, the command was implemented with the E3 extrusion absolute and not relative, so as the layer count increased, the filament was retracted further and further, only to be fully retracted again with the next extrusion command. I modified the Cura PlugIn so that the retraction commands are inserted absolutely in the code.

  • Link to post
    Share on other sites

    Create an account or sign in to comment

    You need to be a member in order to leave a comment

    Create an account

    Sign up for a new account in our community. It's easy!

    Register a new account

    Sign in

    Already have an account? Sign in here.

    Sign In Now
    • Our picks

      • Introducing the UltiMaker Factor 4
        We are happy to announce the next evolution in the UltiMaker 3D printer lineup: the UltiMaker Factor 4 industrial-grade 3D printer, designed to take manufacturing to new levels of efficiency and reliability. Factor 4 is an end-to-end 3D printing solution for light industrial applications
          • Thanks
          • Like
        • 3 replies
      • UltiMaker Cura 5.7 stable released
        Cura 5.7 is here and it brings a handy new workflow improvement when using Thingiverse and Cura together, as well as additional capabilities for Method series printers, and a powerful way of sharing print settings using new printer-agnostic project files! Read on to find out about all of these improvements and more. 
          • Like
        • 26 replies
    • Create New...