Jump to content

Generic external postprocessor with a command line


gurzixo

Recommended Posts

Posted · Generic external postprocessor with a command line

Hello,

I am experimenting with speeds and tri-hexagon gradual infills on my printer, and I need to tweak some parameters not available within Cura, namely reduce the speed of the last few infill layers.

It looks like the best solution would be for me to write a post-processor plugin that patches the gcode.

Postprocessor plugins seem to be easy to integrate inside Cura (for example, ZOffsetPlugin is quite readable). Unfortunately, they are written in Python which I do not master, while being quite fluent in C++ & JavaScript.

So, is there a standard universal postprocessor plugin, able to pipe the gcode to stdin of a process and get the patched gcode from the stdout, in the great Unix tradition?

This would allow me to develop this processor in an environment that I am familiar with.

Thanks!

Michel

 

 

  • Link to post
    Share on other sites

    Posted · Generic external postprocessor with a command line

    Problem solved: I adapted the Cura-Slow-Z plugin from @5axes in order to allow having a specific speed for bottom layers infill.

    This allows for printing bottom layers at high speed, but top layers at low speed so that the large gaps of tri-hexagon infills are filled correctly.

    This is a quick and dirty hack but which makes the job. It is available here

  • 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...