tank_m_base.def.json 4.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. {
  2. "version": 2,
  3. "name": "tank_m Base Printer",
  4. "inherits": "fdmprinter",
  5. "metadata":
  6. {
  7. "visible": false,
  8. "author": "tank_m",
  9. "manufacturer": "tank_m",
  10. "file_formats": "text/x-gcode",
  11. "platform": "tank_m.obj",
  12. "first_start_actions": [ "MachineSettingsAction" ],
  13. "has_machine_quality": true,
  14. "has_materials": true,
  15. "machine_extruder_trains": { "0": "tank_m_base_extruder_0" },
  16. "platform_texture": "tank_m.png",
  17. "preferred_material": "generic_pla",
  18. "preferred_quality_type": "standard"
  19. },
  20. "overrides":
  21. {
  22. "acceleration_print": { "value": 2500 },
  23. "acceleration_travel": { "value": 2500 },
  24. "adhesion_type": { "value": "'skirt'" },
  25. "brim_replaces_support": { "value": false },
  26. "cool_fan_full_at_height": { "value": "layer_height_0 + 2 * layer_height" },
  27. "cool_min_layer_time": { "value": 10 },
  28. "fill_outline_gaps": { "value": false },
  29. "infill_pattern": { "value": "'lines' if infill_sparse_density > 50 else 'cubic'" },
  30. "infill_sparse_density": { "value": "15" },
  31. "machine_acceleration": { "value": 2500 },
  32. "machine_end_gcode": { "default_value": "M104 T0 S0 ;1st extruder heater off\nM104 T1 S0 ;2nd 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" },
  33. "machine_heated_bed": { "default_value": true },
  34. "machine_max_acceleration_e": { "value": 2000 },
  35. "machine_max_acceleration_x": { "value": 2500 },
  36. "machine_max_acceleration_y": { "value": 2500 },
  37. "machine_max_acceleration_z": { "value": 100 },
  38. "machine_max_feedrate_e": { "value": 500 },
  39. "machine_max_feedrate_x": { "value": 500 },
  40. "machine_max_feedrate_y": { "value": 500 },
  41. "machine_max_feedrate_z": { "value": 50 },
  42. "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\nG1 Z15.0 F9000 ;move the platform down 15mm\nM117 Printing..." },
  43. "material_bed_temperature": { "value": "55" },
  44. "material_bed_temperature_layer_0": { "value": "material_bed_temperature" },
  45. "material_diameter": { "default_value": 1.75 },
  46. "material_final_print_temperature": { "value": "material_print_temperature" },
  47. "material_initial_print_temperature": { "value": "material_print_temperature" },
  48. "material_print_temperature": { "value": "195" },
  49. "material_standby_temperature": { "value": "material_print_temperature" },
  50. "minimum_interface_area": { "value": 10 },
  51. "minimum_support_area": { "value": "2 if support_structure == 'normal' else 0" },
  52. "retraction_amount": { "value": 1.0 },
  53. "retraction_speed": { "value": 40 },
  54. "skirt_gap": { "value": 6.0 },
  55. "skirt_line_count": { "value": 3 },
  56. "speed_layer_0": { "value": 25.0 },
  57. "speed_prime_tower": { "value": "speed_topbottom" },
  58. "speed_print": { "value": 50.0 },
  59. "speed_support": { "value": "speed_wall_0" },
  60. "speed_travel": { "value": "120.0 if speed_print < 60 else 300.0 if speed_print > 100 else speed_print * 2.2" },
  61. "speed_travel_layer_0": { "value": "100 if speed_layer_0 < 25 else 150 if speed_layer_0 > 30 else speed_layer_0 * 5" },
  62. "speed_wall_x": { "value": "speed_wall" },
  63. "speed_z_hop": { "value": 5 },
  64. "support_angle": { "value": "math.floor(math.degrees(math.atan(line_width/2.0/layer_height)))" },
  65. "support_brim_enable": { "value": true },
  66. "support_brim_width": { "value": 4 },
  67. "support_enable": { "value": true },
  68. "support_infill_rate": { "value": "0 if support_enable and support_structure == 'tree' else 20" },
  69. "support_interface_density": { "value": 33.333 },
  70. "support_interface_enable": { "value": true },
  71. "support_interface_height": { "value": "layer_height * 4" },
  72. "support_interface_pattern": { "value": "'grid'" },
  73. "support_pattern": { "value": "'zigzag'" },
  74. "support_wall_count": { "value": 1 },
  75. "support_xy_distance": { "value": "wall_line_width_0 * 2" },
  76. "support_xy_distance_overhang": { "value": "wall_line_width_0" },
  77. "support_xy_overrides_z": { "value": "'xy_overrides_z'" },
  78. "support_z_distance": { "value": "layer_height if layer_height >= 0.16 else layer_height*2" },
  79. "top_bottom_thickness": { "value": "layer_height_0 + layer_height * 3" },
  80. "wall_thickness": { "value": "line_width * 2" }
  81. }
  82. }