Browse Source

fix and improve 4max profile

Jason Scurtu 6 years ago
parent
commit
65e3ee6854

+ 65 - 42
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"}
     }
 }

+ 15 - 0
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

+ 15 - 0
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

+ 16 - 0
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
+

+ 2 - 47
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
+

+ 3 - 48
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
+

+ 1 - 47
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

+ 14 - 0
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]
+

+ 14 - 0
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]
+

+ 14 - 0
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]
+

Some files were not shown because too many files changed in this diff