MarlinFirmware / Marlin

Marlin is an optimized firmware for RepRap 3D printers based on the Arduino platform. Many commercial 3D printers come with Marlin installed. Check with your vendor if you need source code for your specific machine.
https://marlinfw.org
GNU General Public License v3.0
15.94k stars 19.08k forks source link

[FR] Support FAN_KICKSTART_TIME for LASER_SYNCHRONOUS_M106_M107 #27039

Open vovodroid opened 2 weeks ago

vovodroid commented 2 weeks ago

Is your feature request related to a problem? Please describe.

Usually fan control is not synchronized with gcode commands:

Marlin normally applies M106/M107 fan speeds at a time "soon after" processing
a planner block. This is too inaccurate for a PWM/TTL laser attached to the fan
 header (as with some add-on laser kits)

I would add that it's also could be a problem for FDM printing. For instance this model

image

has thin wall with overhangs, thus prone to curling. To prevent it fan was applied in slicer, but in reality fan was turned on in another are (magenta curve).

Are you looking for hardware support?

No response

Describe the feature you want

Apply M106 according to its place in gcode, with support of FAN_KICKSTART_TIME

Additional context

No response