-
-
Notifications
You must be signed in to change notification settings - Fork 5.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fan speed-up time #474
Comments
I think this is a cool idea! I believe I had a similar problem in the past while printing PETg. |
untested proposal: |
Modifying the planner so that fan speeds are processed out of order would be a lot of work. The scheduling and flushing mechanisms, in general, expect actions to occur in ascending time. -Kevin |
In my proposal, i kept it in-order. |
If you want to start spinning the fan 2 seconds before the next move after an M106 command, then I can see two options:
The first does not require any code change at all - just add a "G4 P2000" to the g-code commands after the M106 command. The second would require a great deal of work. -Kevin |
Maybe easiest way could be to pre process the G-Code file and push the M106 up the time. Time could be roughly estimated by calculated the time needed for the moves beforehand. Also could only be activated between moves. Not very accurate but should be enough for this purpose. And should be fairly easy realized. |
Well, I was thinking it's the job of the firmware, not the slicer. Currently, nobody do this. |
Heelo again. There are two option : just move the gcode, and move the g-code and add a DXXX option to M106 to send the time (in ms) it has to spin up. exemple without:
exemple with:
In this exemple, (made with my setting to "at least 1 second"), it says "from here, please spin up the fan to have it at 100% power in 1.5 sec". This time is a rough computation (infinite acceleration), but as it's not critical, it should be good enough. If you think it's possible & welcome, i may be able to code something to implement this in the future. |
Hi
I was looking at the kick_start_time for the fan.
The exemple ini show a positive value.
But in fan.py, I see
print_time += self.kick_start_time
.For what i understand, the kick-start just help to start the fan spinning but it doesn't reduce the speed-up time.
My problem is my fan takes 2 seconds to speed-up to full speed and my bridge line takes 1.5 sec to print.
What i wanted is to say to the firmware to speed up the fan a bit before to have it at the right speed when the g-code say it.
Can i try to code something an make a pull request for that? (an acceleration & deceleration parameter, and a bit more planning on fan.py)
The text was updated successfully, but these errors were encountered: