Closed eugr closed 4 years ago
Indeed I see that behaviour here:
It's enabling the fan when the speed > 0%. You're saying that it should enable the fan when the speed > 50%?
Well, I'd not enable a fan at all for Makerbot-style printers until you reach "regular" fan speed. This will make it more predictable when it turns on (it will turn on when regular speed at layer/height is reached). Something like that (assuming we don't get into some weird situation with floating point numbers when it never really reaches cool_fan_speed_min value). Here cool_fan_speed_min is "regular fan speed" from settings:
if (flavor == EGCodeFlavor::MAKERBOT && (speed >= cool_fan_speed_min) )
*output_stream << "M126 T0" << new_line; //value = speed * 255 / 100 // Makerbot cannot set fan speed...;
else
But I think ideally there should also be a flag enabling or disabling gradual fan ramp up, so non-Makerbot users could also have a binary control over fan (off before, on after certain height/level).
But I think ideally there should also be a flag enabling or disabling gradual fan ramp up, so non-Makerbot users could also have a binary control over fan (off before, on after certain height/level).
In general I'd prefer to get away from the whole notion of g-code flavours and toggle between individual differences, such as with firmware retract. It's not a change I can make now though.
We've decided on setting the drop-off point at 50% in the end still, rather than 100%. This is because many profiles (in particular material profiles) set the fan speed at 70% or 30% or so and then won't get fan speed even though they do normally have 70% fan speed. This way the fan speed will be more accurate for high temperature materials and still accurate for lower temperature materials. And your individual use case with the initial layer fan speed is also still possible, albeit with some weirdness. You can work around that by setting the regular fan speed to 50%.
@Ghostkeeper - Thanks! Is it a part of 4.5 beta? I've just tried it and I'm seeing the same behavior as before...
No, the above fix is not yet part of Cura 4.5 but will be in Cura 4.6
Yeah, sorry, it was too late for this to be in the beta. We've split that off to get the 4.5 release in a more stable condition, otherwise there is not enough time to test everything.
No problem, it can wait until the next release....
Yeah thank you for bringing this up!
The flashforge machines need some love with cura and your profile works and should be included with cura 4.11 and newer :-P
Application version 4.4.1
Platform Platform-independent
Printer Custom profile for FlashForge Creator Pro - see my repo at https://github.com/eugr/Flashforge-for-Cura, but can be reproduced with any Makerbot-style printer
Reproduction steps
Actual results The cooling fan starts after the first layer
Expected results The cooling fan starts after the third layer as FFCP has non-PWM fan (so it's either on or off). Maybe we could introduce a setting in printer definition that controls whether the printer has PWM or not?
Additional information After analyzing the G-Code file, looks like Cura inserts M126 T0 at the start of each layer. For RepRap-style that would be M106 Sxxx, but MakerBot flavor M126 does not support speeds, so the result is that the speed is set to 100% right away.
Example: