As it turns out, KISSlicer's layer G-code ends with:
Code: Select all
; Post-layer lift
G1 X74.89 Y53.26 Z0.3 E44.75 F240
; END_LAYER_OBJECT z=0.20
The cured resin is stuck onto a silicon (PDMS) surface and needs to be peeled off it by a tilting motion of the build platform.
The firmware takes care of the actual move, all i need is to issue an M651 command BEFORE a layer start.
And therein lies the problem, because KISS does the lift BEFORE a layer start, instead of at the BEGINNING of a new layer and AFTER the N-layer G-code include. Would it be possible to ditch the Post-layer lift and do it as a separate command at the beginning of the next layer?