Mark2_for_Ultimaker2.def.json 7.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163
  1. {
  2. "version": 2,
  3. "name": "Mark2 for Ultimaker2",
  4. "inherits": "ultimaker2_plus",
  5. "metadata":
  6. {
  7. "visible": true,
  8. "author": "TheUltimakerCommunity",
  9. "manufacturer": "Foehnsturm",
  10. "file_formats": "text/x-gcode",
  11. "platform": "ultimaker2_platform.obj",
  12. "has_machine_quality": false,
  13. "has_materials": true,
  14. "has_variants": true,
  15. "icon": "icon_ultimaker.png",
  16. "machine_extruder_trains":
  17. {
  18. "0": "Mark2_extruder1",
  19. "1": "Mark2_extruder2"
  20. },
  21. "platform_texture": "Mark2_for_Ultimaker2_backplate.png",
  22. "supported_actions": [
  23. "MachineSettingsAction",
  24. "UpgradeFirmware"
  25. ],
  26. "weight": 0
  27. },
  28. "overrides":
  29. {
  30. "acceleration_enabled": { "default_value": true },
  31. "acceleration_layer_0": { "value": "acceleration_topbottom" },
  32. "acceleration_prime_tower": { "value": "math.ceil(acceleration_print * 2000 / 4000)" },
  33. "acceleration_print": { "value": "2000" },
  34. "acceleration_support": { "value": "math.ceil(acceleration_print * 2000 / 4000)" },
  35. "acceleration_support_interface": { "value": "acceleration_topbottom" },
  36. "acceleration_topbottom": { "value": "math.ceil(acceleration_print * 500 / 4000)" },
  37. "acceleration_travel": { "value": "acceleration_print if magic_spiralize else 3000" },
  38. "acceleration_wall": { "value": "math.ceil(acceleration_print * 1000 / 4000)" },
  39. "acceleration_wall_0": { "value": "math.ceil(acceleration_wall * 500 / 1000)" },
  40. "extruder_prime_pos_abs": { "default_value": false },
  41. "extruder_prime_pos_x":
  42. {
  43. "default_value": 0.0,
  44. "enabled": false
  45. },
  46. "extruder_prime_pos_y":
  47. {
  48. "default_value": 0.0,
  49. "enabled": false
  50. },
  51. "extruder_prime_pos_z":
  52. {
  53. "default_value": 0.0,
  54. "enabled": false
  55. },
  56. "gantry_height": { "value": "52" },
  57. "jerk_enabled": { "default_value": true },
  58. "jerk_layer_0": { "value": "jerk_topbottom" },
  59. "jerk_prime_tower": { "value": "10 if jerk_print < 16 else math.ceil(jerk_print * 15 / 25)" },
  60. "jerk_support": { "value": "10 if jerk_print < 16 else math.ceil(jerk_print * 15 / 25)" },
  61. "jerk_support_interface": { "value": "jerk_topbottom" },
  62. "jerk_topbottom": { "value": "10 if jerk_print < 25 else math.ceil(jerk_print * 10 / 25)" },
  63. "jerk_travel": { "value": "jerk_print if magic_spiralize else 20" },
  64. "jerk_travel_layer_0": { "value": "math.ceil(jerk_layer_0 * jerk_travel / jerk_print)" },
  65. "jerk_wall": { "value": "10 if jerk_print < 16 else math.ceil(jerk_print * 15 / 25)" },
  66. "jerk_wall_0": { "value": "10 if jerk_wall < 16 else math.ceil(jerk_wall * 6 / 10)" },
  67. "layer_height_0": { "value": "round(machine_nozzle_size / 1.5, 2)" },
  68. "layer_start_x":
  69. {
  70. "enabled": false,
  71. "value": 105.0
  72. },
  73. "layer_start_y":
  74. {
  75. "enabled": false,
  76. "value": 27.0
  77. },
  78. "line_width": { "value": "round(machine_nozzle_size * 0.875, 2)" },
  79. "machine_acceleration": { "default_value": 3000 },
  80. "machine_center_is_zero": { "default_value": false },
  81. "machine_depth": { "default_value": 223 },
  82. "machine_disallowed_areas":
  83. {
  84. "default_value": [
  85. [
  86. [-115, 112.5],
  87. [-10, 112.5],
  88. [-10, 72.5],
  89. [-115, 72.5]
  90. ],
  91. [
  92. [115, 112.5],
  93. [115, 72.5],
  94. [15, 72.5],
  95. [15, 112.5]
  96. ],
  97. [
  98. [-115, -112.5],
  99. [-115, -87.5],
  100. [115, -87.5],
  101. [115, -112.5]
  102. ],
  103. [
  104. [-115, 72.5],
  105. [-97, 72.5],
  106. [-97, -112.5],
  107. [-115, -112.5]
  108. ]
  109. ]
  110. },
  111. "machine_end_gcode": { "value": "\"\" if machine_gcode_flavor == \"UltiGCode\" else \"G90 ;absolute positioning\\nM104 S0 T0 ;extruder heater off\\nM104 S0 T1\\nM140 S0 ;turn off bed\\nT0 ; move to the first head\\nM107 ;fan off\"" },
  112. "machine_extruder_count": { "default_value": 2 },
  113. "machine_gcode_flavor": { "default_value": "RepRap (Marlin/Sprinter)" },
  114. "machine_head_with_fans_polygon":
  115. {
  116. "default_value": [
  117. [-44, 14],
  118. [-44, -34],
  119. [64, 14],
  120. [64, -34]
  121. ]
  122. },
  123. "machine_heat_zone_length": { "default_value": 20 },
  124. "machine_heated_bed": { "default_value": true },
  125. "machine_height": { "default_value": 203 },
  126. "machine_max_feedrate_e": { "default_value": 45 },
  127. "machine_max_feedrate_x": { "default_value": 250 },
  128. "machine_max_feedrate_y": { "default_value": 250 },
  129. "machine_max_feedrate_z": { "default_value": 40 },
  130. "machine_min_cool_heat_time_window": { "default_value": 15.0 },
  131. "machine_name": { "default_value": "Mark2_for_Ultimaker2" },
  132. "machine_nozzle_cool_down_speed": { "default_value": 1.5 },
  133. "machine_nozzle_heat_up_speed": { "default_value": 3.5 },
  134. "machine_nozzle_size": { "default_value": 0.4 },
  135. "machine_show_variants": { "default_value": true },
  136. "machine_start_gcode": { "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\\nM200 D0 T0 ;reset filament diameter\\nM200 D0 T1\\nG28 Z0; home all\\nG28 X0 Y0\\nG0 Z20 F2400 ;move the platform to 20mm\\nG92 E0\\nM190 S{material_bed_temperature_layer_0}\\nM109 T0 S{material_standby_temperature, 0}\\nM109 T1 S{material_print_temperature_layer_0, 1}\\nM104 T0 S{material_print_temperature_layer_0, 0}\\nT1 ; move to the 2th head\\nG0 Z20 F2400\\nG92 E-7.0 ;prime distance\\nG1 E0 F45 ;purge nozzle\\nG1 E-5.1 F1500 ; retract\\nG1 X90 Z0.01 F5000 ; move away from the prime poop\\nG1 X50 F9000\\nG0 Z20 F2400\\nT0 ; move to the first head\\nM104 T1 S{material_standby_temperature, 1}\\nG0 Z20 F2400\\nM104 T{initial_extruder_nr} S{material_print_temperature_layer_0, initial_extruder_nr}\\nG92 E-7.0\\nG1 E0 F45 ;purge nozzle\\nG1 X60 Z0.01 F5000 ; move away from the prime poop\\nG1 X20 F9000\\nM400 ;finish all moves\\nG92 E0\\n;end of startup sequence\\n\"" },
  137. "machine_use_extruder_offset_to_offset_coords": { "default_value": false },
  138. "machine_width": { "default_value": 223 },
  139. "prime_tower_position_y": { "value": "170" },
  140. "retraction_amount": { "default_value": 5.1 },
  141. "retraction_speed": { "default_value": 25 },
  142. "switch_extruder_prime_speed":
  143. {
  144. "enabled": false,
  145. "value": "retraction_prime_speed"
  146. },
  147. "switch_extruder_retraction_amount":
  148. {
  149. "enabled": false,
  150. "value": "retraction_amount"
  151. },
  152. "switch_extruder_retraction_speed":
  153. {
  154. "enabled": false,
  155. "value": "retraction_retract_speed"
  156. },
  157. "switch_extruder_retraction_speeds":
  158. {
  159. "enabled": false,
  160. "value": "retraction_speed"
  161. }
  162. }
  163. }