Closed XenonFlits closed 1 year ago
at the end of the gcode-file Pruse should add all settings - it should look like this: ; prusaslicer_config = begin ; avoid_crossing_curled_overhangs = 1 ; avoid_crossing_perimeters = 0 ; avoid_crossing_perimeters_max_detour = 0 ; bed_custom_model = ; bed_custom_texture = ; bed_shape = 0x0,350x0,350x350,0x350 ; bed_temperature = 100 ...
perimeter_extrusion_width is the first setting the script tries to find if the settings-section is missing at the end of you gcode-file find our why or try a newer version of PrusaSlicer (it works fine here with 2.6 alpha 5)
Thank you @maruhe, could not tell it better :)
had the same issue because i was using superslicer, i had to change '' ; superslicer_config = begin'' to ''; prusaslicer_config = begin''
@nicolai-wachenschwan we thank you, have been waiting for long time ;-)
if you may integrate to also read ; superslicer_config = begin pls also add the end of settings - if other plugins add Text at the end there comes a lot of output from your script
for line in gcodeLines:
if "; prusaslicer_config = begin" in line:
isSetting=True
continue
if "; prusaslicer_config = end" in line:
isSetting=False
continue
updated the code, would be happy, if you could test it with superslicer
Running Prusa2.3.0 Error I get is
Header of print file (gcode file) is:
What is the problem? Is it a bug? Or do I have to correct a Prusa setting?