Skip to content

Instantly share code, notes, and snippets.

View lhess's full-sized avatar
👋

Lars Heß lhess

👋
View GitHub Profile
@lhess
lhess / printer.cfg
Last active February 24, 2024 12:26
klipper SKR PRO v1.2 config, i3 cartesian, dual Z, BLTouch, tmc2209
# Specs:
# - SKR 1.2 Pro
# - TMC2209
# - 1.8 stepper on XYZ
# - Dual Z
# - BLTouch
# - Sensorless homing on X
# - Physical endstops on Y
# - BMG extruder with 1.8 stepper
# - e3d Volcano with 12V 40 watts heater
@lhess
lhess / cfg
Created December 4, 2020 11:17
klipper prusaslicer M73 remaining time
[display_data _default_16x4 printing_time]
position: 2, 10
text:
{% set ptime = printer["gcode_macro M73"].r %}
{ "R%02d:%02d" % (ptime // 60, ptime % 60) }
[gcode_macro M73]
rename_existing: M773
variable_p: 0.0
variable_r: 0.0
@lhess
lhess / printer.cfg
Last active August 3, 2021 01:33
klipper triogorilla config i3 cartesian dual Z, BLTouch
# Prutscha i3
[mcu]
serial: /dev/ttyUSB0
pin_map: arduino
[printer]
kinematics: cartesian
max_velocity: 200
max_accel: 1500
@lhess
lhess / entrypoint.sh
Last active July 11, 2016 13:52
check availability of specific port in docker-entrypoint by using netcat (example for elasticsearch)
#!/usr/bin/env bash
echo "Stalling for Elasticsearch..."
for i in {30..0}; do
nc -q 1 elasticsearch 9200 2>/dev/null && break
echo "Elasticsearch init process in progress..."
sleep 1
done
if [ "$i" = 0 ]; then