Thanks.
I guess the postprocessing diaglog will be OK, is there manual for how to add settings to that diaglog?
Thanks.
I guess the postprocessing diaglog will be OK, is there manual for how to add settings to that diaglog?
No, there is no manual, but there are examples:
https://github.com/Ultimaker/Cura/tree/main/plugins/PostProcessingPlugin/scripts
Recommended Posts
ahoeben 1,850
A postprocessing script can define settings, but those settings are set in the Post processing plugin dialog.
A plugin can define a setting that lives in the print settings floater/sidebar. The postprocessing dialog itself is a plugin, but the postprocessing plugin only allows you to create settings inside the post processing plugin dialog.
If you really want to create a new setting, outside the postprocessing dialog, you are going to have to create a plugin instead of a postprocessing script. The Z-Offset plugin is an example of a plugin that defines a custom setting AND postprocesses the gcode in much the same way as a postprocessing script would do. You can find its source here:
https://github.com/fieldOfView/Cura-ZOffsetPlugin
Link to post
Share on other sites