From 65e3ee68540f394cfc1215b650d6d2f9df1d5c57 Mon Sep 17 00:00:00 2001 From: Jason Scurtu Date: Wed, 24 Oct 2018 19:46:21 +0200 Subject: [PATCH] fix and improve 4max profile --- resources/definitions/anycubic_4max.def.json | 107 +++++++++++------- .../abs/anycubic_4max_abs_draft.inst.cfg | 15 +++ .../abs/anycubic_4max_abs_high.inst.cfg | 15 +++ .../abs/anycubic_4max_abs_normal.inst.cfg | 16 +++ .../anycubic_4max_draft.inst.cfg | 49 +------- .../anycubic_4max/anycubic_4max_high.inst.cfg | 51 +-------- .../anycubic_4max_normal.inst.cfg | 48 +------- .../hips/anycubic_4max_hips_draft.inst.cfg | 14 +++ .../hips/anycubic_4max_hips_high.inst.cfg | 14 +++ .../hips/anycubic_4max_hips_normal.inst.cfg | 14 +++ .../petg/anycubic_4max_petg_draft.inst.cfg | 20 ++++ .../petg/anycubic_4max_petg_high.inst.cfg | 20 ++++ .../petg/anycubic_4max_petg_normal.inst.cfg | 20 ++++ .../pla/anycubic_4max_pla_draft.inst.cfg | 15 +++ .../pla/anycubic_4max_pla_high.inst.cfg | 14 +++ .../pla/anycubic_4max_pla_normal.inst.cfg | 14 +++ 16 files changed, 262 insertions(+), 184 deletions(-) create mode 100644 resources/quality/anycubic_4max/abs/anycubic_4max_abs_draft.inst.cfg create mode 100644 resources/quality/anycubic_4max/abs/anycubic_4max_abs_high.inst.cfg create mode 100644 resources/quality/anycubic_4max/abs/anycubic_4max_abs_normal.inst.cfg create mode 100644 resources/quality/anycubic_4max/hips/anycubic_4max_hips_draft.inst.cfg create mode 100644 resources/quality/anycubic_4max/hips/anycubic_4max_hips_high.inst.cfg create mode 100644 resources/quality/anycubic_4max/hips/anycubic_4max_hips_normal.inst.cfg create mode 100644 resources/quality/anycubic_4max/petg/anycubic_4max_petg_draft.inst.cfg create mode 100644 resources/quality/anycubic_4max/petg/anycubic_4max_petg_high.inst.cfg create mode 100644 resources/quality/anycubic_4max/petg/anycubic_4max_petg_normal.inst.cfg create mode 100644 resources/quality/anycubic_4max/pla/anycubic_4max_pla_draft.inst.cfg create mode 100644 resources/quality/anycubic_4max/pla/anycubic_4max_pla_high.inst.cfg create mode 100644 resources/quality/anycubic_4max/pla/anycubic_4max_pla_normal.inst.cfg diff --git a/resources/definitions/anycubic_4max.def.json b/resources/definitions/anycubic_4max.def.json index 222b90a70e..c14ce1ac31 100644 --- a/resources/definitions/anycubic_4max.def.json +++ b/resources/definitions/anycubic_4max.def.json @@ -1,17 +1,19 @@ { "version": 2, - "name": "Anycubic 4max", + "name": "Anycubic 4Max", "inherits": "fdmprinter", "metadata": { "visible": true, "author": "Jason Scurtu", "manufacturer": "Anycubic", + "category": "Other", "file_formats": "text/x-gcode", "icon": "icon_ultimaker2", "platform": "anycubic_4max_platform.stl", "has_materials": true, - "has_machine_quality": false, + "quality_definition": "anycubic_4max", + "has_machine_quality": true, "preferred_quality_type": "normal", "machine_extruder_trains": { @@ -21,45 +23,66 @@ "overrides": { - "machine_name": - { - "default_value": "Anycubic 4Max" - }, - "machine_heated_bed": - { - "default_value": true - }, - "machine_width": - { - "default_value": 210 - }, - "machine_height": - { - "default_value": 300 - }, - "machine_depth": - { - "default_value": 210 - }, - "machine_center_is_zero": - { - "default_value": false - }, - "gantry_height": - { - "default_value": 0 - }, - "machine_gcode_flavor": - { - "default_value": "RepRap (Marlin/Sprinter)" - }, - "machine_start_gcode": - { - "default_value": "G21 ;metric values\nG90 ;absolute positioning\nM82 ;set extruder to absolute mode\nM107 ;start with the fan off\nG28 X0 Y0 ;move X/Y to min endstops\nG28 Z0 ;move Z to min endstops\nG1 Z15.0 F{speed_travel} ;move the platform down 15mm\nG92 E0 ;zero the extruded length\nG1 F200 E3 ;extrude 3mm of feed stock\nG92 E0 ;zero the extruded length again\nG1 F{speed_travel}\nM117 Printing...\nG5" - }, - "machine_end_gcode": - { - "default_value": "M104 S0 ; turn off extruder\nM140 S0 ; turn off bed\nM84 ; disable motors\nM107\nG91 ;relative positioning\nG1 E-1 F300 ;retract the filament a bit before lifting the nozzle\nto release some of the pressure\nG1 Z+0.5 E-5 ;X-20 Y-20 F{speed_travel} ;move Z up a bit and retract filament even more\nG28 X0 ;Y0 ;move X/Y to min endstops\nso the head is out of the way\nG1 Y180 F2000\nM84 ;steppers off\nG90\nM300 P300 S4000" - } + "machine_name": { "default_value": "Anycubic 4Max" }, + "machine_heated_bed": { "default_value": true }, + "machine_width": { "default_value": 220 }, + "machine_height": {"default_value": 300 }, + "machine_depth": { "default_value": 220 }, + "machine_center_is_zero": { "default_value": false }, + "machine_max_feedrate_x": { "default_value": 300 }, + "machine_max_feedrate_y": { "default_value": 300 }, + "machine_max_feedrate_z": { "default_value": 10 }, + "machine_acceleration": { "default_value": 1500 }, + "machine_max_acceleration_x": { "default_value": 1500 }, + "machine_max_acceleration_y": { "default_value": 1500 }, + "machine_max_acceleration_z": { "default_value": 100 }, + "machine_max_jerk_xy": { "default_value": 11.0 }, + "machine_max_jerk_z": { "default_value": 0.4 }, + "machine_max_jerk_e": { "default_value": 11.0 }, + + "jerk_enabled": { "value": "True" }, + "jerk_layer_0": { "value": "jerk_topbottom" }, + "jerk_prime_tower": { "value": "math.ceil(jerk_print * 15 / 25)" }, + "jerk_print": { "value": "11" }, + "jerk_support": { "value": "math.ceil(jerk_print * 15 / 25)" }, + "jerk_support_interface": { "value": "jerk_topbottom" }, + "jerk_topbottom": { "value": "math.ceil(jerk_print * 5 / 25)" }, + "jerk_wall": { "value": "math.ceil(jerk_print * 10 / 25)" }, + "jerk_wall_0": { "value": "math.ceil(jerk_wall * 5 / 10)" }, + + "gantry_height": { "default_value": 25.0 }, + "skin_overlap": { "value": "10" }, + + "acceleration_enabled": { "value": "True" }, + "acceleration_layer_0": { "value": "acceleration_topbottom" }, + "acceleration_prime_tower": { "value": "math.ceil(acceleration_print * 2000 / 4000)" }, + "acceleration_print": { "value": "900" }, + "acceleration_support": { "value": "math.ceil(acceleration_print * 2000 / 4000)" }, + "acceleration_support_interface": { "value": "acceleration_topbottom" }, + "acceleration_topbottom": { "value": "math.ceil(acceleration_print * 1000 / 3000)" }, + "acceleration_travel": { "value": "acceleration_print" }, + "acceleration_wall": { "value": "math.ceil(acceleration_print * 1000 / 3000)" }, + "acceleration_wall_0": { "value": "math.ceil(acceleration_wall * 1000 / 1000)" }, + + "speed_layer_0": { "value": "20" }, + "speed_print": { "value": "40" }, + "speed_support": { "value": "speed_wall_0" }, + "speed_support_interface": { "value": "speed_topbottom" }, + "speed_topbottom": { "value": "math.ceil(speed_print * 20 / 35)" }, + "speed_travel": { "value": "60" }, + "speed_wall": { "value": "math.ceil(speed_print * 30 / 35)" }, + "speed_wall_0": { "value": "math.ceil(speed_wall * 20 / 30)" }, + "speed_wall_x": { "value": "speed_wall" }, + + "infill_pattern": {"value": "'zigzag'" }, + "infill_before_walls": {"value": false }, + + "adhesion_type": { "default_value": "skirt" }, + "material_bed_temperature": { "maximum_value": "150" }, + "material_bed_temperature_layer_0": { "maximum_value": "150" }, + + "machine_gcode_flavor":{"default_value": "RepRap (Marlin/Sprinter)"}, + "machine_start_gcode":{"default_value": "G21 ;metric values\nG90 ;absolute positioning\nM82 ;set extruder to absolute mode\nM107 ;start with the fan off\nG28 X0 Y0 ;move X/Y to min endstops\nG28 Z0 ;move Z to min endstops\nG1 Z15.0 F{speed_travel} ;move the platform down 15mm\nG92 E0 ;zero the extruded length\nG1 F200 E3 ;extrude 3mm of feed stock\nG92 E0 ;zero the extruded length again\nG1 F{speed_travel}\nM117 Printing...\nG5"}, + "machine_end_gcode":{"default_value": "M104 S0 ; turn off extruder\nM140 S0 ; turn off bed\nM84 ; disable motors\nM107\nG91 ;relative positioning\nG1 E-1 F300 ;retract the filament a bit before lifting the nozzle\nto release some of the pressure\nG1 Z+0.5 E-5 ;X-20 Y-20 F{speed_travel} ;move Z up a bit and retract filament even more\nG28 X0 ;Y0 ;move X/Y to min endstops\nso the head is out of the way\nG1 Y180 F2000\nM84 ;steppers off\nG90\nM300 P300 S4000"} } } diff --git a/resources/quality/anycubic_4max/abs/anycubic_4max_abs_draft.inst.cfg b/resources/quality/anycubic_4max/abs/anycubic_4max_abs_draft.inst.cfg new file mode 100644 index 0000000000..f5baa55029 --- /dev/null +++ b/resources/quality/anycubic_4max/abs/anycubic_4max_abs_draft.inst.cfg @@ -0,0 +1,15 @@ +[general] +version = 4 +name = Draft +definition = anycubic_4max + +[metadata] +setting_version = 5 +type = quality +quality_type = draft +weight = 0 +material = generic_abs + +[values] +cool_fan_enabled = False +adhesion_type = brim diff --git a/resources/quality/anycubic_4max/abs/anycubic_4max_abs_high.inst.cfg b/resources/quality/anycubic_4max/abs/anycubic_4max_abs_high.inst.cfg new file mode 100644 index 0000000000..bd613c6aad --- /dev/null +++ b/resources/quality/anycubic_4max/abs/anycubic_4max_abs_high.inst.cfg @@ -0,0 +1,15 @@ +[general] +version = 4 +name = High +definition = anycubic_4max + +[metadata] +setting_version = 5 +type = quality +quality_type = high +weight = 2 +material = generic_abs + +[values] +cool_fan_enabled = False +adhesion_type = brim diff --git a/resources/quality/anycubic_4max/abs/anycubic_4max_abs_normal.inst.cfg b/resources/quality/anycubic_4max/abs/anycubic_4max_abs_normal.inst.cfg new file mode 100644 index 0000000000..7cff1db4d2 --- /dev/null +++ b/resources/quality/anycubic_4max/abs/anycubic_4max_abs_normal.inst.cfg @@ -0,0 +1,16 @@ +[general] +version = 4 +name = Normal +definition = anycubic_4max + +[metadata] +setting_version = 5 +type = quality +quality_type = normal +weight = 1 +material = generic_abs + +[values] +cool_fan_enabled = False +adhesion_type = brim + diff --git a/resources/quality/anycubic_4max/anycubic_4max_draft.inst.cfg b/resources/quality/anycubic_4max/anycubic_4max_draft.inst.cfg index 238197307e..c0114e3d6c 100644 --- a/resources/quality/anycubic_4max/anycubic_4max_draft.inst.cfg +++ b/resources/quality/anycubic_4max/anycubic_4max_draft.inst.cfg @@ -8,53 +8,8 @@ setting_version = 5 type = quality quality_type = draft weight = 0 +global_quality = True [values] -acceleration_enabled = True -acceleration_print = 1800 -acceleration_travel = 3000 -adhesion_type = skirt -brim_width = 4.0 -cool_fan_full_at_height = 0.5 -cool_fan_speed = 100 -cool_fan_speed_0 = 100 -infill_overlap = 15 -infill_pattern = zigzag -infill_sparse_density = 25 -initial_layer_line_width_factor = 140 -jerk_enabled = True -jerk_print = 8 -jerk_travel = 10 layer_height = 0.3 -layer_height_0 = 0.3 -material_bed_temperature = 60 -material_diameter = 1.75 -material_print_temperature = 200 -material_print_temperature_layer_0 = 0 -retract_at_layer_change = False -retraction_amount = 6 -retraction_hop = 0.075 -retraction_hop_enabled = True -retraction_hop_only_when_collides = True -retraction_min_travel = 1.5 -retraction_speed = 40 -skirt_brim_speed = 40 -skirt_gap = 5 -skirt_line_count = 3 -speed_infill = =speed_print -speed_print = 60 -speed_support = 60 -speed_topbottom = =math.ceil(speed_print * 30 / 60) -speed_travel = 100 -speed_wall = =speed_print -speed_wall_x = =speed_print -support_angle = 60 -support_enable = True -support_interface_enable = True -support_pattern = triangles -support_roof_enable = True -support_type = everywhere -support_use_towers = False -support_xy_distance = 0.7 -top_bottom_thickness = 1.2 -wall_thickness = 1.2 + diff --git a/resources/quality/anycubic_4max/anycubic_4max_high.inst.cfg b/resources/quality/anycubic_4max/anycubic_4max_high.inst.cfg index b931f92b79..4a0993412a 100644 --- a/resources/quality/anycubic_4max/anycubic_4max_high.inst.cfg +++ b/resources/quality/anycubic_4max/anycubic_4max_high.inst.cfg @@ -8,53 +8,8 @@ setting_version = 5 type = quality quality_type = high weight = 2 +global_quality = True [values] -acceleration_enabled = True -acceleration_print = 1800 -acceleration_travel = 3000 -adhesion_type = skirt -brim_width = 4.0 -cool_fan_full_at_height = 0.5 -cool_fan_speed = 100 -cool_fan_speed_0 = 100 -infill_overlap = 15 -infill_pattern = zigzag -infill_sparse_density = 25 -initial_layer_line_width_factor = 140 -jerk_enabled = True -jerk_print = 8 -jerk_travel = 10 -layer_height = 0.1 -layer_height_0 = 0.1 -material_bed_temperature = 60 -material_diameter = 1.75 -material_print_temperature = 200 -material_print_temperature_layer_0 = 0 -retract_at_layer_change = False -retraction_amount = 6 -retraction_hop = 0.075 -retraction_hop_enabled = True -retraction_hop_only_when_collides = True -retraction_min_travel = 1.5 -retraction_speed = 40 -skirt_brim_speed = 40 -skirt_gap = 5 -skirt_line_count = 3 -speed_infill = =speed_print -speed_print = 50 -speed_support = 30 -speed_topbottom = =math.ceil(speed_print * 20 / 50) -speed_travel = 50 -speed_wall = =speed_print -speed_wall_x = =speed_print -support_angle = 60 -support_enable = True -support_interface_enable = True -support_pattern = triangles -support_roof_enable = True -support_type = everywhere -support_use_towers = False -support_xy_distance = 0.7 -top_bottom_thickness = 1.2 -wall_thickness = 1.2 +layer_height = 0.15 + diff --git a/resources/quality/anycubic_4max/anycubic_4max_normal.inst.cfg b/resources/quality/anycubic_4max/anycubic_4max_normal.inst.cfg index 2fe70733e7..eeb1d699e4 100644 --- a/resources/quality/anycubic_4max/anycubic_4max_normal.inst.cfg +++ b/resources/quality/anycubic_4max/anycubic_4max_normal.inst.cfg @@ -8,53 +8,7 @@ setting_version = 5 type = quality quality_type = normal weight = 1 +global_quality = True [values] -acceleration_enabled = True -acceleration_print = 1800 -acceleration_travel = 3000 -adhesion_type = skirt -brim_width = 4.0 -cool_fan_full_at_height = 0.5 -cool_fan_speed = 100 -cool_fan_speed_0 = 100 -infill_overlap = 15 -infill_pattern = zigzag -infill_sparse_density = 25 -initial_layer_line_width_factor = 140 -jerk_enabled = True -jerk_print = 8 -jerk_travel = 10 layer_height = 0.2 -layer_height_0 = 0.2 -material_bed_temperature = 60 -material_diameter = 1.75 -material_print_temperature = 200 -material_print_temperature_layer_0 = 0 -retract_at_layer_change = False -retraction_amount = 6 -retraction_hop = 0.075 -retraction_hop_enabled = True -retraction_hop_only_when_collides = True -retraction_min_travel = 1.5 -retraction_speed = 40 -skirt_brim_speed = 40 -skirt_gap = 5 -skirt_line_count = 3 -speed_infill = =speed_print -speed_print = 50 -speed_support = 30 -speed_topbottom = =math.ceil(speed_print * 20 / 50) -speed_travel = 100 -speed_wall = =speed_print -speed_wall_x = =speed_print -support_angle = 60 -support_enable = True -support_interface_enable = True -support_pattern = triangles -support_roof_enable = True -support_type = everywhere -support_use_towers = False -support_xy_distance = 0.7 -top_bottom_thickness = 1.2 -wall_thickness = 1.2 diff --git a/resources/quality/anycubic_4max/hips/anycubic_4max_hips_draft.inst.cfg b/resources/quality/anycubic_4max/hips/anycubic_4max_hips_draft.inst.cfg new file mode 100644 index 0000000000..3cd0226bd4 --- /dev/null +++ b/resources/quality/anycubic_4max/hips/anycubic_4max_hips_draft.inst.cfg @@ -0,0 +1,14 @@ +[general] +version = 4 +name = Draft +definition = anycubic_4max + +[metadata] +setting_version = 5 +type = quality +quality_type = draft +weight = 0 +material = generic_hips + +[values] + diff --git a/resources/quality/anycubic_4max/hips/anycubic_4max_hips_high.inst.cfg b/resources/quality/anycubic_4max/hips/anycubic_4max_hips_high.inst.cfg new file mode 100644 index 0000000000..ff5c6bee2f --- /dev/null +++ b/resources/quality/anycubic_4max/hips/anycubic_4max_hips_high.inst.cfg @@ -0,0 +1,14 @@ +[general] +version = 4 +name = High +definition = anycubic_4max + +[metadata] +setting_version = 5 +type = quality +quality_type = high +weight = 2 +material = generic_hips + +[values] + diff --git a/resources/quality/anycubic_4max/hips/anycubic_4max_hips_normal.inst.cfg b/resources/quality/anycubic_4max/hips/anycubic_4max_hips_normal.inst.cfg new file mode 100644 index 0000000000..c4701ae246 --- /dev/null +++ b/resources/quality/anycubic_4max/hips/anycubic_4max_hips_normal.inst.cfg @@ -0,0 +1,14 @@ +[general] +version = 4 +name = Normal +definition = anycubic_4max + +[metadata] +setting_version = 5 +type = quality +quality_type = normal +weight = 1 +material = generic_hips + +[values] + diff --git a/resources/quality/anycubic_4max/petg/anycubic_4max_petg_draft.inst.cfg b/resources/quality/anycubic_4max/petg/anycubic_4max_petg_draft.inst.cfg new file mode 100644 index 0000000000..1e8869727a --- /dev/null +++ b/resources/quality/anycubic_4max/petg/anycubic_4max_petg_draft.inst.cfg @@ -0,0 +1,20 @@ +[general] +version = 4 +name = Draft +definition = anycubic_4max + +[metadata] +setting_version = 5 +type = quality +quality_type = draft +weight = 0 +material = generic_petg + +[values] +default_material_print_temperature = 250 +material_bed_temperature = 70 +cool_fan_enabled = False + +speed_print = 30 +speed_layer_0 = 20 +speed_travel = 60 diff --git a/resources/quality/anycubic_4max/petg/anycubic_4max_petg_high.inst.cfg b/resources/quality/anycubic_4max/petg/anycubic_4max_petg_high.inst.cfg new file mode 100644 index 0000000000..af9fcf41ea --- /dev/null +++ b/resources/quality/anycubic_4max/petg/anycubic_4max_petg_high.inst.cfg @@ -0,0 +1,20 @@ +[general] +version = 4 +name = High +definition = anycubic_4max + +[metadata] +setting_version = 5 +type = quality +quality_type = high +weight = 2 +material = generic_petg + +[values] +default_material_print_temperature = 250 +material_bed_temperature = 70 +cool_fan_enabled = False + +speed_print = 30 +speed_layer_0 = 20 +speed_travel = 60 \ No newline at end of file diff --git a/resources/quality/anycubic_4max/petg/anycubic_4max_petg_normal.inst.cfg b/resources/quality/anycubic_4max/petg/anycubic_4max_petg_normal.inst.cfg new file mode 100644 index 0000000000..0946cacbf3 --- /dev/null +++ b/resources/quality/anycubic_4max/petg/anycubic_4max_petg_normal.inst.cfg @@ -0,0 +1,20 @@ +[general] +version = 4 +name = Normal +definition = anycubic_4max + +[metadata] +setting_version = 5 +type = quality +quality_type = normal +weight = 1 +material = generic_petg + +[values] +default_material_print_temperature = 250 +material_bed_temperature = 70 +cool_fan_enabled = False + +speed_print = 30 +speed_layer_0 = 20 +speed_travel = 60 \ No newline at end of file diff --git a/resources/quality/anycubic_4max/pla/anycubic_4max_pla_draft.inst.cfg b/resources/quality/anycubic_4max/pla/anycubic_4max_pla_draft.inst.cfg new file mode 100644 index 0000000000..eae9e3b5ef --- /dev/null +++ b/resources/quality/anycubic_4max/pla/anycubic_4max_pla_draft.inst.cfg @@ -0,0 +1,15 @@ +[general] +version = 4 +name = Draft +definition = anycubic_4max + +[metadata] +setting_version = 5 +type = quality +quality_type = draft +weight = 0 +material = generic_pla + +[values] + + diff --git a/resources/quality/anycubic_4max/pla/anycubic_4max_pla_high.inst.cfg b/resources/quality/anycubic_4max/pla/anycubic_4max_pla_high.inst.cfg new file mode 100644 index 0000000000..c856fc66a7 --- /dev/null +++ b/resources/quality/anycubic_4max/pla/anycubic_4max_pla_high.inst.cfg @@ -0,0 +1,14 @@ +[general] +version = 4 +name = High +definition = anycubic_4max + +[metadata] +setting_version = 5 +type = quality +quality_type = high +weight = 2 +material = generic_pla + +[values] + diff --git a/resources/quality/anycubic_4max/pla/anycubic_4max_pla_normal.inst.cfg b/resources/quality/anycubic_4max/pla/anycubic_4max_pla_normal.inst.cfg new file mode 100644 index 0000000000..be33bfe53a --- /dev/null +++ b/resources/quality/anycubic_4max/pla/anycubic_4max_pla_normal.inst.cfg @@ -0,0 +1,14 @@ +[general] +version = 4 +name = Normal +definition = anycubic_4max + +[metadata] +setting_version = 5 +type = quality +quality_type = normal +weight = 1 +material = generic_pla + +[values] +