mirror of
https://github.com/bassamanator/Sovol-SV06-firmware.git
synced 2025-11-08 13:31:16 +00:00
Print_start adjusted: prints will start as long as current bed temp is not higher than 10C compared to sliced bed temp.
This commit is contained in:
@@ -124,10 +124,12 @@ gcode:
|
|||||||
gcode:
|
gcode:
|
||||||
# Parameters
|
# Parameters
|
||||||
{% set bedtemp = params.BED|int %}
|
{% set bedtemp = params.BED|int %}
|
||||||
{% set bedtempSlicer = bedtemp %}
|
|
||||||
{% set hotendtemp = params.HOTEND|int %}
|
{% set hotendtemp = params.HOTEND|int %}
|
||||||
{% set chambertemp = params.CHAMBER|default(0)|int %}
|
{% set chambertemp = params.CHAMBER|default(0)|int %}
|
||||||
|
|
||||||
|
# Other variables
|
||||||
|
{% set bedtempSlicer = bedtemp %}
|
||||||
|
{% set bedtempRange = 10 %}
|
||||||
{% set maxVelocity = printer.configfile.settings.printer.max_velocity|default(200)|int %}
|
{% set maxVelocity = printer.configfile.settings.printer.max_velocity|default(200)|int %}
|
||||||
{% set maxVelocityAdjusted = (0.90 * maxVelocity * 60)|int %}
|
{% set maxVelocityAdjusted = (0.90 * maxVelocity * 60)|int %}
|
||||||
|
|
||||||
@@ -140,9 +142,12 @@ gcode:
|
|||||||
{% set hotendtempStepOne = ((hotendtemp, printer[printer.toolhead.extruder].temperature|int)|min, 150)|max %}
|
{% set hotendtempStepOne = ((hotendtemp, printer[printer.toolhead.extruder].temperature|int)|min, 150)|max %}
|
||||||
{% set hotendtempStepTwo = ((hotendtemp, printer[printer.toolhead.extruder].temperature|int)|min, 170)|max %}
|
{% set hotendtempStepTwo = ((hotendtemp, printer[printer.toolhead.extruder].temperature|int)|min, 170)|max %}
|
||||||
|
|
||||||
|
# If bed-temp-almost is higher than bed-temp by a maximum of 10C
|
||||||
{% if bedtempAlmost > bedtemp %}
|
{% if bedtempAlmost > bedtemp %}
|
||||||
|
{% if (bedtempAlmost - bedtempRange) <= bedtemp %}
|
||||||
{% set bedtemp = bedtempAlmost %}
|
{% set bedtemp = bedtempAlmost %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
BED_MESH_PROFILE LOAD=default ; NOTE if not using a mesh, comment out this line
|
BED_MESH_PROFILE LOAD=default ; NOTE if not using a mesh, comment out this line
|
||||||
ADJUST_FILAMENT_SENSOR_STATUS ENABLE=1
|
ADJUST_FILAMENT_SENSOR_STATUS ENABLE=1
|
||||||
|
|||||||
Reference in New Issue
Block a user