Skip to content

Instantly share code, notes, and snippets.

@wirekang
Created February 25, 2025 12:11
Show Gist options
  • Save wirekang/40b697d467b1b72da5286bfc085603b5 to your computer and use it in GitHub Desktop.
Save wirekang/40b697d467b1b72da5286bfc085603b5 to your computer and use it in GitHub Desktop.
Orca Slicer's Adaptive Bed Mesh with Creality K1C

Orca Slicer supports Adaptive Bed Mesh: https://github.com/SoftFever/OrcaSlicer/wiki/adaptive-bed-mesh

I replaced the built-in CX_PRINT_LEVELING_CALIBRATION with the given example.

Printer settings -> Machine G-code -> Machine start G-code

M140 S0
M104 S0
 
START_PRINT EXTRUDER_TEMP=[nozzle_temperature_initial_layer] BED_TEMP=[bed_temperature_initial_layer_single] BED_MESH_MIN={adaptive_bed_mesh_min[0]},{adaptive_bed_mesh_min[1]} BED_MESH_MAX={adaptive_bed_mesh_max[0]},{adaptive_bed_mesh_max[1]} BED_MESH_ALGORITHM=[bed_mesh_algo] BED_MESH_PROBE_COUNT={bed_mesh_probe_count[0]},{bed_mesh_probe_count[1]}

gcode_macro.cfg

[gcode_macro START_PRINT]
    
    ...
    
    # CX_PRINT_LEVELING_CALIBRATION

    {% set mesh_min = params.BED_MESH_MIN %}
    {% set mesh_max = params.BED_MESH_MAX %}
    {% set probe_count = params.BED_MESH_PROBE_COUNT %}
    {% set algorithm = params.BED_MESH_ALGORITHM %}
    BED_MESH_CLEAR
    BED_MESH_CALIBRATE mesh_min={mesh_min} mesh_max={mesh_max} ALGORITHM={algorithm} PROBE_COUNT={probe_count} ADAPTIVE=0 ADAPTIVE_MARGIN=0

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment