This is what I came up with, it works, but cant work out how to set 3,3 grid, anyone?
Superslicer → Printer Settings → Custom G-code
;klipper macro
;--------------------------------------------------------------
START_PRINT BED={first_layer_bed_temperature} EXTRUDER={first_layer_temperature} FLOW={extrusion_multiplier} XMIN={bounding_box[0]} YMIN={bounding_box[1]} XMAX={bounding_box[2]} YMAX={bounding_box[3]}
;--------------------------------------------------------------
The Klipper Macro follows, its my setup so dont just copy paste it, use it for reference only
[gcode_macro START_PRINT]
gcode:
{% set BED = params.BED|default(0)|float %}
{% set EXTRUDER = params.EXTRUDER|default(0)|float %}
{% set FLOW = params.FLOW|default(100)|float * 100 %}
{action_respond_info( "BED %dC, " "EXT %dC, " "FLOW %d%%" % ( BED, EXTRUDER, FLOW) )}
{% set XMIN = params.XMIN|default(10)|int %}
{% set YMIN = params.YMIN|default(10)|int %}
{% set XMAX = params.XMAX|default(238)|int %}
{% set YMAX = params.YMAX|default(260)|int %}
{action_respond_info( "XMIN %d, YMIN %d, XMAX %d, YMAX %d\n" % ( XMIN, YMIN, XMAX, YMAX) )}
M104 S180 ;preheat hotend, not enough to oooz
# Start bed heating
M140 S{BED}
M105
M190 S{BED}
# Start extruder heating
M104 S{EXTRUDER}
M105
M109 S{EXTRUDER}
M82 ;absolute extrusion mode
M220 S100 ;Set Feedrate
M221 S{FLOW} ;Set Flowrate
#Home and probe only print area with 5,5 grid set in printer.cfg
#have not worked out how to get 3,3 working for smaller prints
G28
BED_MESH_CALIBRATE MESH_MIN={XMIN-5},{YMIN-5} MESH_MAX={XMAX+5},{YMAX+5}
G92 E0 ;Reset Extruder
G1 Z2.0 F3000 ;Move Z Axis up
G1 X10 Y10 Z0.28 F5000.0 ;Move to start position
G1 X240 Y10 Z0.28 F1500.0 E19 ;Draw the first line
G1 X240 Y9 Z0.28 F5000.0 ;Move to side a little
G1 X10 Y9 Z0.28 F1500.0 E38 ;Draw the second line
G1 E37.8
G92 E0 ;Reset Extruder
G1 Z1 F3000 ;Move Z Axis up
If anyone knows how to set 3,3 grid, would appreciate please, thanks