Skip to content

Commit

Permalink
Merge branch 'main' into bump-to-5.9.0-alpha.0
Browse files Browse the repository at this point in the history
  • Loading branch information
rburema authored Aug 6, 2024
2 parents 3463f10 + b04b241 commit 3c912bd
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/LayerPlan.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2006,6 +2006,15 @@ void LayerPlan::writeGCode(GCodeExport& gcode)
constexpr bool wait = false;
gcode.writeBedTemperatureCommand(mesh_group_settings.get<Temperature>("material_bed_temperature"), wait);
}
if (mesh_group_settings.get<size_t>("build_volume_fan_nr") != 0)
{
// The machine has a build volume fan.
if (layer_nr_ == mesh_group_settings.get<size_t>("build_fan_full_layer"))
{
gcode.writeSpecificFanCommand(100, mesh_group_settings.get<size_t>("build_volume_fan_nr"));
}
}


gcode.setZ(z_);

Expand Down

0 comments on commit 3c912bd

Please sign in to comment.