snapmaker2.def.json 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. {
  2. "version": 2,
  3. "name": "Snapmaker 2",
  4. "inherits": "fdmprinter",
  5. "metadata":
  6. {
  7. "visible": false,
  8. "manufacturer": "Snapmaker",
  9. "file_formats": "text/x-gcode",
  10. "exclude_materials": [],
  11. "has_machine_quality": true,
  12. "has_materials": true,
  13. "machine_extruder_trains": { "0": "snapmaker_extruder_0" },
  14. "preferred_material": "generic_pla",
  15. "preferred_quality_type": "normal"
  16. },
  17. "overrides":
  18. {
  19. "default_material_print_temperature": { "default_value": 205 },
  20. "machine_acceleration": { "default_value": 1000 },
  21. "machine_buildplate_type": { "default_value": "aluminum" },
  22. "machine_end_gcode": { "default_value": "M104 S0 ;Extruder heater off\nM140 S0 ;Heated bed heater off\nG90 ;absolute positioning\nG92 E0 ;Retract the filament\nG1 E-1 F300 ;retract the filament a bit before lifting the nozzle, to release some of the pressure\nG1 Z{machine_height} E-1 F3000 ;move Z up a bit and retract filament even more\nG1 X0 F3000 ;move X to min endstops, so the head is out of the way\nG1 Y{machine_depth} F3000 ;so the head is out of the way and Plate is moved forward" },
  23. "machine_heated_bed": { "default_value": true },
  24. "machine_max_acceleration_e": { "default_value": 1000 },
  25. "machine_max_acceleration_x": { "default_value": 1000 },
  26. "machine_max_acceleration_y": { "default_value": 1000 },
  27. "machine_max_acceleration_z": { "default_value": 1000 },
  28. "machine_name": { "default_value": "Snapmaker" },
  29. "machine_nozzle_size": { "default_value": 0.4 },
  30. "machine_start_gcode": { "default_value": "M104 S{material_print_temperature_layer_0} ;Set Hotend Temperature\nM140 S{material_bed_temperature_layer_0} ;Set Bed Temperature\nG28 ;home\nG90 ;absolute positioning\nG1 X-10 Y-10 F3000 ;Move to corner \nG1 Z0 F1800 ;Go to zero offset\nM109 S{material_print_temperature_layer_0} ;Wait for Hotend Temperature\nM190 S{material_bed_temperature_layer_0} ;Wait for Bed Temperature\nG92 E0 ;Zero set extruder position\nG1 E20 F200 ;Feed filament to clear nozzle\nG92 E0 ;Zero set extruder position" },
  31. "material_bed_temp_prepend": { "default_value": false },
  32. "material_diameter": { "default_value": 1.75 },
  33. "material_print_temp_prepend": { "default_value": false },
  34. "retract_at_layer_change": { "default_value": false },
  35. "retraction_amount": { "default_value": 5 },
  36. "retraction_enable": { "default_value": true },
  37. "retraction_speed": { "default_value": 60 }
  38. }
  39. }