ultimaker2.def.json 4.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. {
  2. "version": 2,
  3. "name": "Ultimaker 2",
  4. "inherits": "ultimaker",
  5. "metadata": {
  6. "visible": true,
  7. "author": "Ultimaker",
  8. "manufacturer": "Ultimaker B.V.",
  9. "weight": 3,
  10. "file_formats": "text/x-gcode",
  11. "platform": "ultimaker2_platform.obj",
  12. "platform_texture": "Ultimaker2backplate.png",
  13. "platform_offset": [9, 0, 0],
  14. "has_materials": false,
  15. "has_machine_quality": true,
  16. "preferred_variant_name": "0.4 mm",
  17. "first_start_actions": ["UM2UpgradeSelection"],
  18. "supported_actions":["UM2UpgradeSelection"],
  19. "machine_extruder_trains":
  20. {
  21. "0": "ultimaker2_extruder_0"
  22. },
  23. "firmware_file": "MarlinUltimaker2.hex"
  24. },
  25. "overrides": {
  26. "machine_name": { "default_value": "Ultimaker 2" },
  27. "machine_start_gcode" : {
  28. "value": "\"\" if machine_gcode_flavor == \"UltiGCode\" else \"G21 ;metric values\\nG90 ;absolute positioning\\nM82 ;set extruder to absolute mode\\nM107 ;start with the fan off\\nG28 Z0 ;move Z to bottom endstops\\nG28 X0 Y0 ;move X/Y to endstops\\nG1 X15 Y0 F4000 ;move X/Y to front of printer\\nG1 Z15.0 F9000 ;move the platform to 15mm\\nG92 E0 ;zero the extruded length\\nG1 F200 E10 ;extrude 10 mm of feed stock\\nG92 E0 ;zero the extruded length again\\nG1 F9000\\n;Put printing message on LCD screen\\nM117 Printing...\""
  29. },
  30. "machine_end_gcode" : {
  31. "value": "\";Version _2.6 of the firmware can abort the print too early if the file ends\\n;too soon. However if the file hasn't ended yet because there are comments at\\n;the end of the file, it won't abort yet. Therefore we have to put at least 512\\n;bytes at the end of the g-code so that the file is not yet finished by the\\n;time that the motion planner gets flushed. With firmware version _3.3 this\\n;should be fixed, so this comment wouldn't be necessary any more. Now we have\\n;to pad this text to make precisely 512 bytes.\" if machine_gcode_flavor == \"UltiGCode\" else \"M104 S0 ;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\\n;Version _2.6 of the firmware can abort the print too early if the file ends\\n;too soon. However if the file hasn't ended yet because there are comments at\\n;the end of the file, it won't abort yet. Therefore we have to put at least 512\\n;bytes at the end of the g-code so that the file is not yet finished by the\\n;time that the motion planner gets flushed. With firmware version _3.3 this\\n;should be fixed, so this comment wouldn't be necessary any more. Now we have\\n;to pad this text to make precisely 512 bytes.\""
  32. },
  33. "machine_width": {
  34. "default_value": 223
  35. },
  36. "machine_depth": {
  37. "default_value": 223
  38. },
  39. "machine_height": {
  40. "default_value": 205
  41. },
  42. "machine_heated_bed": {
  43. "default_value": true
  44. },
  45. "machine_head_with_fans_polygon":
  46. {
  47. "default_value": [
  48. [ -42, 12 ],
  49. [ -42, -32 ],
  50. [ 62, 12 ],
  51. [ 62, -32 ]
  52. ]
  53. },
  54. "machine_center_is_zero": {
  55. "default_value": false
  56. },
  57. "gantry_height": {
  58. "value": "48"
  59. },
  60. "machine_use_extruder_offset_to_offset_coords": {
  61. "default_value": true
  62. },
  63. "machine_gcode_flavor": {
  64. "default_value": "UltiGCode"
  65. },
  66. "machine_disallowed_areas": {
  67. "default_value": [
  68. [[-115, 112.5], [ -82, 112.5], [ -84, 102.5], [-115, 102.5]],
  69. [[ 115, 112.5], [ 115, 102.5], [ 110, 102.5], [ 108, 112.5]],
  70. [[-115, -112.5], [-115, -104.5], [ -84, -104.5], [ -82, -112.5]],
  71. [[ 115, -112.5], [ 108, -112.5], [ 110, -104.5], [ 115, -104.5]]
  72. ]},
  73. "machine_nozzle_tip_outer_diameter": {
  74. "default_value": 1
  75. },
  76. "machine_nozzle_head_distance": {
  77. "default_value": 3
  78. },
  79. "machine_nozzle_expansion_angle": {
  80. "default_value": 45
  81. },
  82. "machine_max_feedrate_x": {
  83. "default_value": 300
  84. },
  85. "machine_max_feedrate_y": {
  86. "default_value": 300
  87. },
  88. "machine_max_feedrate_z": {
  89. "default_value": 40
  90. },
  91. "machine_acceleration": {
  92. "default_value": 3000
  93. },
  94. "machine_nozzle_temp_enabled": {
  95. "default_value": false
  96. }
  97. }
  98. }