Pulling in print_start from personal branch.

This commit is contained in:
Bassam Husain
2023-04-20 12:19:06 -04:00
parent 1823d0ca37
commit 5e342261c8
2 changed files with 19 additions and 4 deletions

View File

@@ -275,7 +275,7 @@ The printhead is now parked front center waiting for you to insert filament. You
- https://ellis3dp.com/Print-Tuning-Guide - https://ellis3dp.com/Print-Tuning-Guide
- https://github.com/strayr/strayr-k-macros - https://github.com/strayr/strayr-k-macros
- https://docs.vorondesign.com/build/software/miniE3_v20_klipper.html - https://docs.vorondesign.com/build/software/miniE3_v20_klipper.html
- https://github.com/spinixguy/Sovol-SV06-firmware - https://github.com/spinixguy/Sovol-SV06-firmware
- https://www.printables.com/model/378915-sovol-sv06-buildplate-texture-and-model-for-prusas - https://www.printables.com/model/378915-sovol-sv06-buildplate-texture-and-model-for-prusas
- https://github.com/AndrewEllis93/Ellis-SuperSlicer-Profiles - https://github.com/AndrewEllis93/Ellis-SuperSlicer-Profiles

View File

@@ -5,6 +5,11 @@ enable_force_move: True
# [temperature_sensor raspberry_pi] # [temperature_sensor raspberry_pi]
# sensor_type: temperature_host # sensor_type: temperature_host
# NOTE If you're using a an Orange Pi, you can uncomment the next 2 lines, optionally.
# [temperature_sensor Orange_Pi]
# sensor_type: temperature_host
# sensor_path: /sys/class/thermal/thermal_zone0/temp
[virtual_sdcard] [virtual_sdcard]
path: /home/pi/printer_data/gcodes path: /home/pi/printer_data/gcodes
@@ -122,9 +127,14 @@ gcode:
{% set hotendtemp = params.HOTEND|int %} {% set hotendtemp = params.HOTEND|int %}
{% set chambertemp = params.CHAMBER|default(0)|int %} {% set chambertemp = params.CHAMBER|default(0)|int %}
# Set safe speeds
{% 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 %}
{% if printer.configfile.settings.safe_z_home %}
{% set startX = printer.configfile.settings.safe_z_home.home_xy_position[0]|float %}
{% set startY = printer.configfile.settings.safe_z_home.home_xy_position[1]|float %}
{% endif %}
{% set bedtempAlmost = (bedtemp - 2)|int %} {% set bedtempAlmost = (bedtemp - 2)|int %}
{% set hotendtempStepOne = 150|int %} {% set hotendtempStepOne = 150|int %}
{% set hotendtempStepTwo = 170|int %} {% set hotendtempStepTwo = 170|int %}
@@ -132,18 +142,23 @@ gcode:
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
G90 G90 ; absolute positioning
M140 S{bedtempAlmost} ; set & don't wait for bed temp M140 S{bedtempAlmost} ; set & don't wait for bed temp
M104 S{hotendtempStepOne} ; set & don't wait for hotend temp M104 S{hotendtempStepOne} ; set & don't wait for hotend temp
G28 X Y G28 X Y
{% if printer.configfile.settings.safe_z_home %}
G1 X{startX} Y{startY} F{maxVelocityAdjusted}
{% endif %}
M190 S{bedtempAlmost} ; set & wait for bed temp M190 S{bedtempAlmost} ; set & wait for bed temp
M104 S{hotendtempStepTwo} ; set & don't wait for hotend temp M104 S{hotendtempStepTwo} ; set & don't wait for hotend temp
M190 S{bedtemp} ; set & wait for bed temp M190 S{bedtemp} ; set & wait for bed temp
M104 S{hotendtemp} ; set & don't wait for hotend temp
G28 Z ; final z homing G28 Z ; final z homing
M109 S{hotendtemp} ; set & wait for hotend temp
G1 X0 Y0 F{maxVelocityAdjusted} G1 X0 Y0 F{maxVelocityAdjusted}
M109 S{hotendtemp} ; set & wait for hotend temp
G1 Z20 F3000 ; move nozzle away from bed G1 Z20 F3000 ; move nozzle away from bed