Hello,
thank you for your answer, I changed that portion of code and it worked perfectly!
I have one further question: I see that other lines are inserted at the end of the gcode and are not affected by the custom postprocessing script I've developed. These lines appear at the very end of the gcode and are something like
;SETTING_3 {"extruder_quality": ["[general]\\nversion = 4\\nname = Low Quality #
;SETTING_3 2\\ndefinition = creality_ender3pro\\n\\n[metadata]\\nsetting_version
;SETTING_3 = 15\\nquality_type = low\\nposition = 0\\ntype = quality_changes\\n
;SETTING_3 \\n[values]\\nwall_line_count = 3\\n\\n"], "global_quality": "[genera
;SETTING_3 l]\\nversion = 4\\nname = Low Quality #2\\ndefinition = creality_base
;SETTING_3 \\n\\n[metadata]\\nsetting_version = 15\\nquality_type = low\\ntype =
;SETTING_3 quality_changes\\n\\n[values]\\n\\n"}
How can I change the comment string in these lines or avoid to write those?
Recommended Posts
Cuq 163
Yes if you modify the code in the Postprocessing Plugin (Ultimaker Cura 5.x.x\share\cura\plugins\PostProcessingPlugin\PostProcessingPlugin.py or Ultimaker Cura 4.x.x\plugins\PostProcessingPlugin\PostProcessingPlugin.py)
But you will have to do it for every new release of Cura.
Link to post
Share on other sites