supermerill / SuperSlicer

G-code generator for 3D printers (Prusa, Voron, Creality, etc.)
4.04k stars 515 forks source link

Fan speedup time produces strange results #4249

Closed vovodroid closed 3 weeks ago

vovodroid commented 1 month ago

What happened?

Fan start is moved too far in some layers:

image

Decreasing speedup time from 0.2 to 0.1 makes it even worse:

image

Project file & How to reproduce

Shape-Box-ss.zip

Version

Version 2.5.59

Operating system

Win10x64

legend069 commented 1 month ago

this is a tricky one to fix because of the acceleration times are assumed to be instantaneous. so any time based features will always be a bit off till that main issue for calculating time from movement speed is fixed.(ignoring any time it takes for the physical fan to speed up)

vovodroid commented 1 month ago

Latest code (not released yet) produces better results, so still quite strange sometimes.

supermerill commented 1 month ago

In this case was putting the fan at the start instead of the end. Also increased precision for long lines.