biqu_base.def.json 7.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154
  1. {
  2. "name": "Biqu Base Printer",
  3. "version": 2,
  4. "inherits": "fdmprinter",
  5. "metadata": {
  6. "visible": false,
  7. "author": "Luke Harrison",
  8. "manufacturer": "Biqu",
  9. "file_formats": "text/x-gcode",
  10. "first_start_actions": ["MachineSettingsAction"],
  11. "machine_extruder_trains": {
  12. "0": "biqu_base_extruder_0"
  13. },
  14. "has_materials": true,
  15. "has_variants": true,
  16. "has_machine_quality": true,
  17. "variants_name": "Nozzle Diameter",
  18. "preferred_variant_name": "0.4mm Nozzle",
  19. "preferred_quality_type": "standard",
  20. "preferred_material": "generic_pla_175"
  21. },
  22. "overrides": {
  23. "machine_name": { "default_value": "BIQU Base Printer" },
  24. "machine_start_gcode": { "default_value": "M201 X500.00 Y500.00 Z100.00 E5000.00 ;Setup machine max acceleration\nM203 X500.00 Y500.00 Z10.00 E50.00 ;Setup machine max feedrate\nM204 P500.00 R1000.00 T500.00 ;Setup Print/Retract/Travel acceleration\nM205 X8.00 Y8.00 Z0.40 E5.00 ;Setup Jerk\nM220 S100 ;Reset Feedrate\nM221 S100 ;Reset Flowrate\n\nG28 ;Home\n\nG92 E0 ;Reset Extruder\nG1 Z2.0 F3000 ;Move Z Axis up\nG1 X10.1 Y20 Z0.28 F5000.0 ;Move to start position\nG1 X10.1 Y200.0 Z0.28 F1500.0 E15 ;Draw the first line\nG1 X10.4 Y200.0 Z0.28 F5000.0 ;Move to side a little\nG1 X10.4 Y20 Z0.28 F1500.0 E30 ;Draw the second line\nG92 E0 ;Reset Extruder\nG1 Z2.0 F3000 ;Move Z Axis up\n" },
  25. "machine_end_gcode": { "default_value": " ;BIQU Default End Gcode\nG91 ;Relative positioning\nG1 E-2 F2700 ;Retract a bit\nG1 E-2 Z0.2 F2400 ;Retract a bit more and raise Z\nG1 X5 Y5 F3000 ;Wipe out\nG1 Z10 ;Raise Z by 10mm\nG90 ;Return to absolute positioning\n\nG1 X0 Y{machine_depth} ;TaDaaaa\nM106 S0 ;Turn-off fan\nM104 S0 ;Turn-off hotend\nM140 S0 ;Turn-off bed\n\nM84 X Y E ;Disable all steppers but Z\n" },
  26. "machine_max_feedrate_x": { "value": 500 },
  27. "machine_max_feedrate_y": { "value": 500 },
  28. "machine_max_feedrate_z": { "value": 10 },
  29. "machine_max_feedrate_e": { "value": 75 },
  30. "machine_max_acceleration_x": { "value": 500 },
  31. "machine_max_acceleration_y": { "value": 500 },
  32. "machine_max_acceleration_z": { "value": 100 },
  33. "machine_max_acceleration_e": { "value": 5000 },
  34. "machine_acceleration": { "value": 500 },
  35. "machine_max_jerk_xy": { "value": 10 },
  36. "machine_max_jerk_z": { "value": 0.4 },
  37. "machine_max_jerk_e": { "value": 5 },
  38. "machine_heated_bed": { "default_value": true },
  39. "material_diameter": { "default_value": 1.75 },
  40. "acceleration_print": { "value": 500 },
  41. "acceleration_travel": { "value": 500 },
  42. "acceleration_travel_layer_0": { "value": "acceleration_travel" },
  43. "acceleration_roofing": { "enabled": "acceleration_enabled and roofing_layer_count > 0 and top_layers > 0" },
  44. "jerk_print": { "value": 8 },
  45. "jerk_travel": { "value": "jerk_print" },
  46. "jerk_travel_layer_0": { "value": "jerk_travel" },
  47. "acceleration_enabled": { "value": false },
  48. "jerk_enabled": { "value": false },
  49. "speed_print": { "value": 50.0 } ,
  50. "speed_wall_x": { "value": "speed_wall" },
  51. "speed_roofing": { "value": "speed_topbottom" },
  52. "speed_travel": { "value": "150.0 if speed_print < 60 else 250.0 if speed_print > 100 else speed_print * 2.5" },
  53. "speed_layer_0": { "value": 20.0 },
  54. "speed_travel_layer_0": { "value": "100 if speed_layer_0 < 20 else 150 if speed_layer_0 > 30 else speed_layer_0 * 5" },
  55. "speed_prime_tower": { "value": "speed_topbottom" },
  56. "speed_support": { "value": "speed_wall_0" },
  57. "speed_support_interface": { "value": "speed_topbottom" },
  58. "speed_z_hop": { "value": 5 },
  59. "skirt_brim_speed": { "value": "speed_layer_0" },
  60. "optimize_wall_printing_order": { "value": "True" },
  61. "material_initial_print_temperature": { "value": "material_print_temperature" },
  62. "material_final_print_temperature": { "value": "material_print_temperature" },
  63. "z_seam_type": { "value": "'sharpest_corner'" },
  64. "z_seam_corner": { "value": "'z_seam_corner_inner'" },
  65. "infill_line_width": { "value": "line_width * 1.2" },
  66. "infill_pattern": { "value": "'lines' if infill_sparse_density > 50 else 'cubic'" },
  67. "infill_before_walls": { "value": false },
  68. "infill_overlap": { "value": 30.0 },
  69. "skin_overlap": { "value": 10.0 },
  70. "infill_wipe_dist": { "value": 0.0 },
  71. "wall_0_wipe_dist": { "value": 0.0 },
  72. "fill_outline_gaps": { "value": false },
  73. "retraction_speed": {
  74. "maximum_value_warning": "machine_max_feedrate_e if retraction_enable else float('inf')",
  75. "maximum_value": 200
  76. },
  77. "retraction_retract_speed": {
  78. "maximum_value_warning": "machine_max_feedrate_e if retraction_enable else float('inf')",
  79. "maximum_value": 200
  80. },
  81. "retraction_prime_speed": {
  82. "maximum_value_warning": "machine_max_feedrate_e if retraction_enable else float('inf')",
  83. "maximum_value": 200
  84. },
  85. "retraction_hop": { "value": 0.2 },
  86. "retraction_combing": { "value": "'off' if retraction_hop_enabled else 'noskin'" },
  87. "retraction_combing_max_distance": { "value": 30 },
  88. "travel_avoid_other_parts": { "value": true },
  89. "travel_avoid_supports": { "value": true },
  90. "travel_retract_before_outer_wall": { "value": true },
  91. "retraction_count_max": { "value": 100 },
  92. "retraction_extrusion_window": { "value": 10 },
  93. "retraction_min_travel": { "value": 1.5 },
  94. "cool_fan_full_at_height": { "value": "layer_height_0 + 2 * layer_height" },
  95. "cool_min_layer_time": { "value": 10 },
  96. "adhesion_type": { "value": "'skirt'" },
  97. "brim_replaces_support": { "value": false },
  98. "skirt_gap": { "value": 10.0 },
  99. "skirt_line_count": { "value": 3 },
  100. "adaptive_layer_height_variation": { "value": 0.04 },
  101. "adaptive_layer_height_variation_step": { "value": 0.04 },
  102. "meshfix_maximum_resolution": { "value": "0.25" },
  103. "meshfix_maximum_travel_resolution": { "value": "meshfix_maximum_resolution" },
  104. "support_angle": { "value": "math.floor(math.degrees(math.atan(line_width / 2.0 / layer_height)))" },
  105. "support_pattern": { "value": "'zigzag'" },
  106. "support_infill_rate": { "value": "0 if support_structure == 'tree' else 20" },
  107. "support_use_towers": { "value": false },
  108. "support_xy_distance": { "value": "wall_line_width_0 * 2" },
  109. "support_xy_distance_overhang": { "value": "wall_line_width_0" },
  110. "support_z_distance": { "value": "layer_height if layer_height >= 0.16 else layer_height * 2" },
  111. "support_xy_overrides_z": { "value": "'xy_overrides_z'" },
  112. "support_wall_count": { "value": 1 },
  113. "support_brim_enable": { "value": true },
  114. "support_brim_width": { "value": 4 },
  115. "support_interface_enable": { "value": true },
  116. "support_interface_height": { "value": "layer_height * 4" },
  117. "support_interface_density": { "value": 75 },
  118. "support_interface_pattern": { "value": "'grid'" },
  119. "support_interface_skip_height": { "value": 0.2 },
  120. "minimum_support_area": { "value": 2 },
  121. "minimum_interface_area": { "value": 10 },
  122. "top_bottom_thickness": {"value": "layer_height_0 + layer_height * 3" },
  123. "wall_thickness": {"value": "line_width * 2" }
  124. }
  125. }