r/klippers • • 10h ago

How can I ask the dev team to add a feature for the ability to use algabraic expressions within configuration files?

Post image
17 Upvotes

Machine setting configuration files in Klipper like printer.cfg should allow algebraic expressions to define a setting?

Conceptually, it should work something like:

[bltouch]
x_offset: 31
y_offset: 12

[safe_z_home]
home_xy_position: 117,.5 + x_offset, 117.5+ y_offset

How can I ask the open source dev community to code this feature into a future release?


r/klippers • • 7h ago

Masters of the graph, help me decipher this and tell me why my print come out slanted in the Y axis direction

Post image
4 Upvotes

r/klippers • • 4h ago

Bed Mesh

Post image
2 Upvotes

Just installed beacon about a week ago on my Voron 2.4 and this is the resulting bed mesh. Is anyone able to interpret why I’m getting these weird ridges along the height map? Currently just running the default bed_mesh_calibrate command and haven’t modified anything.


r/klippers • • 13h ago

Eddy-tap and bed mesh help

Post image
8 Upvotes

Hello, i have a SV08 with a custom toolhead with an eddy duo for bed leveling.

The SV08 is converted to mainline and is printing fine. The only problem i have is that the z-offset is to low if i don't raise it by 0.2mm in the Start_Print macro and the bedmesh looks like it doesn't work right. On one side of the print the z offset is good and on the other i'm to close to the bed. Printed a lot of 150x150 one layer thick sheets and got the same result on all of them.

If someone could bring me in the right direction i would be very greatfull.

Link to my .cfg

https://drive.google.com/drive/folders/1blDoaw8UUt5DKpHsHjR7V4_l7wL724ds


r/klippers • • 9h ago

accidentally saved negative z_offset

Post image
0 Upvotes

First off: I barely know what I'm doing. I bought the printer used about two years ago. Recently, the thing had some mechanical problems, so I took care of those. Some things didn't feel right, so I opened my notes on the calibrations.

Either way, I accidentally saved a negative value for the z_offset and get this error now. Manually changing the value to a positive one in printer .cfg doesn't seem to do anything.

I'm probably missing something obvious, but I'm at the end of my wits and don't wanna break code I'm seeing for the first time.


r/klippers • • 11h ago

Driver tmc 2208

Thumbnail gallery
0 Upvotes

r/klippers • • 23h ago

PRINT_START & PRINT_END issue.

Thumbnail
gallery
1 Upvotes

I've seen that this is a pretty beaten on topic, but I am not having any luck getting these macros to work properly. Printer is new to me as is Klipper, so this has been a learning curve, but I understand what I'm looking at, so I'm not completely oblivious. I've checked my config files and in a sub folder that IS "included" in my printer config file there is "START_PRINT" and "END_PRINT". Orca out of the box set my start and end commands as to "PRINT_START" and "PRINT_END". In this configuration I get a "unknown command: "PRINT_START". It's obvious as to why I get this. So, I changed the orca g code in my printer settings to use what is in my config files. Then I get "error evaluating" faults. 🤦‍♂️ What's going on here? I even tried making the said changed in my actual config files with no luck.


r/klippers • • 1d ago

Want an ESP32 to react to your snapmaker U1 (or other klipper printer?) here's a potential leg-up!

5 Upvotes

Hey!

So I wanted to make an esp32 react to my printers, and was very surprised to find that although there was a library for this with octoprint, there wasn’t really a moonraker equivalent! after spending a little while making my own standing on the shoulders of this project here:

https://makerworld.com/en/models/1439324-klipper-status-monitor

I have paired my project down to the file I wish I had stumbled across when I started the project! what it does is ping the printer's status and saves it to a bunch of variables!

#include <WiFi.h>

#include <HTTPClient.h>

#include <ArduinoJson.h>

//Your SSID here!

const char* ssid = "WIFINAME";

//Your WiFi Password Here!

const char* password = "PASSWORD";

//pop your printer's IP address here!

const char* printerURL = "http://YOUR-IP-HERE:7125/printer/objects/query?led%20cavity_led&print_stats&display_status&extruder&extruder1&extruder2&extruder3&heater_bed&pause_resume&fan_generic%20exhaust_fan&fan_generic%20cavity_fan&fan_generic%20circulation_fan&fan&heater_fan%20e0_nozzle_fan&temperature_sensor%20cavity";

//---------------------------------------------------------------- Here are all the variables I have pulled,

//----------- File info

float progress;

int progressPercent;

const char* state;

//----------- Nozzle Temps and Targets

float nozzleTemp;

float nozzleTarget;

float nozzlePower;

float nozzleTemp1;

float nozzleTarget1;

float nozzlePower1;

float nozzleTemp2;

float nozzleTarget2;

float nozzlePower2;

float nozzleTemp3;

float nozzleTarget3;

float nozzlePower3;

//------------ Bed Temps and Targets

float bedTemp;

float bedTarget;

//------------ Chamber Temp

float chamberTemp;

//-------- Fans!

float exhaustFan;

float cavityFan;

float circulationFan;

float partFan;

//------- LED

float LED;

//------- Layers

int currentLayer;

int totalLayer;

//------- printerStats

const char* Filename;

int totalDuration;

int printDuration;

int filamentUsed;

const char* State;

const char* Exception;

const char* Message;

bool pausedState;

//---------------------------------------------------------------- Function to setup the printer's wifi connection

void setupPrinter() {

WiFi.begin(ssid, password);

int retry = 0;

while (WiFi.status() != WL_CONNECTED && retry < 20) {

delay(500);

Serial.print(".");

retry++;

}

if (WiFi.status() == WL_CONNECTED) {

Serial.println("WiFi OK");

} else {

Serial.println("WiFi Fail");

return;

}

delay(200);

}

//---------------------------------------------------------------- Function to get and seperate out all of the printers info!

void checkPrinterStatus() {

if (WiFi.status() == WL_CONNECTED) {

HTTPClient http;

http.begin(printerURL);

int httpCode = http.GET();

if (httpCode == 200) {

String payload = http.getString();

StaticJsonDocument<4096> doc;

DeserializationError error = deserializeJson(doc, payload);

if (error) {

Serial.println("JSON Error");

} else {

//----------- Printer Progress

progress = doc["result"]["status"]["display_status"]["progress"] | 0.0;

progressPercent = int(progress * 100.0);

state = doc["result"]["status"]["print_stats"]["state"] | "unknown";

//----------- Nozzle Temps and Targets

nozzleTemp = doc["result"]["status"]["extruder"]["temperature"] | 0.0;

nozzleTarget = doc["result"]["status"]["extruder"]["target"] | 0.0;

nozzlePower = doc["result"]["status"]["extruder"]["power"] | 0.0;

nozzleTemp1 = doc["result"]["status"]["extruder1"]["temperature"] | 0.0;

nozzleTarget1 = doc["result"]["status"]["extruder1"]["target"] | 0.0;

nozzlePower1 = doc["result"]["status"]["extruder1"]["power"] | 0.0;

nozzleTemp2 = doc["result"]["status"]["extruder2"]["temperature"] | 0.0;

nozzleTarget2 = doc["result"]["status"]["extruder2"]["target"] | 0.0;

nozzlePower2 = doc["result"]["status"]["extruder2"]["power"] | 0.0;

nozzleTemp3 = doc["result"]["status"]["extruder3"]["temperature"] | 0.0;

nozzleTarget3 = doc["result"]["status"]["extruder3"]["target"] | 0.0;

nozzlePower3 = doc["result"]["status"]["extruder3"]["power"] | 0.0;

//------------ Bed Temps and Targets

bedTemp = doc["result"]["status"]["heater_bed"]["temperature"] | 0.0;

bedTarget = doc["result"]["status"]["heater_bed"]["target"] | 0.0;

//------------ Chamber Temp

chamberTemp = doc["result"]["status"]["temperature_sensor cavity"]["temperature"] | 0.0;

//-------- Fans!

exhaustFan = doc["result"]["status"]["fan_generic exhaust_fan"]["speed"] | 0.0;

cavityFan = doc["result"]["status"]["fan_generic cavity_fan"]["speed"] | 0.0;

circulationFan = doc["result"]["status"]["fan_generic circulation_fan"]["speed"] | 0.0;

partFan = doc["result"]["status"]["fan"]["speed"] | 0.0;

//------- LED

for (int i = 0; i <= 3500; i++) {

String colourSubstringtemp = payload.substring(i, (i + 36));

if (colourSubstringtemp.startsWith("color_data")) {

String LEDString = colourSubstringtemp.substring(30, 38);

LED = LEDString.toFloat();

i = 99999;

}

}

//------- Layers

currentLayer = doc["result"]["status"]["print_stats"]["info"]["current_layer"] | 0;

totalLayer = doc["result"]["status"]["print_stats"]["info"]["total_layer"] | 0;

//------- printerStats

Filename = doc["result"]["status"]["print_stats"]["filename"] | "unknown";

totalDuration = doc["result"]["status"]["print_stats"]["total_duration"] | 0.0;

printDuration = doc["result"]["status"]["print_stats"]["print_duration"] | 0.0;

filamentUsed = doc["result"]["status"]["print_stats"]["filament_used"] | 0.0;

State = doc["result"]["status"]["print_stats"]["state"] | "unknown";

Exception = doc["result"]["status"]["print_stats"]["exception"] | "unknown";

Message = doc["result"]["status"]["print_stats"]["message"] | "unknown";

pausedState = doc["result"]["status"]["pause_resume"]["is_paused"] | false;

}

} else {

Serial.println("Klipper Inactive");

}

http.end();

} else {

Serial.println("WiFi Lost");

}

}

//---------------------------------------------------------------- Normal functions!

void setup() {

Serial.begin(115200);

delay(1000);

setupPrinter();

}

void loop() {

checkPrinterStatus();

Serial.println(LED);

}

If you copy and paste this into your IDE (I used the Arduino one even though I know I should have moved onto platformIO a long time ago!) and add your wifi credentials and printer's ip address, - Then it should give you any of the outputs you might want to monitor for your project! I kept all of the outputs up at the top of the file so you can see what they are and what they're monitoring!

At the moment it prints the LEDs brightness to the serial monitor so you can see it's working!

I am not claiming that this code is particularly groundbreaking or even well done. In fact it is pretty slow and inefficient (especially 136-141, I think that may actually be some of the worst code I have ever written!)

YMMV But it works fine for me! I can now have my cabinet react to the printers lighting and status. and ping updates and notifications via espnow to the shitty lilygo esp32 watch I bought like 5 years ago!


r/klippers • • 1d ago

Voron 2.4 r2 CAN problem

Thumbnail
youtube.com
2 Upvotes

need help!


r/klippers • • 4d ago

How prevent klippy.log from becoming huge?

3 Upvotes

So i went into mainsail, and realised that my moonraker.conf was 0.1kb, then i realised I only had 0.1kb of space left, very scary... turns out klippy.log was 20gb, recovered everything, but how did this even happen?


r/klippers • • 4d ago

Custom UI

10 Upvotes

Click the post to see the video and text 🙏🙏


r/klippers • • 4d ago

MainsailOS v3.0.2 released: updated Armbian base images + USB fix for Raspberry Pi 3 & Zero 2 W

Thumbnail
reddit.com
1 Upvotes

r/klippers • • 4d ago

Would you buy a cheap, expandable MMU board? (8 → 32 gates, Klipper-ready)

6 Upvotes

Hey all! I'm prototyping a controller board for multi-material systems and want to see if anyone actually cares before going further.

- 8 independent gates for ~€60

- Expansion kits up to 32 gates

- Works with Klipper out of the box

- Fully open firmware: rewrite it for whatever you need, like vending machines, CNC tool changers or any DIY project with independent steppers

If there's enough interest, I'll launch a crowdfunding campaign for the first production run once the prototype is done.

So:

1. What MMU are you running (or planning)?

2. Is €60 for 8 gates a good deal? What would you pay for an expansion kit?

3. Would you back it at an early-bird price?

4. Any must-have features?

Even a quick "I'd buy it" or "nah, because…" helps a ton 🙏


r/klippers • • 4d ago

Multi-toolhead heating and Birdsnest

Thumbnail reddit.com
1 Upvotes

r/klippers • • 4d ago

Help Removing KlipperScreen

Thumbnail reddit.com
1 Upvotes

r/klippers • • 4d ago

Motherboard swap.

Thumbnail reddit.com
2 Upvotes

r/klippers • • 5d ago

Ender 3 evolution

Thumbnail
gallery
86 Upvotes

this pore thing has been with me for 7 years, this is 2 years of it’s torture after I found out about klipper. I am so grateful this was my 3d printer, it teaches you huge amount of skills. I just recently bought a CC2 it’s a great machine but it just doesn’t have the same feel. that new printer will never replace my ender. thanks for all the help in this subreddit and with all the good info yall provide.


r/klippers • • 5d ago

Ringing as print gets taller?

Thumbnail gallery
5 Upvotes

Waddup gang. Just got through installing Klipper and doing all of the configuring, calibrating and tuning on my Ender 3 V2. Anyone experience ringing increasing as a print gets taller? To be fair, this was at 100mm/s with max accel at 3k (I should probably drop the accel to 2.5k, but 3k seemed more fun), and nearly at the 250mm z limit. I did opt for the EI style res comp due to being a bed slinger, so I’m wondering if this could be from the comp adjusting as the print grew. Could also just be the frame shaking more as the z climbs. Overall happy with the print quality and time all things considered, but curious if some more tuning could reduce this ringing while keeping the speed or close to it. I’m also running dual z and a dd extruder.


r/klippers • • 5d ago

[Academic Survey - 3 mins] 3D Printing Failures & Quality Control

0 Upvotes

Hi! I'm a university student conducting a study on quality control and mistake-proofing (Poka-Yoke) in 3D printing. If you use or operate 3D printers and have a few minutes to spare, I'd really appreciate your help filling out this quick survey.


r/klippers • • 5d ago

Atualização ender 3 v3

0 Upvotes

Fala pessoal, recentemente ganhei uma ender que iria para o lixo pois o antigo dono só maltratou e quando travou ia colocar fora, como já tenho outra serviu de aprendizado para mexer e aprender, mas gostaria de atualizar elas para um klipper, alguém conseguiria me ajudar? Pois não entendo muito sobre, até pensei em octoprint ou navaismo, mas lendo sobre percebi que para ganhar mais velocidade e qualidade nas impressões seria melhor partir para o klipper, alguém teria um repositório e uma disponibilidade para me auxiliar, pois pretendo fazer em uma e aprender a mexer, depois de me habituar fazer nas duas, tenho um tvbox que seria usado apenas para isso, pois mas configurações dele acredito que sirva tranquilamente segundo o claude.
Se alguém conseguir me ajudar, agradeço.


r/klippers • • 8d ago

Ringing tower test help!

Thumbnail
gallery
6 Upvotes

Hey everyone, I have been following Ricky Impeys sonic pad setup but I am having trouble with the ringing tower test as the gaps seem to be opening very early in the ridges around the 3rd ridge. With the same printer many can achieve far higher acceleration speeds.

What am i doing wrong?

I have attached 2 tests that i have done 1 is with the belts tighter and the second (the one with the layer shifts) experimenting mid print with belt tensions

Generally the Y side of the tower is tighter than the X side

Im using a Ender 3 S1 Pro.


r/klippers • • 8d ago

Mellow Fly D5 / Ender-3 V3 SE – Intermittent Disconnects During Printing

0 Upvotes

I recently installed a Mellow Fly D5 motherboard on my Ender-3 V3 SE because I wanted to experiment with different control boards for my 3D printer projects.

Unfortunately, ever since installing the Fly D5, I've been experiencing persistent connectivity issues.

The problem usually happens during printing. Sometimes the printer successfully completes a print, but other times it suddenly stops moving while remaining powered on.

When this happens:

  • The printer stops moving completely, even though its LEDs remain on.
  • I can no longer access Mainsail.
  • SSH connections to the Raspberry Pi also become unavailable.
  • The printer appears to remain connected to the network, but I cannot communicate with Klipper or the host.
  • After a couple of minutes, Mainsail and SSH become accessible again.
  • However, Klipper reports an MCU-related error, usually something along the lines of Can not update MCU 'mcu' config as it is shutdown.

I've already checked the power connections, and the issue is intermittent. Some prints complete without any problems, while others fail unexpectedly.

I'm trying to determine whether this is a power supply issue, USB communication problem, Raspberry Pi issue, or something related to the Fly D5 itself.

Has anyone experienced something similar with the Mellow Fly D5?

I'd gladly provide additional information, configuration files, logs, and error messages if needed. Any help would be appreciated!


r/klippers • • 7d ago

Klipper on ender 3 and ender 5 pro

0 Upvotes

I literally spent all night dealing with Ai trying to load klipper on my ender 3, following everything Ai said to do and got no where. I tried flashing bootloader with arduino, no luck then ydrp2040 same results then tried ender 5 and got not even one step closer to getting it done. Could any one please help me, my desktop is a Windows 10 optiplex 3070 running unbuntu in powershell, kiauah and Wsl all that I can't remember what all were the problems but it got to the point I had both printers torn down and quite a mess. I couldn't even get my ender 5 to read the sd card with klipper on it. Any help would be appreciated


r/klippers • • 8d ago

Hola a todos, puedo usar adaptadores en el TB6600 para el NEMA23 y mandar señal PUL, DIR; manta m8p cb1 bigtreecch

Thumbnail gallery
2 Upvotes