tronxy_x.def.json 7.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156
  1. {
  2. "name": "Tronxy Base Printer",
  3. "version": 2,
  4. "inherits": "fdmprinter",
  5. "metadata": {
  6. "visible": false,
  7. "author": "KV/AdderMk2",
  8. "manufacturer": "Tronxy",
  9. "file_formats": "text/x-gcode",
  10. "first_start_actions": ["MachineSettingsAction"],
  11. "machine_extruder_trains": {
  12. "0": "tronxy_base_extruder_0",
  13. "1": "tronxy_base_extruder_1"
  14. },
  15. "has_materials": true,
  16. "has_variants": true,
  17. "has_machine_quality": true,
  18. "variants_name": "Nozzle Size",
  19. "preferred_variant_name": "0.4mm Nozzle",
  20. "preferred_quality_type": "normal",
  21. "preferred_material": "generic_pla"
  22. },
  23. "overrides": {
  24. "machine_name": { "default_value": "Tronxy Base Printer" },
  25. "machine_start_gcode": { "default_value": "G21\nG90\nM82\nM107 T0\nM140 S{material_bed_temperature_layer_0}\nM104 S{material_print_temperature_layer_0} T0\nM190 S{material_bed_temperature_layer_0}\nM109 S{material_print_temperature_layer_0} T0\nG28\nG92 E0\nG1 Z15.0 F{speed_travel_layer_0}\nG0 E3 F200\nG92 E0\n" },
  26. "machine_end_gcode": { "default_value": "M107 T0\nM104 S0\nM104 S0 T1\nM140 S0\nG92 E0\nG91\nG1 E-1 F300 \nG1 Z+0.5 E-5 X-20 Y-20 F9000\nG28 X0 Y0\nM84 ;steppers off\nG90 ;absolute positioning\n" },
  27. "machine_heated_bed": { "default_value": true },
  28. "material_diameter": { "default_value": 1.75 },
  29. "acceleration_print": { "value": "machine_acceleration" },
  30. "acceleration_travel": { "value": "machine_acceleration" },
  31. "acceleration_travel_layer_0": { "value": "acceleration_travel" },
  32. "acceleration_roofing": { "enabled": "acceleration_enabled and roofing_layer_count > 0 and top_layers > 0" },
  33. "jerk_print": { "value": 12 },
  34. "jerk_travel": { "value": "jerk_print" },
  35. "jerk_travel_layer_0": { "value": "jerk_travel" },
  36. "acceleration_enabled": { "value": false },
  37. "jerk_enabled": { "value": false },
  38. "speed_print": { "value": 60.0 } ,
  39. "speed_infill": { "value": "speed_print" },
  40. "speed_wall": { "value": "speed_print *0.75" },
  41. "speed_wall_0": { "value": "speed_wall" },
  42. "speed_wall_x": { "value": "speed_wall" },
  43. "speed_topbottom": { "value": "speed_print * 0.5" },
  44. "speed_roofing": { "value": "speed_topbottom" },
  45. "speed_travel": { "value": "60.0 if speed_print < 50 else 120.0 if speed_print > 80 else speed_print * 1.25" },
  46. "speed_layer_0": { "value": 30.0 },
  47. "speed_print_layer_0": { "value": "speed_layer_0" },
  48. "speed_travel_layer_0": { "value": "45 if speed_layer_0 < 20 else 60 if speed_layer_0 > 30 else speed_layer_0 * 1.5" },
  49. "speed_prime_tower": { "value": "speed_topbottom" },
  50. "speed_support": { "value": "speed_wall_0" },
  51. "speed_support_interface": { "value": "speed_topbottom" },
  52. "speed_z_hop": { "value": 5 },
  53. "skirt_brim_speed": { "value": "speed_layer_0" },
  54. "line_width": { "value": "machine_nozzle_size" },
  55. "optimize_wall_printing_order": { "value": "True" },
  56. "material_initial_print_temperature": { "value": "material_print_temperature" },
  57. "material_final_print_temperature": { "value": "material_print_temperature" },
  58. "material_flow": { "value": 95 },
  59. "material_flow_layer_0": { "value": 95 },
  60. "z_seam_type": { "value": "'sharpest_corner'" },
  61. "z_seam_corner": { "value": "'z_seam_corner_inner'" },
  62. "infill_sparse_density": { "value": "20" },
  63. "infill_pattern": { "value": "'lines' if infill_sparse_density > 56 else 'cubic'" },
  64. "infill_before_walls": { "value": false },
  65. "infill_overlap": { "value": 30.0 },
  66. "skin_overlap": { "value": 10.0 },
  67. "infill_wipe_dist": { "value": 0.0 },
  68. "wall_0_wipe_dist": { "value": 0.0 },
  69. "fill_outline_gaps": { "value": true },
  70. "retraction_speed": {
  71. "maximum_value_warning": "machine_max_feedrate_e",
  72. "default_value": 45,
  73. "maximum_value": 200
  74. },
  75. "retraction_retract_speed": {
  76. "maximum_value_warning": "machine_max_feedrate_e",
  77. "maximum_value": 200
  78. },
  79. "retraction_prime_speed": {
  80. "maximum_value_warning": "machine_max_feedrate_e",
  81. "maximum_value": 200
  82. },
  83. "retraction_hop": { "value": 0.2 },
  84. "retraction_combing": { "value": "'off' if retraction_hop_enabled else 'noskin'" },
  85. "retraction_combing_max_distance": { "value": 30 },
  86. "travel_avoid_other_parts": { "value": false },
  87. "travel_avoid_supports": { "value": true },
  88. "travel_retract_before_outer_wall": { "value": true },
  89. "retraction_enable": { "value": true },
  90. "retract_at_layer_change": { "value": true },
  91. "retraction_count_max": { "value": 100 },
  92. "retraction_extrusion_window": { "value": 5 },
  93. "retraction_hop_enabled": { "value": true },
  94. "retraction_min_travel": { "value": 1.5 },
  95. "cool_fan_full_at_height": { "value": "layer_height_0 + 2 * layer_height" },
  96. "cool_fan_enabled": { "value": true },
  97. "cool_min_layer_time": { "value": 10 },
  98. "adhesion_type": { "value": "'skirt'" },
  99. "brim_replaces_support": { "value": false },
  100. "skirt_gap": { "value": 10.0 },
  101. "skirt_line_count": { "value": 3 },
  102. "adaptive_layer_height_variation": { "value": 0.04 },
  103. "adaptive_layer_height_variation_step": { "value": 0.04 },
  104. "meshfix_maximum_resolution": { "value": "0.25" },
  105. "meshfix_maximum_travel_resolution": { "value": "meshfix_maximum_resolution" },
  106. "support_angle": { "value": "math.floor(math.degrees(math.atan(line_width/2.0/layer_height)))" },
  107. "support_pattern": { "value": "'zigzag'" },
  108. "support_infill_angles": { "value": [45] },
  109. "support_infill_rate": { "value": "0 if support_enable and support_structure == 'tree' else 30" },
  110. "support_use_towers": { "value": false },
  111. "support_xy_distance": { "value": "wall_line_width_0 * 3" },
  112. "support_xy_distance_overhang": { "value": "wall_line_width_0" },
  113. "support_z_distance": { "value": "layer_height if layer_height >= 0.16 else layer_height*2" },
  114. "support_xy_overrides_z": { "value": "'xy_overrides_z'" },
  115. "support_wall_count": { "value": 0 },
  116. "support_brim_enable": { "value": true },
  117. "support_brim_width": { "value": 4 },
  118. "support_interface_enable": { "value": false },
  119. "support_interface_height": { "value": "layer_height * 4" },
  120. "support_interface_density": { "value": 33.333 },
  121. "support_interface_pattern": { "value": "'grid'" },
  122. "support_interface_skip_height": { "value": 0.2 },
  123. "minimum_support_area": { "value": 2 },
  124. "minimum_interface_area": { "value": 10 },
  125. "top_bottom_pattern": {"value": "'zigzag'" },
  126. "top_bottom_pattern_0": {"value": "'zigzag'" },
  127. "top_bottom_thickness": {"value": "layer_height_0 + layer_height * 3" },
  128. "wall_line_count": {"value": "3" }
  129. }
  130. }