Champion thats awesome!
Is there a part of your code i can manually put into my gcode for now? which part and where?
Thanks
gcode.writeFanCommand(0);
gcode.setZ(max_object_height + 5000);
+ CommandSocket::setSendCurrentPosition(gcode.getPositionXY());
+ gcode.writeTravel(gcode.getPositionXY(), storage.meshgroup->getExtruderTrain(gcode.getExtruderNr())->getSettingInMillimetersPerSecond("speed_travel"));
+ Point start_pos(storage.model_min.x, storage.model_min.y);
+ gcode.writeTravel(start_pos, storage.meshgroup->getExtruderTrain(gcode.getExtruderNr())->getSettingInMillimetersPerSecond("speed_travel"));
+
if (storage.getSettingBoolean("machine_heated_bed") && storage.getSettingInDegreeCelsius("material_bed_temperature_layer_0") != 0)
{
constexpr bool wait = true;
gcode.writeBedTemperatureCommand(storage.getSettingInDegreeCelsius("material_bed_temperature_layer_0"), wait);
}
-
- CommandSocket::setSendCurrentPosition(gcode.getPositionXY());
- gcode.writeTravel(gcode.getPositionXY(), storage.meshgroup->getExtruderTrain(gcode.getExtruderNr())->getSettingInMillimetersPerSecond("speed_travel"));
- Point start_pos(storage.model_min.x, storage.model_min.y);
- gcode.writeTravel(start_pos, storage.meshgroup->getExtruderTrain(gcode.getExtruderNr())->getSettingInMillimetersPerSecond("speed_travel"));
}
void FffGcodeWriter::processRaft(const SliceDataStorage& storage)