From 76c6de66b803330f057cfb58e7ce885e13be0a47 Mon Sep 17 00:00:00 2001 From: Evident Date: Tue, 29 Aug 2023 09:45:25 -0700 Subject: [PATCH 1/2] Created profile for Neptune 4 Pro Create elegoo_neptune_4pro.def.json for Neptune 4 Pro profile. --- .../definitions/elegoo_neptune_4pro.def.json | 38 +++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 resources/definitions/elegoo_neptune_4pro.def.json diff --git a/resources/definitions/elegoo_neptune_4pro.def.json b/resources/definitions/elegoo_neptune_4pro.def.json new file mode 100644 index 00000000000..281d6007f2b --- /dev/null +++ b/resources/definitions/elegoo_neptune_4pro.def.json @@ -0,0 +1,38 @@ +{ + "version": 2, + "name": "ELEGOO NEPTUNE 4 Pro", + "inherits": "elegoo_base", + "metadata": + { + "visible": true, + "author": "Evident", + "quality_definition": "elegoo_base" + }, + "overrides": + { + "machine_name": { "default_value": "ELEGOO NEPTUNE 4 Pro" }, + "machine_depth": { "default_value": 235 }, + "machine_height": { "default_value": 270 }, + "machine_width": { "default_value": 235 }, + "machine_head_with_fans_polygon": + { + "value": [ + [-55, 30], + [55, 30], + [55, -35], + [-55, -35] + ] + }, + "machine_end_gcode": { "default_value": "G91 ;Relative positionning\nG1 E-2 F2700 ;Retract a bit\nG1 E-2 Z0.2 F1600 ;Retract and raise Z\nG1 X5 Y5 F3000 ;Wipe out\nG1 Z2 ;Raise Z more\nG90 ;Absolute positionning\nG1 X0 Y{machine_depth} ;Present print\nM106 S0 ;Turn-off fan\nM104 S0 ;Turn-off hotend\nM140 S0 ;Turn-off bed\nM84 X Y E ;Disable all steppers but Z" }, + "machine_start_gcode": { "default_value": "G28 ;home\nG92 E0 ;Reset Extruder\nG1 Z4.0 F3000 ;Move Z Axis up\nG92 E0 ;Reset Extruder\nG1 X1.1 Y20 Z0.28 F5000.0 ;Move to start position\nG1 X1.1 Y80.0 Z0.28 F1500.0 E10 ;Draw the first line\nG1 X1.4 Y80.0 Z0.28 F5000.0 ;Move to side a little\nG1 X1.4 Y20 Z0.28 F1500.0 E20 ;Draw the second line\nG92 E0 ;Reset Extruder\nG1 Z2.0 F3000 ;Move Z Axis up" }, + "material_bed_temperature": { "value": "default_material_bed_temperature + 10" }, + "infill_overlap": { "value": "0 if infill_sparse_density < 40.01 and infill_pattern != 'concentric' else -5" }, + "retraction_amount": { "value": 1 }, + "retraction_count_max": { "value": 80 }, + "retraction_prime_speed": { "resolve": 25 }, + "retraction_retract_speed": { "resolve": 25 }, + "retraction_speed": { "resolve": 25 }, + "speed_travel": { "300 if speed_print < 300 else speed_print * 1.25 if speed_print < 400 else 500" }, + "speed_travel_layer_0": { "value": "200" } + } +} From 1ec0896678f5a81e1537b6fb6e30b48cfd605b21 Mon Sep 17 00:00:00 2001 From: Evident Date: Tue, 29 Aug 2023 23:58:09 -0700 Subject: [PATCH 2/2] Fix: elegoo_neptune_4pro.def.json Corrected missing "value" key in "speed_travel" object on line 35 --- resources/definitions/elegoo_neptune_4pro.def.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/definitions/elegoo_neptune_4pro.def.json b/resources/definitions/elegoo_neptune_4pro.def.json index 281d6007f2b..c393efd856a 100644 --- a/resources/definitions/elegoo_neptune_4pro.def.json +++ b/resources/definitions/elegoo_neptune_4pro.def.json @@ -32,7 +32,7 @@ "retraction_prime_speed": { "resolve": 25 }, "retraction_retract_speed": { "resolve": 25 }, "retraction_speed": { "resolve": 25 }, - "speed_travel": { "300 if speed_print < 300 else speed_print * 1.25 if speed_print < 400 else 500" }, + "speed_travel": { "value": "300 if speed_print < 300 else speed_print * 1.25 if speed_print < 400 else 500" }, "speed_travel_layer_0": { "value": "200" } } }