ultimaker_methodx_extruder_left.def.json 1.0 KB

123456789101112131415161718192021222324
  1. {
  2. "version": 2,
  3. "name": "Extruder 1",
  4. "inherits": "fdmextruder",
  5. "metadata":
  6. {
  7. "machine": "ultimaker_methodx",
  8. "position": "0"
  9. },
  10. "overrides":
  11. {
  12. "extruder_nr":
  13. {
  14. "default_value": 0,
  15. "maximum_value": "1"
  16. },
  17. "machine_extruder_end_code": { "default_value": "M106 P{extruder_nr} S255\nG91\nG0 Z0.4 F600\nG90\nG0 X{prime_tower_position_x - prime_tower_size/2} Y{prime_tower_position_y + prime_tower_size/2} F6000" },
  18. "machine_extruder_start_code": { "default_value": "G0 X{prime_tower_position_x - prime_tower_size/2} Y{prime_tower_position_y + prime_tower_size/2} F6000\nM109 S{material_final_print_temperature}\nG4 S5\nG91\nG0 Z-0.4 F600\nG90\nM107 P{(extruder_nr+1)%2}\nM106 P{extruder_nr} S{cool_fan_speed*255/100}" },
  19. "machine_nozzle_offset_x": { "default_value": 0 },
  20. "machine_nozzle_offset_y": { "default_value": 0 },
  21. "machine_nozzle_size": { "default_value": 0.4 },
  22. "material_diameter": { "default_value": 1.75 }
  23. }
  24. }