First Layer AI Slicer Configuration (For Klipper Users Only)
warning
Slicer configuration is only required for Klipper. If you are running OctoPrint, you do not need to make any slicer changed
Celestrius will watch your print during the first layer to make sure nothing fishy like poor adhesion, under/over extrusion, blobbing and other issues are present. After the first layer is completed, you will get an email with a report card on your first layer.
In order to make this work, Celestrius needs to be able to know when the first layer is printing and when it finishes. To make this happen, you'll need to adjust your slicer to tell it to pass along the layer information within the G-code file.
Choose your slicer below and make the changes detailed in the section for your slicer
- PrusaSlicer
- SuperSlicer
- OrcaSlicer
- Cura
Go to the Print Settings tab.
Click Custom G-Code
Add the following to the top of the Start G-code section (before other start G-code):
SET_PRINT_STATS_INFO TOTAL_LAYER=[total_layer_count]
Add the following after the last line of the End G-code:
; total layers count = [total_layer_count]
Add the following to After Layer Change G-code:
SET_PRINT_STATS_INFO CURRENT_LAYER={layer_num + 1}
Be sure to save the settings to your printer profile so they will be re-used for the duration of the Celestrius Alpha Testing
Go to the Print Settings tab.
Click Custom G-Code
Add the following to the top of the Start G-code section (before other start G-code):
SET_PRINT_STATS_INFO TOTAL_LAYER=[total_layer_count]
Add the following to After Layer Change G-code:
SET_PRINT_STATS_INFO CURRENT_LAYER={layer_num + 1}
Click the edit printer button. It's the button next to the wifi symbol.
Click Machine G-Code
Add the following to the top of the Machine Start G-code section (before other start G-code):
SET_PRINT_STATS_INFO TOTAL_LAYER=[total_layer_count]
Add the following to After Layer Change G-code:
SET_PRINT_STATS_INFO CURRENT_LAYER={layer_num + 1}
Add the following after the last line of Machine End G-code:
; total layers count = [total_layer_count]
Open Cura
Open the "Help" menu and click Show Configuration Folder
On the file list, open the Scripts folder
Download
KlipperPreprocessor.py
to the "scripts" folderClose the file list
Close Cura
(optional) Download
preprocess_cancellation
to a folder of your choice(optional) Download
klipper_estimator
to a folder of your choiceOpen Cura
Open the Extensions menu, then Post Processing, and click on Modify G-Code
Click on Add a script and select Klipper Preprocessor
Set options according to your needs (hover any option to view the description)
Click Close when finished