<p>Let's assume a I set a layer time to start increasing cooling from the base value, and another minimum layer time at which cooling reaches the maximum I set.</p>
<p><strong>How is the interpolation between the two obtained?</strong></p>
<p><em>Background information:</em></p>
<p>In general I would expect an inversely proportional relationship, since, for example, half layer time means doubling the cooling. Is this the case, or is it a linear relationship?</p>
<p>If an inversely proportional formula is used, I may only need to define the layer time for the max cooling, and the software would reduce it based on layer time alone, with an additional rule about never going below a predefined amount.</p>

CC BY-SA 4.0
2024-02-07T18:17:13.400Z
But no cooling fan cools the same, hence the flow needs to be tuned for your printer.  The flow of a radial fan is generally proportional to its speed, but the exact relationship can be influenced by various factors.
0scar
CC BY-SA 4.0
2024-02-09T09:45:28.257Z
@0scar Ok so what is the actual formula used by slicers currently? linear? the rest was guesswork and ideas on my side
FarO
CC BY-SA 4.0
2024-02-09T09:58:19.217Z
You could look it up in Cura slicing engine or slic3r source
0scar
CC BY-SA 4.0
2024-02-09T10:44:52.110Z
@0scar it's beyond my skills
FarO
CC BY-SA 4.0
2024-02-09T10:52:21.973Z
As the ralation is sort of linear you can expect the code to linerly interlpolate in between the min. fan speed and the max. fan speed.
0scar
<slicing><cooling>
How is the fan speed calculated?
FarO
# How is the fan speed calculated?

(Asked by: username_0 on 2024-02-07)

Let's assume a I set a layer time to start increasing cooling from the base value, and another minimum layer time at which cooling reaches the maximum I set.

**How is the interpolation between the two obtained?**

*Background information:*

In general I would expect an inversely proportional relationship, since, for example, half layer time means doubling the cooling. Is this the case, or is it a linear relationship?

If an inversely proportional formula is used, I may only need to define the layer time for the max cooling, and the software would reduce it based on layer time alone, with an additional rule about never going below a predefined amount.

**Tags:** slicing, cooling

> **Comments:**
> **username_1**: But no cooling fan cools the same, hence the flow needs to be tuned for your printer.  The flow of a radial fan is generally proportional to its speed, but the exact relationship can be influenced by various factors.  
> **username_0**: @username_1 Ok so what is the actual formula used by slicers currently? linear? the rest was guesswork and ideas on my side  
> **username_1**: You could look it up in Cura slicing engine or slic3r source  
> **username_0**: @username_1 it's beyond my skills  
> **username_1**: As the ralation is sort of linear you can expect the code to linerly interlpolate in between the min. fan speed and the max. fan speed.  

---

## 0 answers

