Jump to content
UltiMaker Community of 3D Printing Experts

Generic external postprocessor with a command line


gurzixo
 Share

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
     Share

    • Our picks

      • New here? Get ahead with a free onboarding course
        Hi,
         
        Often getting started is the most difficult part of any process. A good start sets you up for success and saves you time and energy that could be spent elsewhere. That is why we have a onboarding course ready for
        Ultimaker S5 Pro Bundle, Ultimaker S5, Ultimaker S3 Ultimaker 2+ Connect.   
        They're ready for you on the Ultimaker Academy platform. All you need to do to gain access is to register your product to gain free access. 
        Ready? Register your product here in just 60 seconds.
          • Like
        • 14 replies
    ×
    ×
    • Create New...