GregValiant 1,342
Cura can control any number of fans...as long as they are layer cooling fans because they must be tied to an extruder. As Slashee indicated the commands that come from Cura will be M106 Pxx commands. The "P" parameter is only inserted if the printer has multiple hot ends/extruders and they have different fans. All fan commands go in at tool changes.
For simple on/off functions you could put the commands into the StartUp and Ending GCode. For real actual control then the commands need to be interspersed throughout the gcode file.
You have a third party printer that has been modified by a fourth party using fifth party parts and firmware. That's fine, but I think you need to take the next step to "custom everything".
If the firmware is capable of accepting certain commands, and if you have the output capability for the defined fan circuits that will respond to particular commands, then you could post-process a Cura gcode and insert the commands wherever you want. You may not need a Klipper macro, but you may need a custom mainboard (or a daughterboard of some sort) to give you sufficient I/O for what you want to do. There is no point in putting all the time and effort into this if your current mainboard only has 1 cooling fan output.
- 1
Recommended Posts
Slashee_the_Cow 410
That's for printers which fully close (i.e. they have a complete enclosure and you open a door to get to your prints), they can make sure the air temperature inside is even more stable to prevent warping. It's generally only used to control a heater.
I really have no idea about Klipper though. Straight Marlin makes it easy to control particular fans in gcode (you just specify a P parameter on the M106 command to control fan speed). Altering them individually is entirely possible in a post-processing script. I've never been lucky/experimental enough to play with a printer expensive/modified enough to have multiple fans, so I don't know off the top of my head if there's an existing script or a way to do it in Cura.
Link to post
Share on other sites