Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Ultimaker/Cura.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordaid <daid303@gmail.com>2015-10-08 12:44:54 +0300
committerdaid <daid303@gmail.com>2015-10-08 12:44:54 +0300
commit22b0d0fe6a65bb445f8ff2cf3f62a87c7db58e74 (patch)
tree10c31df0e7f8e3ec08fc34f915ace96545ed73f4 /src/fffProcessor.h
parent7b2b9630c7b5ec5e4534de94b46bb37004cccb88 (diff)
Add nozzle diameter parameter for UltiGCode in preperation for some things.15.04.5-RC515.04.5-RC415.04.5-RC315.04.5-RC215.04.5-RC115.04.515.04.415.04.3-RC315.04.3-RC215.04.3-RC115.04.3
Diffstat (limited to 'src/fffProcessor.h')
-rw-r--r--src/fffProcessor.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/fffProcessor.h b/src/fffProcessor.h
index 1b7e05a669..8f6855c293 100644
--- a/src/fffProcessor.h
+++ b/src/fffProcessor.h
@@ -344,6 +344,8 @@ private:
gcode.writeComment("TIME:<__TIME__>");
gcode.writeComment("MATERIAL:<FILAMENT>");
gcode.writeComment("MATERIAL2:<FILAMEN2>");
+ gcode.writeComment("NOZZLE_DIAMETER:%f", float(config.nozzleSize) / 1000);
+ gcode.writeComment("NOZZLE_DIAMETER2:%f", float(config.nozzleSize) / 1000);
}
gcode.writeCode(config.startCode.c_str());
if (gcode.getFlavor() == GCODE_FLAVOR_BFB)