This was super helpful mate👍. Just thought I would. Let everyone know you don’t put it in the klipper_config file anymore. I had clone the repo into config inside printer_data
Just wanted to say thanks for the helpful video. I just starting to play around with Klipper and had run across these macros and shortly after this video. Very helpful and much appreciated. Keep up the good work. Perhaps in the future you could make a video showcasing how you make the most out of these macros. 👍
Thank you. Very interesting. I have a question regarding the following note in the installation part of jschuh: _"...Make sure you don't currently have any macros that provide the same basic function as the macros in this repository (e.g. the default Mainsail or fluidd macros).Note: Make sure you don't currently have any macros that provide the same basic function as the macros in this repository (e.g. the default Mainsail or fluidd macros)."_ Do you also have to modify the Mainsail.cfg file?
you should not have to. In my experience, you just need to make sure that if you already reference macros in your printer.cfg or a file included in printer.cfg that you don't have conflicting names.
I'm getting this error just before the purge line "Move exceeds maximum extrusion (1.804mm^2 vs 1.440mm^2)" I don't understand, as I have increased variable_start_purge_length to 50, so from what understood from the documentation it should print a purge line.... but I always get that error @@minimal3dp
Thank you for an interesting and useful video! I have this question. Prusaslicer has a service variable `layer` that is used in many slicer macros. However, Klipper does not understand this construct and ignores it. Question - how do I get a layer counter in Klipper? Thanks!))
alas! I do not appear to have a folder called klipper_config Failed at the first go. Is this because I have multiple instances? The instructions do say clone to printer_data/config and I wonder if I am barking up the wrong tree and things have changed.
@@minimal3dp thank you, after managing to upload them to the wrong place twice lol I thought it should be there. Of course when trying that it then refused to connect to the git! But attempting again this morning it appears to have worked (yaay). So can move onto the next part now. Just have to go to work first (boo). Excellent info again, keep up the good work.
Greetings Mike. First off, thanks for a detailed instructables. Followed this macro setup and now when trying to print it's (BTT Pad 7) canceling the print do to extruder below minimum temp. Any help? Thanks! E5+ SKR3 TMC2209 BTT Pad 7
@@minimal3dp one that worked G90 ; use absolute coordinates M83 ; extruder relative mode M104 S150 ; set temporary nozzle temp to prevent oozing during homing and auto bed leveling M140 S{first_layer_bed_temperature[0]} ; set final bed temp M190 S{first_layer_bed_temperature[0]} ; wait for bed temp to stabilize G28 ; home all axis G29 ; auto bed levelling G1 Z50 F240 G1 X2.0 Y10 F3000 M104 S{first_layer_temperature[0]} ; set final nozzle temp M109 S{first_layer_temperature[0]} ; wait for nozzle temp to stabilize G1 Z0.28 F240 G92 E0 G1 X2.0 Y140 E10 F1500 ; prime the nozzle G1 X2.3 Y140 F5000 G92 E0 G1 X2.3 Y10 E10 F1200 ; prime the nozzle G92 E0 The one in your video (it's old) didn't work.
Very helpful video! How would one go about using the jschuh macros to draw a purge line. Im not the best at coding syntax and his github has left me confused in that regard.
hi, thanks for the vid. can you please advise how to install this on multiple klipper instances? do i have to deploy this on the individual printer config folder? or should I do it on a more global level? thanks
Take a look at: Install Klipper, Mainsail, and Octoprint with Multiple Instances Using KIAUH on an Old PC or Laptop ruclips.net/video/X_eHJXED3CM/видео.html Same process will work with an RPi
@@minimal3dp Hi Mike, it's me again :). I've been using this macros on both printers that I have. ender 3 v2 neo and S1 pro. now, this script is always flawless on my v2 neo and as you know that the bed mesh calibration is always done prior to every single print. However, it doesn't work as flawlessly on S1 pro and as you also know that adjusting Z-offiset means nothing because when the next print run, it will re-adjust the z-offset again. the outcome of the calibration on S1 is always too far from the plate while it's always perfect on V2 neo. So I'm just wondering if there's a setting in one of the cfg to set the Z distance between the end of the nozzle and end of the bl touch? I can see a slight difference in distance between the 2 printers, so perhaps, if there's a way of changing this, it might help my S1 pro. Hope you get what I mean. cheers
I have no idea what I'm doing with klipper, but I followed these steps and got things running. I also got an adxl345 and set up input shaping. Whenever I start a print, the console shows that the accel limits are set to 500, when I want them way higher than that. Is there something in the macros I have to change?
You have 2 possible issues to check: 1. See what your max acceleration is set to in your printer.cfg in the [printer] section. 2. Check your slicer. Some slicers set your default max acceleration. Let me know if that fixes your problem.
Any idea why my klipper-macros folder is not showing? I also had to install the repository into my printer_data directory because klipper-config is not showing also the github said to do it there but its not working.
yea im getting errors configuring cura as my slicer with their post processing scripts and start/end gcodes when i try open the file to print in mainsail, it says it cannot open the file
For some strange reason I don't have a "klipper_config" file in my directory(!!) . I must have missed a step somewhere. Honestly it was install #5 before things started working.
@@minimal3dp Somewhat, I can only work on this in short periods. Between 2nd shift and sleep. It connects, I think I have the fans configured, I was using your video to add the macros, then "Where is klipper_config file?" Popped up. I know it's open source built by people out of their generosity, but it's still frustrating when small things trip you up.
Finally got things moving. My machine is a Folgertech, they're out of business, and there is no docs on the stepper motors, I ended up switching tiny wires in the JSTs. Got rotation distance set, I need to figure out these macros.
I know this is dated but I have a flying bear reborn 2 which I just installed klipper and I’m attempting to get the macros installed following your video and so far everything has worked except the maximum extrude length I’ve tried everything from your suggestion of 50 all the way down to 5 and I continually keep getting that error do you have any idea what’s going on thanks
The same one that you mentioned in your video you changed it from 90 to 50 well I change it from 90 all the way down to five and I keep getting the error regardless of what I change the amount to
hello, the video is very good, thank you. But macos division buttons are not working. (Ender 3s1pro-kliper-mainsail). Even though I did the update, it doesn't appear in the section.
i dont have a klipper_config location, and if i create it it doesnt show up on web browser, my location for my cfgs are /home/sonic/printer_data/config if i make the folder there it then shows up in my web browser, but the git command to download and makes a klipper_config folder lol im not using a pi i am using a un sonic pad. (creality stuff been removed)
Hello mate, i have a error ''Existing command 'M106' not found in gcode_macro rename'',i have checked every path and all seems okay, so what can be the problem ? Thanks
@@minimal3dp yes, if i comment the include to the macro.cfg file the printer boot without any problem, in addition i error is in the fan.cfg file if i move it the error move to another file. i have klipper v0.11.0-52-g40d8c2ef moonraker v0.7.1-794-g225ec58 mainsail v2.4.1 Thanks.
Thank you very much for the excellent information and explanation. I'm trying to set up my runout filament sensor in Jschuh's macros and I can't get it to work. Could someone give me a hand. Thank you so much
@@minimal3dp Thank you very much for answering. I already asked the question and today it was precisely resolved. I share what the creator has answered me: I keep my runout sensors positioned several inches before the extruder gears, so that when they trigger there's still enough filament available that the current layer will complete and the pause will run during the layer change: [filament_switch_sensor runout] pause_on_runout: False switch_pin: runout_gcode: # Pause immediately if we're in PRINT_START {% if printer.print_stats.info.current_layer < 1 %} PAUSE # Pause at the end of the layer if we're anywhere else {% elif printer.print_stats.info.current_layer
Trying to follow this video but like so many other things I try my results do not match.. I have no Klipper_config in my path. What possible reasons for this Thanks
Thought i'd leave the above question rather than delete. The instructions have changed since you did this video. I guess the old rule of "Read the instructions" apply well here Thanks for doing this video
Another really informative vid mate.i thought there was something wrong with my computer it was randomly restarting when i had cura open.i guess its just cura
I found that the initial release of Cura tends to be a little unstable. With several different platforms (windows, macos, and Linux) it is hard to check everything.
What you're doing is amazing because there's people out here that want to be able to do this and they can't because they don't have the computer knowledge and stuff like that but there's also other problems you know like myself I've always had a learning disability and it takes me a lot of extra to learn it and how I learn it is watching videos like yours and I push pause do a step unpause it to another step push pause so I'm getting ready to do a Mercury one bill and when I do I know I'm going to need help with my new controller I have klipper on the computer with three klippers installed and when I start doing this bill to get to the electronics I'm probably going to have to buy a little bit of your time 15 minutes session or something and see if you would help me with getting my controller board set up properly like even as far as emailing me the config so I can copy and paste it and trying to help me that way I hope that's how it works out but I really enjoyed your video since I started watching you I just found you two days ago I've been watching videos for 5 years now on 3D printing I've learned a lot and it's helped my it's helped my learning disability a lot this hobbies really done a lot for me and find a musical really do a lot so thank you very much God bless you what you doing what you doing is going to help tons of people
I've been printing for quite some time, have an ender 3 S1 and just not impressed, found out others use klipper with good results, I decide to change over so I did an old printer first, and the S1 afer getting used to it. I did both installs the same way, one showed maco buttons and one install did not. I found you on here with this video and now they are all there and then some!! I did have a couple issues changing paths, but luckily I know how to figure that stuff out, so it was no biggie, besides klipper tells you what's wrong!! LOL this is working out great for me so far. Anyway, though you may enjoy the story of a faulty install and your video helped me fix it with bonuses. Now to figure out how to EDIT these macros for my own use! 🤣🤣🤣
So i did this but i have 4 different printers setup. I downloaded the file into klipper_config and in each of the folders for the different printers as well and nothing is coming up. Am i missing something?
I am following your videos which are very informative to get into Klipper without any hassle. But one small suggestion your voice is very very low in all the videos I have to crank up my volume to almost 80-90%, even though I wear the headset. Can you speak a little bit louder?
I reformated my machine this week and did not save my sound settings. I will be working on sound this weekend and will keep your feedback in mind. I appreciate it.
hey , I want to use the load and unload filament and getting this error . {'error': 'WebRequestError', 'message': "Error evaluating 'gcode_macro _load_unload:gcode': jinja2.exceptions.UndefinedError: 'extras.gcode_macro.GetStatusWrapper object' has no attribute 'gcode_macro _km_globals' "} Any idea's Btw I love your video's
This was super helpful mate👍. Just thought I would. Let everyone know you don’t put it in the klipper_config file anymore.
I had clone the repo into config inside printer_data
Thanks for the heads up. I will look at doing an updated video.
Just wanted to say thanks for the helpful video. I just starting to play around with Klipper and had run across these macros and shortly after this video. Very helpful and much appreciated. Keep up the good work. Perhaps in the future you could make a video showcasing how you make the most out of these macros. 👍
Thank you. Very interesting.
I have a question regarding the following note in the installation part of jschuh: _"...Make sure you don't currently have any macros that provide the same basic function as the macros in this repository (e.g. the default Mainsail or fluidd macros).Note: Make sure you don't currently have any macros that provide the same basic function as the macros in this repository (e.g. the default Mainsail or fluidd macros)."_
Do you also have to modify the Mainsail.cfg file?
you should not have to. In my experience, you just need to make sure that if you already reference macros in your printer.cfg or a file included in printer.cfg that you don't have conflicting names.
I'm getting this error just before the purge line "Move exceeds maximum extrusion (1.804mm^2 vs 1.440mm^2)" I don't understand, as I have increased variable_start_purge_length to 50, so from what understood from the documentation it should print a purge line.... but I always get that error @@minimal3dp
Ok, I had to increase the max_extrude_cross_section to a more reasonable value (3.0) in my Klipper config
Thank you mike.. for giving us really valuable and useful information. We really thank you..
You're welcome.
Thank you for an interesting and useful video! I have this question. Prusaslicer has a service variable `layer` that is used in many slicer macros. However, Klipper does not understand this construct and ignores it. Question - how do I get a layer counter in Klipper? Thanks!))
I believe it can be done with klipperscreen. Are you using it? If not, I will look around.
Yes, I use it, but it seems to me that the nails are from different walls, although I may be mistaken.)))
I have to apologize to you, but the answer was found in the manuals for KlipperScreen! Who would have thought! It's weird and amazing...
!!!!!))))))))
Mainsail is not allowing me to edit the cfg file. It states it’s read only hence save and close is not there. Can you advise?
Are you using a sonic pad?
I want to use your config with my FLSUN Q5 with BTT pico board. Do I need to modify any parameter? Thanks!
I don't know the pico board. Take a look at:
github.com/Klipper3d/klipper/blob/master/config/printer-flsun-q5-2020.cfg
Thanks for the video. I downloaded klipper with mainsail whatever I do I only have ls klipper/config not klipper-config can’t find it anywhere
It is now Klipper/config
alas! I do not appear to have a folder called klipper_config Failed at the first go. Is this because I have multiple instances? The instructions do say clone to printer_data/config and I wonder if I am barking up the wrong tree and things have changed.
It is now config, I believe
@@minimal3dp thank you, after managing to upload them to the wrong place twice lol I thought it should be there. Of course when trying that it then refused to connect to the git! But attempting again this morning it appears to have worked (yaay). So can move onto the next part now. Just have to go to work first (boo). Excellent info again, keep up the good work.
Is this mainsail config that it has changed to? The the only config that comes up
Greetings Mike. First off, thanks for a detailed instructables. Followed this macro setup and now when trying to print it's (BTT Pad 7) canceling the print do to extruder below minimum temp. Any help? Thanks! E5+ SKR3 TMC2209 BTT Pad 7
I put the original start and end back in prusaslicer, it's back to printing.
That is weird. Can you share the new and old code so I can look at it?
@@minimal3dp one that worked G90 ; use absolute coordinates
M83 ; extruder relative mode
M104 S150 ; set temporary nozzle temp to prevent oozing during homing and auto bed leveling
M140 S{first_layer_bed_temperature[0]} ; set final bed temp
M190 S{first_layer_bed_temperature[0]} ; wait for bed temp to stabilize
G28 ; home all axis
G29 ; auto bed levelling
G1 Z50 F240
G1 X2.0 Y10 F3000
M104 S{first_layer_temperature[0]} ; set final nozzle temp
M109 S{first_layer_temperature[0]} ; wait for nozzle temp to stabilize
G1 Z0.28 F240
G92 E0
G1 X2.0 Y140 E10 F1500 ; prime the nozzle
G1 X2.3 Y140 F5000
G92 E0
G1 X2.3 Y10 E10 F1200 ; prime the nozzle
G92 E0
The one in your video (it's old) didn't work.
Very helpful video! How would one go about using the jschuh macros to draw a purge line. Im not the best at coding syntax and his github has left me confused in that regard.
Let me see what I can do.
hi, thanks for the vid. can you please advise how to install this on multiple klipper instances? do i have to deploy this on the individual printer config folder? or should I do it on a more global level? thanks
Take a look at: Install Klipper, Mainsail, and Octoprint with Multiple Instances Using KIAUH on an Old PC or Laptop
ruclips.net/video/X_eHJXED3CM/видео.html
Same process will work with an RPi
@@minimal3dp Hi Mike, it's me again :). I've been using this macros on both printers that I have. ender 3 v2 neo and S1 pro. now, this script is always flawless on my v2 neo and as you know that the bed mesh calibration is always done prior to every single print. However, it doesn't work as flawlessly on S1 pro and as you also know that adjusting Z-offiset means nothing because when the next print run, it will re-adjust the z-offset again. the outcome of the calibration on S1 is always too far from the plate while it's always perfect on V2 neo. So I'm just wondering if there's a setting in one of the cfg to set the Z distance between the end of the nozzle and end of the bl touch? I can see a slight difference in distance between the 2 printers, so perhaps, if there's a way of changing this, it might help my S1 pro. Hope you get what I mean. cheers
I have no idea what I'm doing with klipper, but I followed these steps and got things running. I also got an adxl345 and set up input shaping. Whenever I start a print, the console shows that the accel limits are set to 500, when I want them way higher than that. Is there something in the macros I have to change?
You have 2 possible issues to check:
1. See what your max acceleration is set to in your printer.cfg in the [printer] section.
2. Check your slicer. Some slicers set your default max acceleration.
Let me know if that fixes your problem.
Any idea why my klipper-macros folder is not showing? I also had to install the repository into my printer_data directory because klipper-config is not showing also the github said to do it there but its not working.
Did you update your path in moonraker.conf?
Thank soooo much! This really helped me, you are very good at explaining things and making things easy to follow
Glad it helped you. Let me know if you have questions.
For anyone watching, video actually starts at 02:50 until then it's fluff :(
Thanks for the feedback.
yea im getting errors configuring cura as my slicer with their post processing scripts and start/end gcodes
when i try open the file to print in mainsail, it says it cannot open the file
Can you send me a file that you have sliced? I will take a look.
For some strange reason I don't have a "klipper_config" file in my directory(!!) . I must have missed a step somewhere. Honestly it was install #5 before things started working.
Did you get things working?
@@minimal3dp
Somewhat, I can only work on this in short periods. Between 2nd shift and sleep. It connects, I think I have the fans configured, I was using your video to add the macros, then "Where is klipper_config file?" Popped up. I know it's open source built by people out of their generosity, but it's still frustrating when small things trip you up.
Finally got things moving. My machine is a Folgertech, they're out of business, and there is no docs on the stepper motors, I ended up switching tiny wires in the JSTs. Got rotation distance set, I need to figure out these macros.
Thank you for the walkthrough…
Your welcome.
I know this is dated but I have a flying bear reborn 2 which I just installed klipper and I’m attempting to get the macros installed following your video and so far everything has worked except the maximum extrude length I’ve tried everything from your suggestion of 50 all the way down to 5 and I continually keep getting that error do you have any idea what’s going on thanks
What is the error you are getting?
The same one that you mentioned in your video you changed it from 90 to 50 well I change it from 90 all the way down to five and I keep getting the error regardless of what I change the amount to
hello, the video is very good, thank you. But macos division buttons are not working. (Ender 3s1pro-kliper-mainsail). Even though I did the update, it doesn't appear in the section.
I am out of town for a couple of days so I can’t look at it. Is everything else working?
Many thanks! I was trying to get macros to work and I had missed copying that section into the printer config file! Silly me lol😂
Glad to help. It is easy to miss that section.
i dont have a klipper_config location, and if i create it it doesnt show up on web browser, my location for my cfgs are /home/sonic/printer_data/config if i make the folder there it then shows up in my web browser, but the git command to download and makes a klipper_config folder lol im not using a pi i am using a un sonic pad. (creality stuff been removed)
Put it in the config folder.
Hello mate, i have a error ''Existing command 'M106' not found in gcode_macro rename'',i have checked every path and all seems okay, so what can be the problem ? Thanks
Is everything else working? I will research and see if I can find an answer.
@@minimal3dp yes, if i comment the include to the macro.cfg file the printer boot without any problem, in addition i error is in the fan.cfg file if i move it the error move to another file.
i have klipper
v0.11.0-52-g40d8c2ef
moonraker
v0.7.1-794-g225ec58
mainsail
v2.4.1
Thanks.
Thank you very much for the excellent information and explanation.
I'm trying to set up my runout filament sensor in Jschuh's macros and I can't get it to work.
Could someone give me a hand.
Thank you so much
I have not used that myself. Have you tried posting the question inthr GitHub repo?
@@minimal3dp Thank you very much for answering.
I already asked the question and today it was precisely resolved.
I share what the creator has answered me:
I keep my runout sensors positioned several inches before the extruder gears, so that when they trigger there's still enough filament available that the current layer will complete and the pause will run during the layer change:
[filament_switch_sensor runout]
pause_on_runout: False
switch_pin:
runout_gcode:
# Pause immediately if we're in PRINT_START
{% if printer.print_stats.info.current_layer < 1 %}
PAUSE
# Pause at the end of the layer if we're anywhere else
{% elif printer.print_stats.info.current_layer
@@minimal3dp I have tested it and it works as it should.
Trying to follow this video but like so many other things I try my results do not match.. I have no Klipper_config in my path. What possible reasons for this Thanks
Thought i'd leave the above question rather than delete. The instructions have changed since you did this video. I guess the old rule of "Read the instructions" apply well here Thanks for doing this video
Did you clone.the repo man nto y9ur printer_data folder?
Hi, when i save and restart i get this error message (Existing command 'M106' not found in gcode_macro rename).
Check that all your paths are correct.
Iam having the problem at the start of print tool head keep crashing to endstop.
Are your endstops working?
Another really informative vid mate.i thought there was something wrong with my computer it was randomly restarting when i had cura open.i guess its just cura
I found that the initial release of Cura tends to be a little unstable. With several different platforms (windows, macos, and Linux) it is hard to check everything.
When I input cd klipper_config I get an error saying "No file or directory"
Take a look at your home directory and see what is there.
@@minimal3dp what am I looking for? Klipper.cfg?
can i install the same way in octoklipper?
You should be able to.
What you're doing is amazing because there's people out here that want to be able to do this and they can't because they don't have the computer knowledge and stuff like that but there's also other problems you know like myself I've always had a learning disability and it takes me a lot of extra to learn it and how I learn it is watching videos like yours and I push pause do a step unpause it to another step push pause so I'm getting ready to do a Mercury one bill and when I do I know I'm going to need help with my new controller I have klipper on the computer with three klippers installed and when I start doing this bill to get to the electronics I'm probably going to have to buy a little bit of your time 15 minutes session or something and see if you would help me with getting my controller board set up properly like even as far as emailing me the config so I can copy and paste it and trying to help me that way I hope that's how it works out but I really enjoyed your video since I started watching you I just found you two days ago I've been watching videos for 5 years now on 3D printing I've learned a lot and it's helped my it's helped my learning disability a lot this hobbies really done a lot for me and find a musical really do a lot so thank you very much God bless you what you doing what you doing is going to help tons of people
Glad you found my work helpful. Zero G now has some great docs for the mercury one build.
I've been printing for quite some time, have an ender 3 S1 and just not impressed, found out others use klipper with good results, I decide to change over so I did an old printer first, and the S1 afer getting used to it. I did both installs the same way, one showed maco buttons and one install did not. I found you on here with this video and now they are all there and then some!! I did have a couple issues changing paths, but luckily I know how to figure that stuff out, so it was no biggie, besides klipper tells you what's wrong!! LOL this is working out great for me so far. Anyway, though you may enjoy the story of a faulty install and your video helped me fix it with bonuses.
Now to figure out how to EDIT these macros for my own use! 🤣🤣🤣
I really appreciate you sharing. I am glad the video was helpful.
Tried these out the surface offset macros are a mess and I couldn't figure out how to fix them more trouble than its worth..
I haven't messed with the surface macros. If I get a chance I will take a look at them
So i did this but i have 4 different printers setup. I downloaded the file into klipper_config and in each of the folders for the different printers as well and nothing is coming up. Am i missing something?
Did you update the printer config file for each printer?
I am following your videos which are very informative to get into Klipper without any hassle. But one small suggestion your voice is very very low in all the videos I have to crank up my volume to almost 80-90%, even though I wear the headset. Can you speak a little bit louder?
I reformated my machine this week and did not save my sound settings. I will be working on sound this weekend and will keep your feedback in mind. I appreciate it.
Very goog
Glad to help. Let me know if you have questions.
hey , I want to use the load and unload filament and getting this error .
{'error': 'WebRequestError', 'message': "Error evaluating 'gcode_macro _load_unload:gcode': jinja2.exceptions.UndefinedError: 'extras.gcode_macro.GetStatusWrapper object' has no attribute 'gcode_macro _km_globals'
"}
Any idea's
Btw I love your video's
Thanks for the kind words.
Take a look at your printer.cfg and see if gcode_macro_km_globals is commented out.
GitHub link is down :(
Sorry about that. I had an extra character in the url. It should work now. I appreciate the heads up.
@@minimal3dp thx for fixing it, bro!
I'm still getting the extrude distance error [7:12] even after changing my variable load length error. Any other solution for that error?
What length did you try?
Tried this on my Ender 3 V2. Klipper and Moonraker is running on a laptop running Ubuntu and not on a Pi. I can't get the macros to show? Any idea?
At a guess check your paths. Make sure you refence the scripts path in your printer.cfg file. Make sure the path is correct.