lnl3d_base.def.json 7.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130
  1. {
  2. "version": 2,
  3. "name": "LNL3D Printer",
  4. "inherits": "fdmprinter",
  5. "metadata":
  6. {
  7. "author": "LNL3D",
  8. "manufacturer": "LNL3D",
  9. "file_formats": "text/x-gcode",
  10. "first_start_actions": [ "MachineSettingsAction" ],
  11. "has_machine_quality": true,
  12. "has_materials": true,
  13. "has_variants": true,
  14. "machine_extruder_trains":
  15. {
  16. "0": "lnl3d_extruder_left",
  17. "1": "lnl3d_extruder_right"
  18. },
  19. "preferred_material": "generic_pla",
  20. "preferred_quality_type": "standard",
  21. "preferred_variant_name": "0.4mm Nozzle",
  22. "quality_definition": "lnl3d_base",
  23. "variants_name": "Nozzle Size"
  24. },
  25. "overrides":
  26. {
  27. "acceleration_print": { "value": 500 },
  28. "acceleration_roofing": { "enabled": "acceleration_enabled and roofing_layer_count > 0 and top_layers > 0" },
  29. "acceleration_travel": { "value": 500 },
  30. "acceleration_travel_layer_0": { "value": "acceleration_travel" },
  31. "adaptive_layer_height_variation": { "value": 0.04 },
  32. "adaptive_layer_height_variation_step": { "value": 0.04 },
  33. "adhesion_type": { "value": "'skirt'" },
  34. "brim_width": { "value": 4 },
  35. "cool_fan_full_at_height": { "value": "layer_height_0 + 2 * layer_height" },
  36. "cool_min_layer_time": { "value": 10 },
  37. "fill_outline_gaps": { "value": false },
  38. "infill_overlap": { "value": 30.0 },
  39. "infill_pattern": { "value": "'lines'" },
  40. "infill_wipe_dist": { "value": 0.0 },
  41. "initial_layer_line_width_factor": { "default_value": 130.0 },
  42. "jerk_print": { "value": 8 },
  43. "jerk_travel": { "value": "jerk_print" },
  44. "jerk_travel_layer_0": { "value": "jerk_travel" },
  45. "layer_height_0": { "default_value": 0.2 },
  46. "machine_acceleration": { "value": 500 },
  47. "machine_end_gcode": { "default_value": "M104 T0 S0 ;left extruder heater off\nM104 T1 S0 ;right extruder heater off\nM140 S0 ;heated bed heater off (if you have it)\nG91 ;relative positioning\nG1 E-1 F300 ;retract the filament a bit before lifting the nozzle, to release some of the pressure\nG1 Z+0.5 E-5 X-20 Y-20 F9000 ;move Z up a bit and retract filament even more\nG28 X0 Y0 ;move X/Y to min endstops, so the head is out of the way\nM84 ;steppers off\nG90 ;absolute positioning" },
  48. "machine_extruder_count": { "default_value": 2 },
  49. "machine_heated_bed": { "default_value": true },
  50. "machine_max_acceleration_e": { "value": 5000 },
  51. "machine_max_acceleration_x": { "value": 500 },
  52. "machine_max_acceleration_y": { "value": 500 },
  53. "machine_max_acceleration_z": { "value": 100 },
  54. "machine_max_feedrate_e": { "value": 80 },
  55. "machine_max_feedrate_x": { "value": 500 },
  56. "machine_max_feedrate_y": { "value": 500 },
  57. "machine_max_feedrate_z": { "value": 10 },
  58. "machine_max_jerk_e": { "value": 5 },
  59. "machine_max_jerk_xy": { "value": 10 },
  60. "machine_max_jerk_z": { "value": 0.4 },
  61. "machine_start_gcode": { "default_value": "G21 ;metric values\nG90 ;absolute positioning\nM82 ;set extruder to absolute mode\nM107 ;start with the fan off\nG28 ;move to min endstops\nG92 E0 ;reset extruder\nG1 E15 F1500 ;move extruder 15mm\nG1 Z15.0 F3000 ;move the header up 15mm\nM117 printing... ;LCD message" },
  62. "material_diameter": { "default_value": 1.75 },
  63. "material_final_print_temperature": { "value": "material_print_temperature" },
  64. "material_initial_print_temperature": { "value": "material_print_temperature" },
  65. "meshfix_maximum_resolution": { "value": "0.25" },
  66. "meshfix_maximum_travel_resolution": { "value": "meshfix_maximum_resolution" },
  67. "minimum_interface_area": { "value": 10 },
  68. "minimum_support_area": { "value": "2 if support_structure == 'normal' else 0" },
  69. "optimize_wall_printing_order": { "value": "True" },
  70. "prime_tower_brim_enable": { "default_value": true },
  71. "prime_tower_wipe_enabled": { "default_value": false },
  72. "raft_airgap": { "default_value": 0.2 },
  73. "raft_margin": { "default_value": 2 },
  74. "retraction_combing": { "value": "'off' if retraction_hop_enabled else 'noskin'" },
  75. "retraction_count_max": { "value": 100 },
  76. "retraction_extrusion_window": { "value": 4 },
  77. "retraction_hop": { "value": 0.2 },
  78. "retraction_hop_after_extruder_switch_height": { "value": 0.0 },
  79. "retraction_hop_enabled": { "value": "False" },
  80. "retraction_prime_speed":
  81. {
  82. "maximum_value": 200,
  83. "maximum_value_warning": "machine_max_feedrate_e if retraction_enable else float('inf')"
  84. },
  85. "retraction_retract_speed":
  86. {
  87. "maximum_value": 200,
  88. "maximum_value_warning": "machine_max_feedrate_e if retraction_enable else float('inf')"
  89. },
  90. "retraction_speed":
  91. {
  92. "maximum_value": 200,
  93. "maximum_value_warning": "machine_max_feedrate_e if retraction_enable else float('inf')"
  94. },
  95. "skin_overlap": { "value": 25 },
  96. "skirt_line_count": { "value": 2 },
  97. "speed_layer_0": { "value": 20.0 },
  98. "speed_prime_tower": { "value": "speed_topbottom" },
  99. "speed_support": { "value": "speed_wall_0" },
  100. "speed_support_interface": { "value": "speed_topbottom" },
  101. "speed_travel": { "value": "80.0 if speed_print < 61 else 120.0 if speed_print > 100 else speed_print * 1.5" },
  102. "speed_travel_layer_0": { "value": "80 if speed_layer_0 < 21 else 100 if speed_layer_0 > 30 else speed_layer_0 * 5" },
  103. "speed_wall_x": { "value": "speed_wall" },
  104. "speed_z_hop": { "value": 5 },
  105. "support_angle": { "value": "math.floor(math.degrees(math.atan(line_width/1.4/layer_height)))" },
  106. "support_brim_enable": { "value": true },
  107. "support_brim_width": { "value": 4 },
  108. "support_infill_rate": { "value": "0 if support_enable and support_structure == 'tree' else 20" },
  109. "support_interface_density": { "value": 33.333 },
  110. "support_interface_enable": { "value": true },
  111. "support_interface_height": { "value": "layer_height * 4" },
  112. "support_interface_pattern": { "value": "'grid'" },
  113. "support_pattern": { "value": "'zigzag'" },
  114. "support_xy_distance": { "value": "wall_line_width_0 * 2" },
  115. "support_xy_distance_overhang": { "value": "wall_line_width_0" },
  116. "support_xy_overrides_z": { "value": "'xy_overrides_z'" },
  117. "support_z_distance": { "value": "layer_height if layer_height >= 0.16 else layer_height*2" },
  118. "switch_extruder_retraction_amount": { "value": 8.0 },
  119. "switch_extruder_retraction_speeds": { "default_value": 60.0 },
  120. "top_bottom_thickness": { "value": "layer_height_0 + layer_height * 4" },
  121. "travel_avoid_other_parts": { "value": false },
  122. "travel_avoid_supports": { "value": true },
  123. "travel_retract_before_outer_wall": { "value": true },
  124. "wall_0_wipe_dist": { "value": 0.0 },
  125. "wall_thickness": { "value": "line_width * 2" },
  126. "z_seam_corner": { "value": "'z_seam_corner_weighted'" },
  127. "z_seam_type": { "value": "'back'" },
  128. "zig_zaggify_infill": { "value": true }
  129. }
  130. }