From 3eba7cd454de64170f0e4dea678a535e4d0f8f39 Mon Sep 17 00:00:00 2001 From: Ghostkeeper Date: Fri, 20 Aug 2021 14:48:40 +0200 Subject: [PATCH 1/3] Slightly shorten AnyCubic i3 Mega S/Pro name This was causing some files to be just over the limit of file length when given the default printer name on some operating systems. Some file systems, especially encrypted ones, have strict limitations for the maximum length of a file name. With percent-encoding and the extension and postfix we add to these file names, this could go over the limit in file name length for some operating systems. Easy fix is to slightly shorten the name, at least to remove those brackets. Done as a 5 minute fix. --- resources/definitions/anycubic_i3_mega_s.def.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/definitions/anycubic_i3_mega_s.def.json b/resources/definitions/anycubic_i3_mega_s.def.json index a0e83627c4..bd5a42c00b 100644 --- a/resources/definitions/anycubic_i3_mega_s.def.json +++ b/resources/definitions/anycubic_i3_mega_s.def.json @@ -1,6 +1,6 @@ { "version": 2, - "name": "Anycubic i3 Mega (S, Pro)", + "name": "Anycubic i3 Mega S/Pro", "inherits": "fdmprinter", "metadata": { @@ -21,7 +21,7 @@ "overrides": { - "machine_name": { "default_value": "Anycubic i3 Mega (S, Pro)" }, + "machine_name": { "default_value": "Anycubic i3 Mega S/Pro" }, "machine_heated_bed": { "default_value": true }, "machine_width": { "default_value": 210 }, "machine_height": { "default_value": 205 }, From e27ec57b04b3fb2e234c7d0f0458135f651b0426 Mon Sep 17 00:00:00 2001 From: Ghostkeeper Date: Fri, 20 Aug 2021 17:37:38 +0200 Subject: [PATCH 2/3] Fix spelling --- resources/texts/change_log.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/resources/texts/change_log.txt b/resources/texts/change_log.txt index c865698c0e..c2f4138c25 100644 --- a/resources/texts/change_log.txt +++ b/resources/texts/change_log.txt @@ -9,13 +9,13 @@ Look around and you will notice that we have refreshed over 100 icons throughout Collaborative workflows using the Digital Library are now simpler. Every user with a cloud-connected Ultimaker 3D printer can access stored projects. And we have added a “Search” function to make finding files easier. * Save materials profiles to USB -Users can now save all third-party material profiles to USB. This feature is for Ultimaker S-line printers only and is espacially useful for cloud-connected (or offline) printers. +Users can now save all third-party material profiles to USB. This feature is for Ultimaker S-line printers only and is especially useful for cloud-connected (or offline) printers. * Notifications for beta and plugin releases -Users can now set notification preferences to alert them to new Ulitmaker Cura beta and plugin releases. +Users can now set notification preferences to alert them to new Ultimaker Cura beta and plug-in releases. * Improve logging of errors in OAuth flow -When helping a user with log-in problems it is easiers to see where the OAuth flow goes wrong. +When helping a user with log-in problems it is easier to see where the OAuth flow goes wrong. * Search in the description in the settings visibility menu When searching in the settings visibility menu you will also search in the description of the settings. From 6b5ea9086fa04fc35277c46e2a13dbb81a3674d6 Mon Sep 17 00:00:00 2001 From: Ghostkeeper Date: Mon, 23 Aug 2021 14:40:57 +0200 Subject: [PATCH 3/3] 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)