preprocess_cancellation
preprocess_cancellation copied to clipboard
EXCLUDE_OBJECT_DEFINE position in Ideamaker files
(ideamaker.gcode)
In gcode files sliced using IdeaMaker EXCLUDE_OBJECT_DEFINE are inserted after the 'Total_num'-string what is in any case after the printer start code where the bed meshing takes place. Therefore, the KAMPS add-on which uses EXCLUDE_OBJECT_DEFINE to create an adaptive mesh is not usable with IdeaMaker files.
For other slicers, EXCLUDE_OBJECT_DEFINE are added after the first gcode:
(prusaslicer.gcode)
With adding an additional gcode, the position of EXCLUDE_OBJECT_DEFINE is before the print start code and usable for KAMPS.
Please add the same behavior as for other slicers into the ideamaker preprocessing
I have the same problem too.
Hello, it seems an easy fix. I've created a PR for this, but if you need here attached there is a patch. preprocess_cancellation.patch.txt