Skip to content

jairbj/Creality-Helper-Script-K1-CFS

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Creality Helper Script for K1 Series with CFS Upgrade Kit Firmware

Warning

THIS REPOSITORY IS STILL VERY MUCH AN ACTIVE WORK IN PROGRESS! PROCEED AT YOUR OWN RISK!


About

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.


Currently tested modules

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

Known Issues / Workarounds for K1 Series CFS Firmware

Git is Broken

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))

  1. SSH into the machine.
  2. Install Entware:
wget http://bin.entware.net/mipselsf-k3.4/installer/generic.sh -O - | sh
  1. 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
  1. Update and install Git:
opkg update
opkg install git-http
opkg install git  # (Optional, if git is missing)
  1. 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

  1. Clone the script:
git clone --depth 1 https://github.com/jairbj/Creality-Helper-Script-K1-CFS.git /usr/data/helper-script
  1. 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

Repo error thrown when installing Moonraker

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

KAMP

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.


Original Helper Script Wiki by Guilouz:

Wiki

About

Helper Script for Creality K1 / KE / Ender-3 V3 Series

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 67.9%
  • Python 32.1%