2020-03-14 00:52:23 +01:00
2020-03-14 00:52:23 +01:00
2020-02-18 01:06:48 +01:00
2020-03-07 01:10:00 +01:00
2020-03-07 01:10:00 +01:00
2020-03-14 00:52:23 +01:00
2020-02-18 01:06:48 +01:00

Klipper Web Control

KWC is a responsive web interface for Klipper 3D printer firmware. It communicates with the klipper-api from Arksine.

Installation

At first install Arksine klipper-api fork/branch -> install manual

Download and install KWC:

mkdir -p ~/kwc
cd ~/kwc
wget -q -O kwc.zip https://github.com/meteyou/kwc/releases/download/v0.0.5/kwc-alpha-0.0.5.zip && unzip kwc.zip && rm kwc.zip

Configure web_server in printer.cfg:

[web_server]
port: 8080
trusted_clients:
 192.168.1.0/24
web_path: ~/kwc

Example Klipper macros:

[pause_resume]

[gcode_macro CANCEL]
default_parameter_X: 230
default_parameter_Y: 230
default_parameter_Z: 10
gcode:
    M104 S0
    M140 S0
    M141 S0
    M106 S0
    CLEAR_PAUSE

[gcode_macro PAUSE]
rename_existing: BASE_PAUSE
default_parameter_X: 230
default_parameter_Y: 230
default_parameter_Z: 10
gcode:
    SAVE_GCODE_STATE NAME=PAUSE_state
    BASE_PAUSE
    G91
    G1 E-1.7 F2100
    G1 Z{Z}
    G90
    G1 X{X} Y{Y} F6000
    G91

[gcode_macro RESUME]
rename_existing: BASE_RESUME
gcode:
    G91
    G1 E1.7 F2100
    G91
    RESTORE_GCODE_STATE NAME=PAUSE_state MOVE=1
    BASE_RESUME

Update KWC to V0.0.5

rm -R ~/kwc/*
cd ~/kwc
wget -q -O kwc.zip https://github.com/meteyou/kwc/releases/download/v0.0.5/kwc-alpha-0.0.5.zip && unzip kwc.zip && rm kwc.zip

and update your macros

Description
No description provided
Readme GPL-3.0 27 MiB
Languages
Vue 74.7%
TypeScript 24.7%
CSS 0.4%
JavaScript 0.1%