USB Drive Printing
This tutorial applies only to FLY host systems.
Important Notes
- Requires manual installation
- FAST systems do not require this step
- This tutorial will replace the
klipper/klippy/extras/virtual_sdcard.pyfile in Klipper. - Enables automatic copying of print files from a USB drive to the system's
/tmpdirectory after selecting a file from the USB drive. - After copying is complete, the web interface command line will display
File selected. - This script will detect
sdaXfolders and will not execute if none are found (where X in sda represents A-Z and 0-9). - Currently only tested on FLY host systems; other host systems have not been tested.
Usage Instructions
-
Connect to the host system using an SSH client and execute the command below.
-
Note: This command will restart the host system!
-
This step enables USB drive printing functionality.
sudo rm -rf /etc/udev/rules.d/fly_devices.rules && sudo wget https://cnb.cool/3dmellow/public/static-files/-/git/raw/main/klipper/fly_devices.rules -O /etc/udev/rules.d/fly_devices.rules > /dev/null 2>&1 && sudo chmod +x /etc/udev/rules.d/fly_devices.rules && sudo service udev restart && sudo reboot
USB Drive Printing Operation
Backup and Download File
-
Note: This command will stop Klipper.
-
This step enables the automatic copying of selected USB drive files to the system's
/tmpdirectory.sudo systemctl stop klipper && mv ~/klipper/klippy/extras/virtual_sdcard.py ~/virtual_sdcard.py && curl -kfsSL https://cnb.cool/3dmellow/public/static-files/-/git/raw/main/klipper/fly_devices.rules -o ~/klipper/klippy/extras/virtual_sdcard.py && sudo systemctl restart klipper
Restore Original File
-
Note: This command restores the original Klipper file.
sudo systemctl stop klipper && mv ~/virtual_sdcard.py ~/klipper/klippy/extras/virtual_sdcard.py && sudo systemctl restart klipper
Loading...