From fbd5471f5b9b607f6daf03a8effbfacd54185d5e Mon Sep 17 00:00:00 2001 From: Ghostkeeper Date: Thu, 21 Jan 2016 15:01:50 +0100 Subject: [PATCH] Set machine_nozzle_size when importing legacy profile Machine_nozzle_size was just a machine setting when this dictionary of doom was made. Contributes to issue CURA-37. --- plugins/LegacyProfileReader/DictionaryOfDoom.json | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/LegacyProfileReader/DictionaryOfDoom.json b/plugins/LegacyProfileReader/DictionaryOfDoom.json index 7be972ac84..f07bd61279 100644 --- a/plugins/LegacyProfileReader/DictionaryOfDoom.json +++ b/plugins/LegacyProfileReader/DictionaryOfDoom.json @@ -3,6 +3,7 @@ "target_version": 1, "translation": { + "machine_nozzle_size": "nozzle_size", "line_width": "wall_thickness if (spiralize == \"True\" or simple_mode == \"True\") else (nozzle_size if (float(wall_thickness) < 0.01) else (wall_thickness if (float(wall_thickness) < float(nozzle_size)) else (nozzle_size if ((int(float(wall_thickness) / (float(nozzle_size) - 0.0001))) == 0) else ((float(wall_thickness) / ((int(float(wall_thickness) / (float(nozzle_size) - 0.0001))) + 1)) if ((float(wall_thickness) / (int(float(wall_thickness) / (float(nozzle_size) - 0.0001)))) > float(nozzle_size) * 1.5) else ((float(wall_thickness) / (int(float(wall_thickness) / (float(nozzle_size) - 0.0001)))))))))", "layer_height": "layer_height", "layer_height_0": "bottom_thickness",