CompoundCarl wrote:S3D is definitely capable of doing this, but from what I've read, the x3g files don't support it. If you read the protocol for those files, it only supports setting the fan on or off.
So basically, if you can find a firmware that supports it, you can easily setup Simplify3D to do it, but right now I don't think x3g machines have that ability.
It is more than possible. First, I'm using sailfish firmware. The sailfish firmware reads the cooling fan PWM values from an EEPROM location. The X3G protocol specifies a "read eeprom" and a "write eeprom" command. What would be needed is the gcode to x3g translator to "know" the eeprom offset for the cooling fan PWM. More specifically from:
https://github.com/jetty840/Sailfish-Mi ... erboard.cc
see lines: 1020 - 1024:
1020 // See what the PWM setting is -- may have been changed
1021 ATOMIC_BLOCK(ATOMIC_RESTORESTATE) {
1022 fan_pwm = (uint16_t)eeprom::getEeprom8(eeprom_offsets::COOLING_FAN_DUTY_CYCLE,
1023 COOLING_FAN_DUTY_CYCLE_DEFAULT);