Mark2_for_Ultimaker2.def.json 8.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210
  1. {
  2. "version": 2,
  3. "name": "Mark2 for Ultimaker2",
  4. "inherits": "ultimaker2_plus",
  5. "metadata": {
  6. "visible": true,
  7. "author": "TheUltimakerCommunity",
  8. "manufacturer": "Foehnsturm",
  9. "weight": 0,
  10. "has_variants": true,
  11. "has_materials": true,
  12. "has_machine_quality": false,
  13. "file_formats": "text/x-gcode",
  14. "icon": "icon_ultimaker.png",
  15. "platform": "ultimaker2_platform.obj",
  16. "platform_texture": "Mark2_for_Ultimaker2_backplate.png",
  17. "machine_extruder_trains":
  18. {
  19. "0": "Mark2_extruder1",
  20. "1": "Mark2_extruder2"
  21. },
  22. "supported_actions": ["MachineSettingsAction", "UpgradeFirmware"]
  23. },
  24. "overrides": {
  25. "machine_name": { "default_value": "Mark2_for_Ultimaker2" },
  26. "machine_width": {
  27. "default_value": 223
  28. },
  29. "machine_depth": {
  30. "default_value": 223
  31. },
  32. "machine_height": {
  33. "default_value": 203
  34. },
  35. "gantry_height": {
  36. "value": "52"
  37. },
  38. "machine_center_is_zero": {
  39. "default_value": false
  40. },
  41. "machine_nozzle_size": {
  42. "default_value": 0.4
  43. },
  44. "machine_nozzle_heat_up_speed": {
  45. "default_value": 3.5
  46. },
  47. "machine_nozzle_cool_down_speed": {
  48. "default_value": 1.5
  49. },
  50. "machine_min_cool_heat_time_window":
  51. {
  52. "default_value": 15.0
  53. },
  54. "machine_show_variants": {
  55. "default_value": true
  56. },
  57. "machine_nozzle_head_distance": {
  58. "default_value": 5
  59. },
  60. "machine_heat_zone_length": {
  61. "default_value": 20
  62. },
  63. "machine_heated_bed": {
  64. "default_value": true
  65. },
  66. "speed_infill": {
  67. "value": "speed_print"
  68. },
  69. "speed_wall_x": {
  70. "value": "speed_wall"
  71. },
  72. "layer_height_0": {
  73. "value": "round(machine_nozzle_size / 1.5, 2)"
  74. },
  75. "line_width": {
  76. "value": "round(machine_nozzle_size * 0.875, 2)"
  77. },
  78. "speed_support": {
  79. "value": "speed_wall_0"
  80. },
  81. "machine_max_feedrate_x": {
  82. "default_value": 250
  83. },
  84. "machine_max_feedrate_y": {
  85. "default_value": 250
  86. },
  87. "machine_max_feedrate_z": {
  88. "default_value": 40
  89. },
  90. "machine_max_feedrate_e": {
  91. "default_value": 45
  92. },
  93. "machine_acceleration": {
  94. "default_value": 3000
  95. },
  96. "retraction_amount": {
  97. "default_value": 5.1
  98. },
  99. "retraction_speed": {
  100. "default_value": 25
  101. },
  102. "switch_extruder_retraction_amount": {
  103. "value": "retraction_amount",
  104. "enabled": false
  105. },
  106. "switch_extruder_retraction_speeds": {
  107. "value": "retraction_speed",
  108. "enabled": false
  109. },
  110. "switch_extruder_retraction_speed": {
  111. "value": "retraction_retract_speed",
  112. "enabled": false
  113. },
  114. "switch_extruder_prime_speed": {
  115. "value": "retraction_prime_speed",
  116. "enabled": false
  117. },
  118. "machine_head_with_fans_polygon":
  119. {
  120. "default_value": [
  121. [ -44, 14 ],
  122. [ -44, -34 ],
  123. [ 64, 14 ],
  124. [ 64, -34 ]
  125. ]
  126. },
  127. "machine_use_extruder_offset_to_offset_coords": {
  128. "default_value": false
  129. },
  130. "machine_gcode_flavor": {
  131. "default_value": "RepRap (Marlin/Sprinter)"
  132. },
  133. "machine_start_gcode" : {
  134. "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\""
  135. },
  136. "machine_end_gcode" : {
  137. "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\""
  138. },
  139. "machine_extruder_count": {
  140. "default_value": 2
  141. },
  142. "acceleration_enabled":
  143. {
  144. "default_value": true
  145. },
  146. "acceleration_print":
  147. {
  148. "value": "2000"
  149. },
  150. "acceleration_travel":
  151. {
  152. "value": "acceleration_print if magic_spiralize else 3000"
  153. },
  154. "acceleration_layer_0": { "value": "acceleration_topbottom" },
  155. "acceleration_prime_tower": { "value": "math.ceil(acceleration_print * 2000 / 4000)" },
  156. "acceleration_support": { "value": "math.ceil(acceleration_print * 2000 / 4000)" },
  157. "acceleration_support_interface": { "value": "acceleration_topbottom" },
  158. "acceleration_topbottom": { "value": "math.ceil(acceleration_print * 500 / 4000)" },
  159. "acceleration_wall": { "value": "math.ceil(acceleration_print * 1000 / 4000)" },
  160. "acceleration_wall_0": { "value": "math.ceil(acceleration_wall * 500 / 1000)" },
  161. "jerk_enabled":
  162. {
  163. "default_value": true
  164. },
  165. "jerk_print":
  166. {
  167. "default_value": 12
  168. },
  169. "jerk_travel":
  170. {
  171. "value": "jerk_print if magic_spiralize else 20"
  172. },
  173. "jerk_layer_0": { "value": "jerk_topbottom" },
  174. "jerk_prime_tower": { "value": "10 if jerk_print < 16 else math.ceil(jerk_print * 15 / 25)" },
  175. "jerk_support": { "value": "10 if jerk_print < 16 else math.ceil(jerk_print * 15 / 25)" },
  176. "jerk_support_interface": { "value": "jerk_topbottom" },
  177. "jerk_topbottom": { "value": "10 if jerk_print < 25 else math.ceil(jerk_print * 10 / 25)" },
  178. "jerk_wall": { "value": "10 if jerk_print < 16 else math.ceil(jerk_print * 15 / 25)" },
  179. "jerk_wall_0": { "value": "10 if jerk_wall < 16 else math.ceil(jerk_wall * 6 / 10)" },
  180. "jerk_travel_layer_0": { "value": "math.ceil(jerk_layer_0 * jerk_travel / jerk_print)" },
  181. "extruder_prime_pos_abs": { "default_value": false },
  182. "extruder_prime_pos_x": { "default_value": 0.0, "enabled": false },
  183. "extruder_prime_pos_y": { "default_value": 0.0, "enabled": false },
  184. "extruder_prime_pos_z": { "default_value": 0.0, "enabled": false },
  185. "layer_start_x":
  186. {
  187. "default_value": 105.0,
  188. "enabled": false
  189. },
  190. "layer_start_y":
  191. {
  192. "default_value": 27.0,
  193. "enabled": false
  194. },
  195. "prime_tower_position_x": {
  196. "value": "185"
  197. },
  198. "prime_tower_position_y": {
  199. "value": "160"
  200. },
  201. "machine_disallowed_areas": {
  202. "default_value": [
  203. [[-115, 112.5], [ -10, 112.5], [ -10, 72.5], [-115, 72.5]],
  204. [[ 115, 112.5], [ 115, 72.5], [ 15, 72.5], [ 15, 112.5]],
  205. [[-115, -112.5], [-115, -87.5], [ 115, -87.5], [ 115, -112.5]],
  206. [[-115, 72.5], [-97, 72.5], [-97, -112.5], [-115, -112.5]]
  207. ]
  208. }
  209. }
  210. }