Jump to content

Post Processing Script not working in Cura 4.8 anymore?


reibuehl

Recommended Posts

Posted · Post Processing Script not working in Cura 4.8 anymore?

Hi all,

 

I just tried to add a material change at a certain Z height to my g-code by using the post processing script "Filament Change" from the Extensions->Post processing menu in Cura 4.8. Unfortunately this did not work. My UM2 did not initiate the filament change and an inspection of the generated g-code showed that nothing was inserted at the layer where I had specified the change.

 

Is this a bug or did I do something wrong?

 

Best regards,

Reiner

 

  • Link to post
    Share on other sites

    Posted · Post Processing Script not working in Cura 4.8 anymore?

    First of all: don't use "Filament Change" for Ultimaker 2 (or newer) printers. It uses gcode M600 which is simply ignored by the printer.

    Use "Pause at height" instead (and mind the comments for "Extrude Amount"). During the actual pause use the material change function from the printer menu.

     

     

    37 minutes ago, reibuehl said:

    inspection of the generated g-code showed that nothing was inserted at the layer where I had specified the change

     

    That's a different topic - dunno 🤷‍♂️

     

  • Link to post
    Share on other sites

    Posted · Post Processing Script not working in Cura 4.8 anymore?

    Good information, thanks! Now that I know what to search for, I actually found the M600 in the g-code - just not where I expected it... I configured the Filament Change for Layer 803 and then searched for ";LAYER:803" in the file where I expected the change command. It is actually inserted before ";LAYER:802", two layers earlier than I expected it. I guess the plugin and Cura have a off-by-one issue where one starts counting from 0 and the other starts at 1.

     

    Regarding the "Extrude Amount" setting: The help for that parameter talks about 128mm for an UM2. That sounds a lot since the change procedure of the printer already ensures that the filament is transported to the nozzle. Do you use such a high value?

  • Link to post
    Share on other sites

    Posted · Post Processing Script not working in Cura 4.8 anymore?
    4 hours ago, reibuehl said:

    It is actually inserted before ";LAYER:802", two layers earlier than I expected it. I guess the plugin and Cura have a off-by-one issue where one starts counting from 0 and the other starts at 1.

     

    Yep. Layer numbers in (Cura generated) gcode files always start with index zero. So ";LAYER:0" actually marks the first layer and so on. And (i think) most of the post processing scripts insert their stuff before the layer starts. So it should better be named "Pause before layer" or such... 🙂

     

    4 hours ago, reibuehl said:

    Regarding the "Extrude Amount" setting: The help for that parameter talks about 128mm for an UM2. That sounds a lot since the change procedure of the printer already ensures that the filament is transported to the nozzle. Do you use such a high value?

     

    Me personally? Nope. 🙂

     

    The change procedure retracts the material to the "end-of-print" position after completion. That's 20mm by default. In addition: with gcode-flavor "Ultimaker 2" all extruded values are interpreted as volumetric amount. For filament diameter 2.85mm and 20mm length the volume is approx. 127.6mm³

    That's where this number comes from.

     

    So... it depends. For default firmware and default gcode-flavor: 128 is about right. For all other cases... use whatever the end-of-print retraction is set to.

    Good luck!

     

     

  • 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 Universal Cura Projects in the UltiMaker Cura 5.7 beta
        Strap in for the first Cura release of 2024! This 5.7 beta release brings new material profiles as well as cloud printing for Method series printers, and introduces a powerful new way of sharing print settings using printer-agnostic project files! Also, if you want to download the cute dinosaur card holder featured below, it was specially designed for this release and can be found on Thingiverse! 
          • Like
        • 10 replies
      • S-Line Firmware 8.3.0 was released Nov. 20th on the "Latest" firmware branch.
        (Sorry, was out of office when this released)

        This update is for...
        All UltiMaker S series  
        New features
         
        Temperature status. During print preparation, the temperatures of the print cores and build plate will be shown on the display. This gives a better indication of the progress and remaining wait time. Save log files in paused state. It is now possible to save the printer's log files to USB if the currently active print job is paused. Previously, the Dump logs to USB option was only enabled if the printer was in idle state. Confirm print removal via Digital Factory. If the printer is connected to the Digital Factory, it is now possible to confirm the removal of a previous print job via the Digital Factory interface. This is useful in situations where the build plate is clear, but the operator forgot to select Confirm removal on the printer’s display. Visit this page for more information about this feature.
          • Like
        • 0 replies
    ×
    ×
    • Create New...