From 1823d0ca37ef9b2140a1052a20daa3469a67f98b Mon Sep 17 00:00:00 2001 From: Bassam Husain Date: Wed, 19 Apr 2023 22:59:32 -0400 Subject: [PATCH 1/2] Updated readme: Download section. --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 9c7f2a3..11160d4 100644 --- a/README.md +++ b/README.md @@ -86,8 +86,9 @@ You can choose *either* of the 2 following methods. ### Method 2: Download the ZIP 1. [Download](https://github.com/bassamanator/Sovol-SV06-firmware/archive/refs/heads/master.zip) the `ZIP` file containing the Klipper configuration. -2. The parent folder in the `ZIP` is `Sovol-SV06-firmware-master`. This is relevant in the next step. -3. Extract **only** the *contents* of the parent folder into `~/printer_data/config`. +2. See `Step 2` in `Method 1`. +3. The parent folder in the `ZIP` is `Sovol-SV06-firmware-master`. This is relevant in the next step. +4. Extract **only** the *contents* of the parent folder into `~/printer_data/config`. ## Initial Steps From 5e342261c8e7bad6ac9f57249b04476fb707cc34 Mon Sep 17 00:00:00 2001 From: Bassam Husain Date: Thu, 20 Apr 2023 12:19:06 -0400 Subject: [PATCH 2/2] Pulling in print_start from personal branch. --- README.md | 2 +- cfgs/misc-macros.cfg | 21 ++++++++++++++++++--- 2 files changed, 19 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 11160d4..64147ac 100644 --- a/README.md +++ b/README.md @@ -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://github.com/strayr/strayr-k-macros - 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://github.com/AndrewEllis93/Ellis-SuperSlicer-Profiles diff --git a/cfgs/misc-macros.cfg b/cfgs/misc-macros.cfg index 6872a33..e959bde 100644 --- a/cfgs/misc-macros.cfg +++ b/cfgs/misc-macros.cfg @@ -5,6 +5,11 @@ enable_force_move: True # [temperature_sensor raspberry_pi] # 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] path: /home/pi/printer_data/gcodes @@ -122,9 +127,14 @@ gcode: {% set hotendtemp = params.HOTEND|int %} {% set chambertemp = params.CHAMBER|default(0)|int %} - # Set safe speeds {% set maxVelocity = printer.configfile.settings.printer.max_velocity|default(200)|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 hotendtempStepOne = 150|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 ADJUST_FILAMENT_SENSOR_STATUS ENABLE=1 - G90 + G90 ; absolute positioning M140 S{bedtempAlmost} ; set & don't wait for bed temp M104 S{hotendtempStepOne} ; set & don't wait for hotend temp 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 M104 S{hotendtempStepTwo} ; set & don't wait for hotend temp M190 S{bedtemp} ; set & wait for bed temp + + M104 S{hotendtemp} ; set & don't wait for hotend temp G28 Z ; final z homing - M109 S{hotendtemp} ; set & wait for hotend temp G1 X0 Y0 F{maxVelocityAdjusted} + M109 S{hotendtemp} ; set & wait for hotend temp G1 Z20 F3000 ; move nozzle away from bed