Jump to content
UltiMaker Community of 3D Printing Experts

Post processing not printing


jmcc

Recommended Posts

Posted (edited) · Post processing not printing

Printer Anet A6 with Marlin v1.1.8 firmware

Cura version 3.6.0

 

I'm trying to get post processing of generated g-code working & having a problem. I made a variation of the pause at height script to beep when pausing with a variable duration beep to get my attention. It seems to work fine in that I can load it in Cura & change the beep duration (Extensions-> Post Processing -> Modify G-Code). If I hit prepare and save to file, it makes the expected mods to the g-code. However if I print to usb, it prints with no post-processing applied 99% of the time. I got it to work once after renaming my stl file & loading that. Never was able to replicate this success though.

 

Just to avoid the possibility of my coding being at fault, I removed that from the post processing script list and instead put in the search & replace post processing script that came as standard with Cura (searching for ;LAYER: and replacing that with M117 Printing #). This should output each layer number on the display as the print progresses. Again no luck when I apply this. I see it in the generated g-code, but it does not output to the display when printing layers.

 

I've not yet tried to save to SD & print from that as its hard to get at the SD slot where my printer is setup.

 

I'd be grateful for any help on this, its driving me nuts.

 

Thanks.

 

PS. Maybe should be a separate question, but should the simulator be able to run g-code thats going to be sent to the printer? It does not seem to output the printer's start g-code from the machine settings. It would be handy if there was an option to have it show exactly what the printer would get. Takes forever to debug this stuff with heating time etc.... 

Edited by jmcc
clarification
  • Link to post
    Share on other sites

    Posted · Post processing not printing

    I just loaded the saved g-code which included my pause into Cura. During the programmed pause, the extruder is supposed to park at x=190, y=190. If I enable show travels in the simulator, it does indeed show the path of the head going to this position at the specified layer. It does not show this if I prepare from the model and simulete that.

     

    jmcc

  • Link to post
    Share on other sites

    Posted · Post processing not printing

    So I have a work around for this problem:

     

    1. Load stl & slice with the post processing enabled.

    2. Save g-code to file.

    3. Clear print bed & load the previously saved g-code. (If you have layer view switched on with show travels ticked, you'll see the tool paths to verify)

    4. Print g-code to USB.

     

    It works, but is not so convenient. If someone knows a better way, that would be great.

     

    jmcc

  • Link to post
    Share on other sites

    Posted · Post processing not printing

    There currently is no better way

     

    Postprocessing scripts are executed right before saving/printing, not right after slicing. On top of that, for performance reasons, layerview gets specially crafted data from the slicer so it does not have to parse gcode after slicing. That data would not get postprocessed. So there are two hurdles here.

  • Link to post
    Share on other sites

    Posted (edited) · Post processing not printing

    I get what you are saying re the viewer. However my issue started with post processed g-code not being sent to the printer. Has anyone else had this particular problem?

     

    The work around is terribly clumsy. I've also noticed that when you load g-code in layer view, you can't see the layer number change as you play the viewer. This works as expected when you slice an stl model.

     

    I'd like to report these issues as bugs, but was interested to see if anyone else have the same problems or perhaps could replicate the behaviour described before doing so.

     

    Thanks for the reply,

     

    jmcc

    Edited by jmcc
    Spelling!
  • Link to post
    Share on other sites

    Posted · Post processing not printing

    Jmmc! My problem is same . If you found any solution, please notify me! Thanks

  • Link to post
    Share on other sites

    Posted · Post processing not printing

    Unfortunately I all I found was the work around I described before. It works OK but is awkward to to.

  • Link to post
    Share on other sites

    Posted · Post processing not printing

    I have the same problem. Cura 3.6 and Tevo Tornado. I figured it out, but I thought I couldn't be the only one, and found jmcc's post.

     

    Printing directly via USB will not have post processing scripts executed.

     

    Printing G-Code to File; Load G-Code in Cura; Printing via USB works.

  • 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

      • UltiMaker Cura 5.3 stable released
        In this stable release, Cura 5.3 achieves yet another huge leap forward in 3D printing thanks to material interlocking! As well as introducing an expanded recommended print settings menu and lots of print quality improvements. Not to mention, a whole bunch of new printer profiles for non-UltiMaker printers!
          • Thanks
          • Like
        • 24 replies
      • Here it is. The new UltiMaker S7
        The UltiMaker S7 is built on the success of the UltiMaker S5 and its design decisions were heavily based on feedback from customers.
         
         
        So what’s new?
        The obvious change is the S7’s height. It now includes an integrated Air Manager. This filters the exhaust air of every print and also improves build temperature stability. To further enclose the build chamber the S7 only has one magnetically latched door.
         
        The build stack has also been completely redesigned. A PEI-coated flexible steel build plate makes a big difference to productivity. Not only do you not need tools to pop a printed part off. But we also don’t recommend using or adhesion structures for UltiMaker materials (except PC, because...it’s PC). Along with that, 4 pins and 25 magnets make it easy to replace the flex plate perfectly – even with one hand.
         
        The re-engineered print head has an inductive sensor which reduces noise when probing the build plate. This effectively makes it much harder to not achieve a perfect first layer, improving overall print success. We also reversed the front fan direction (fewer plastic hairs, less maintenance), made the print core door magnets stronger, and add a sensor that helps avoid flooding.
         

         
        The UltiMaker S7 also includes quality of life improvements:
        Reliable bed tilt compensation (no more thumbscrews) 2.4 and 5 GHz Wi-Fi A 1080p camera (mounted higher for a better view) Compatibility with 280+ Marketplace materials Compatibility with S5 project files (no reslicing needed) And a whole lot more  
        Curious to see the S7 in action?
        We’re hosting a free tech demo on February 7.
        It will be live and you can ask any questions to our CTO, Miguel Calvo.
        Register here for the Webinar
          • Like
        • 18 replies
      • UltiMaker Cura Alpha 🎄 Tree Support Spotlight 🎄
        Are you a fan of tree support, but dislike the removal process and the amount of filament it uses? Then we would like to invite you to try this special release of UltiMaker Cura. Brought to you by our special community contributor @thomasrahm
         
        We generated a special version of Cura 5.2 called 5.3.0 Alpha + Xmas. The only changes we introduced compared to UltiMaker Cura 5.2.1 are those which are needed for the new supports. So keep in mind, this is not a sneak peek for Cura 5.3 (there are some really cool new features coming up) but a spotlight release highlighting this new version of tree supports.  
          • Like
        • 22 replies
    ×
    ×
    • Create New...