From 6b5ea9086fa04fc35277c46e2a13dbb81a3674d6 Mon Sep 17 00:00:00 2001 From: Ghostkeeper Date: Mon, 23 Aug 2021 14:40:57 +0200 Subject: [PATCH] Fix spelling in documentation Saw this and wanted to take it along blindly with whatever next modification I made to Cura. However I need to switch branches now so it's just going to be a rather useless commit I guess. --- plugins/GCodeReader/FlavorParser.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/GCodeReader/FlavorParser.py b/plugins/GCodeReader/FlavorParser.py index 56e50d2145..2b6fa215e0 100644 --- a/plugins/GCodeReader/FlavorParser.py +++ b/plugins/GCodeReader/FlavorParser.py @@ -1,4 +1,4 @@ -# Copyright (c) 2020 Ultimaker B.V. +# Copyright (c) 2021 Ultimaker B.V. # Cura is released under the terms of the LGPLv3 or higher. import math @@ -153,7 +153,7 @@ class FlavorParser: Af = (self._filament_diameter / 2) ** 2 * numpy.pi # Length of the extruded filament de = current_extrusion - previous_extrusion - # Volumne of the extruded filament + # Volume of the extruded filament dVe = de * Af # Length of the printed line dX = numpy.sqrt((current_point[0] - previous_point[0])**2 + (current_point[2] - previous_point[2])**2)