Lift Z param
PrusaSlicer has in Printer Settings > Extruder > Lift Z param, and it says it lifts nozzle that amount when retraction is triggered.
Is it triggered on every retraction, especially in custom gcode parts or just in the part that are generated when pressing 'slice' in PrusaSlicer? (so this is more like a question if the custom z-lift is applied before custom gcode or after everything is prepared to be converted to gcode, or maybe just by setting specific param in gcode that triggers on firmware level and applies to everything?)
What I want to achieve is to add extra gcode lines to my custom gcode per layer change (before or after) to lift print head before adding custom move to trigger using physical button to trigger taking photo capture, and then to move back and then lower the printer head as it was before it starts printing next layer.
In general current code works (custom gcode just moves the head), but in edge situations I'd like to lift the print head between layers - like super large flat print that really likes to bend, and this may end in print head scratching print area (not a problem for infill but it may cause hotend hitting the printed model or scratch final layer).
See my GitHub and printables.com for some 3d stuff that you may like.
RE:
@_kaszpir_
For starters, if your getting that kind of warping you have other issues that need to be addressed to mitigate that degree of warp.
As for the lift Z, you can set the lift height before travel, Found under, Print Settings/Extruder # [Travel Lift] Lift height: (which is applied before travel), to meet your needs, and if you would rather use custom gcode for this, write the code and run it through the prusa-gcodeviewer and see if it applied in the areas your wanting.
Hope this helps, good luck.
RE: Lift Z param
Well, I had such warping only once per over 200 prints and only in specific conditions (pretty cold + very large flat print and it caused only this one issue that print head scratched the top layer).
It just wondered me how z-lift works, I guess I will have to see it directly in gcode preview or on the printer itself.
See my GitHub and printables.com for some 3d stuff that you may like.
RE: Lift Z param
I've had a this a few times over the years also, generally its been environmental causes as you mention. It rears its ugly head every now and again when I get a filament type or brand I've not used before, once you see it happen it's pretty easy to compensate with proper cooling and environmental control.
The lift shows very clearly in the gcodeviewer, it's a very reasonable approximation of the real world print, and a wonderful tool to have in the arsonal.
Regards