Z offset adjustment?

It looks like the quotes may have been turned into “smart quotes”. Try copying it from a code block instead. I’ve also include a TOTALLY UNTESTED if/else/endif block for adjusting the squish based on the material type – only use it if you understand and are willing to test it out. Any time I change the machine gcode, I watch the print head very closely, with my hand on the power switch. (not the e-stop, because it’s not a real e-stop… :sob:)

;===== for Textured PEI Plate, High Temp Plate and Wham Bam Plate ===============
;curr_bed_type={curr_bed_type}
{if curr_bed_type=="Textured PEI Plate"}
  {if filament_type[initial_no_support_extruder]=="PETG"}
    G29.1 Z-0.02 ; squish of -0.02mm for PETG on Textured PEI Plate
  {else}
    G29.1 Z-0.04 ; squish of -0.04mm for everything else on Textured PEI Plate
  {endif}
{elsif curr_bed_type=="High Temp Plate"}
  G29.1 Z0.03 ; raise of 0.03mm for High Temp or Wham Bam Plate
{endif}
3 Likes