From c7bcbe863ef9ccc9d9d8c1df71098fb836f233b3 Mon Sep 17 00:00:00 2001 From: Bassam Husain Date: Mon, 27 Mar 2023 18:26:21 -0400 Subject: [PATCH] Added conditional beeping to MECHANICAL_GANTRY_CALIBRATION.cfg. Adjusted directory structure section in readme.md. --- README.md | 4 +++- cfgs/MECHANICAL_GANTRY_CALIBRATION.cfg | 6 +++--- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index b21744c..415465f 100644 --- a/README.md +++ b/README.md @@ -77,6 +77,8 @@ This repository contains many files and folders. Some are *necessary* for this K │ ├── misc-macros.cfg │ ├── PARKING.cfg │ └── TEST_SPEED.cfg +├── .vscode❌ +├── .gitignore❌ ├── images ❌ │ ├── githubstar.gif │ ├── heart.gif @@ -85,7 +87,7 @@ This repository contains many files and folders. Some are *necessary* for this K │ ├── cup-border.png │ ├── logo_white_stroke.png │ └── SuperSlicer_config_bundle.ini -├── moonraker.conf ✅ ❌ (depends if you already have this file or not) +├── moonraker.conf ✅ ❌ ¿? (depends if you already have this file or not) ├── osskc.cfg ✅ └── README.md ❌ ``` diff --git a/cfgs/MECHANICAL_GANTRY_CALIBRATION.cfg b/cfgs/MECHANICAL_GANTRY_CALIBRATION.cfg index f99852c..3a9f928 100644 --- a/cfgs/MECHANICAL_GANTRY_CALIBRATION.cfg +++ b/cfgs/MECHANICAL_GANTRY_CALIBRATION.cfg @@ -72,16 +72,16 @@ gcode: SET_TMC_CURRENT STEPPER=stepper_z1 CURRENT={my_current} ; drop current {% endif %} - BEEP I=1 + CONDITIONAL_BEEP I=1 G4 P200 ; Probably not necessary, it is here just for sure SET_KINEMATIC_POSITION Z={z_max - 25} ; Trick printer into beleiving the gantry is 25mm lower than it is ; CHANGED G1 Z{z_max} F{6 * 60} ; based on above figures, there will be 20mm worth of grinding ; CHANGED - BEEP I=2 + CONDITIONAL_BEEP I=2 G4 P10000 ; wait 10 seconds G1 Z{z_max -6} F{6 * 60} ; move 4mm down - BEEP I=3 + CONDITIONAL_BEEP I=3 G4 P200 ; same as the first one SET_TMC_CURRENT STEPPER=stepper_z CURRENT={oldcurrent} HOLDCURRENT={oldhold}