Warning
THIS REPOSITORY IS STILL VERY MUCH AN ACTIVE WORK IN PROGRESS! PROCEED AT YOUR OWN RISK!
This script is a fork of Guilouz awesome Creality Helper Script with modifications to accomodate new code as found in the new K1 series CFS Upgrade Kit firmware (v2.3.5.33). This script is intended for use on Creality K1 Series printers with CFS Upgrade Kit Firmware and my modifcations are mainly for the START_PRINT macro routine.
START_PRINT modifications got from https://github.com/Nik-oli/Creality-Helper-Script-K1-CFS
Some modules currently untested so use at your own risk. If you encounter errors please uninstall any modules you installed and factory reset your printer as per the original Guilouz Helper Script Wiki.
If you don't know what you're doing, I don't recommend using this helper script.
Currently the CFS firmware has an instruction to perform a purge as part of the START_PRINT routine but when using a CFS filament is often not loaded before the purge process.
As a result KAMP is somewhat working on the CFS firmware, however, it should be noted that if filament is not pre-loaded to the extruder before starting a print no filament will be extruded during the purge line process or fallback Creality purge. I expect there will be a fix for this but I am by no means any kind of expert when it comes to code/scripts and the modifications found in this repository are purely based off comparing the helper script data to the new CFS upgrade kit firmware data, if you are aware of an effective and simple way to fix this please do feel free to let me know.
In the meantime I would advise enabling skirt/skirt loops in your slicer to purge and prime the nozzle before the print starts.
The following modules have been tested on my K1 (FW 2.3.5.33) and seem to be working ok for me but as always use as your own risk.
- 1 - Moonraker and Nginx*
- 2 - Fluidd (port 4408)
- 4 - Entware
- 6 - Klipper Adaptive Meshing & Purging*
- 5 - Klipper Gcode Shell Command
- 10 - Improved Shapers Calibrations
- 22 - Mobileraker Companion
Git seems to be broken on the K1 series CFS upgrade kit firmware and as a result you will need to install it manually as follows... Credit to @A-Void-Me for the workaround (Guilouz/Creality-Helper-Script-Wiki#787 (comment))
- SSH into the machine.
- Install Entware:
wget http://bin.entware.net/mipselsf-k3.4/installer/generic.sh -O - | sh
- Add Entware to your path:
export PATH=/opt/bin:/opt/sbin:$PATH
echo 'export PATH="/opt/bin:/opt/sbin:$PATH"' > /etc/profile.d/entware.sh
echo '#!/bin/sh\n/opt/etc/init.d/rc.unslung "$1"' > /etc/init.d/S50unslung
chmod 755 /etc/init.d/S50unslung
- Update and install Git:
opkg update
opkg install git-http
opkg install git # (Optional, if git is missing)
- Patch newly installed Git to the usr/bin folder:
mv /usr/bin/git /usr/bin/git.bak
ln -s /opt/bin/git /usr/bin/git
Git will now be installed and the Helper Script can be Git cloned to your printer as per the Helper Script Wiki.
Note
The following commands will install this forked version with modifications. If you wish to use Guilouz original Helper Script then use the instructions here
- Clone the script:
git clone --depth 1 https://github.com/jairbj/Creality-Helper-Script-K1-CFS.git /usr/data/helper-script
- Run the script:
sh /usr/data/helper-script/helper.sh
- If you encounter an issue to clone Helper Script repository, enter this command before cloning:
git config --global http.sslVerify false
To prevent seeing an error about the repository when installing Moonraker run the following command to add Moonraker to Git as safe:
git config --global --add safe.directory /usr/data/moonraker/moonraker
Due to creality START_PRINT script runs before the filament is loaded into extruder I have to separate the purge from this script.
When starting print from Creality Print or from printer screen set Calibration to OFF for using adaptive bed mesh.
Also, add the folowing to your 'Machine Start G-code':
ADAPT_PURGE_MOD
All credit goes to Guilouz who created the Creality Helper Script. Minor modifications have been made purely to facilitate the new routines found in the CFS upgrade kit firmware.