mirror of
https://github.com/bassamanator/Sovol-SV06-firmware.git
synced 2025-11-08 13:31:16 +00:00
Merge branch 'bed-temp' into personal
This commit is contained in:
@@ -124,10 +124,12 @@ gcode:
|
||||
gcode:
|
||||
# Parameters
|
||||
{% set bedtemp = params.BED|int %}
|
||||
{% set bedtempSlicer = bedtemp %}
|
||||
{% set hotendtemp = params.HOTEND|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 maxVelocityAdjusted = (0.90 * maxVelocity * 60)|int %}
|
||||
|
||||
@@ -140,9 +142,12 @@ gcode:
|
||||
{% set hotendtempStepOne = ((hotendtemp, printer[printer.toolhead.extruder].temperature|int)|min, 150)|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 - bedtempRange) <= bedtemp %}
|
||||
{% set bedtemp = bedtempAlmost %}
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
|
||||
BED_MESH_PROFILE LOAD=default ; NOTE if not using a mesh, comment out this line
|
||||
ADJUST_FILAMENT_SENSOR_STATUS ENABLE=1
|
||||
|
||||
Reference in New Issue
Block a user