Jump to content
Ultimaker Community of 3D Printing Experts

MAZ Cura Plugin 2.0 (for Cura 2.3.1)

Recommended Posts



Download Source Code

0. Features

- Displays the current printing layer number on the LCD screen

- Partial 3D printing is possible by setting start and end layers

- Adjust the thickness of supporter

- Change the speed, temperature, etc. using 10 layer parameters.

- This does not support "one at a time" mode.

1. Copy this plugin to

c:\Program Files\Cura 2.3\plugins\PostProcessingPlugin\scripts\MAZCuraPlugin20.py

2. Modify Start/End Gcode :

Without this modification, the plugin will not work!!!

This will protect your Start/End Gcode.

- Add this to end line of Start Gcode


:M117 Printing...M117 BEGIN:MAZ-Cura-Plugin


- Add this to start line of End Gcode


M117 END:MAZ-Cura-PluginM104 S0 ....:



3. Modify Cura setting for input alphabet..

c:\Program Files\Cura 2.3\resources\qml\Settings\SettingTextField.qml

    about line 100...



maximumLength: 10;validator: RegExpValidator { regExp: (definition.type == "int") ? /^-?[0-9]{0,10}/ : /^-?[0-9.,]{0,10}/ } 




maximumLength: 32;validator: RegExpValidator { regExp: (definition.type == "int") ? /^-?[0-9]{0,10}/ : /^[A-Z0-9.,\:]{0,32}/ }




Edited by Guest

Share this post

Link to post
Share on other sites

The M117 change in machine settings I assume is for non ultimaker printers only.

But why do we have to change maximumLength from 10 to 32? That's not good because then the next cura update will delete that. Is that because the M117 line is so long? Can't you make the M117 flag shorter please? The MAZ plugin should search for "printing..." anyway to know when to start.

Also will MAX plugin work if you print 2 objects in "one at a time" mode where the Z height goes back to 0.3mm when one print finishes and before the second one starts?

Share this post

Link to post
Share on other sites

M117 BEGIN: ....

M117 END: ...

This is not included in the actual Gcode.

It is only a flag to protect Start / End Gcode internally in the plugin.

I originally used it as a comment.

In this version, cura ignored the last comment in Start Gcode, so I used M117 as a flag.

Increasing the input field to 32 is for inserting the layer parameters.

This does not support "one at a time" mode.

I will add it to the plugin description. Thank you

Edited by Guest

Share this post

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

    • "Back To The Future" using Generative Design & Investment Casting
      Designing for light-weight parts is becoming more important, and I’m a firm believer in the need to produce lighter weight, less over-engineered parts for the future. This is for sustainability reasons because we need to be using less raw materials and, in things like transportation, it impacts the energy usage of the product during it’s service life.
        • Like
      • 12 replies

Important Information

Welcome to the Ultimaker Community of 3D printing experts. Visit the following links to read more about our Terms of Use or our Privacy Policy. Thank you!