Mark2_for_Ultimaker2.def.json 7.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203
  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_wall_x": {
  67. "value": "speed_wall"
  68. },
  69. "layer_height_0": {
  70. "value": "round(machine_nozzle_size / 1.5, 2)"
  71. },
  72. "line_width": {
  73. "value": "round(machine_nozzle_size * 0.875, 2)"
  74. },
  75. "speed_support": {
  76. "value": "speed_wall_0"
  77. },
  78. "machine_max_feedrate_x": {
  79. "default_value": 250
  80. },
  81. "machine_max_feedrate_y": {
  82. "default_value": 250
  83. },
  84. "machine_max_feedrate_z": {
  85. "default_value": 40
  86. },
  87. "machine_max_feedrate_e": {
  88. "default_value": 45
  89. },
  90. "machine_acceleration": {
  91. "default_value": 3000
  92. },
  93. "retraction_amount": {
  94. "default_value": 5.1
  95. },
  96. "retraction_speed": {
  97. "default_value": 25
  98. },
  99. "switch_extruder_retraction_amount": {
  100. "value": "retraction_amount",
  101. "enabled": false
  102. },
  103. "switch_extruder_retraction_speeds": {
  104. "value": "retraction_speed",
  105. "enabled": false
  106. },
  107. "switch_extruder_retraction_speed": {
  108. "value": "retraction_retract_speed",
  109. "enabled": false
  110. },
  111. "switch_extruder_prime_speed": {
  112. "value": "retraction_prime_speed",
  113. "enabled": false
  114. },
  115. "machine_head_with_fans_polygon":
  116. {
  117. "default_value": [
  118. [ -44, 14 ],
  119. [ -44, -34 ],
  120. [ 64, 14 ],
  121. [ 64, -34 ]
  122. ]
  123. },
  124. "machine_use_extruder_offset_to_offset_coords": {
  125. "default_value": false
  126. },
  127. "machine_gcode_flavor": {
  128. "default_value": "RepRap (Marlin/Sprinter)"
  129. },
  130. "machine_start_gcode" : {
  131. "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\""
  132. },
  133. "machine_end_gcode" : {
  134. "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\""
  135. },
  136. "machine_extruder_count": {
  137. "default_value": 2
  138. },
  139. "acceleration_enabled":
  140. {
  141. "default_value": true
  142. },
  143. "acceleration_print":
  144. {
  145. "value": "2000"
  146. },
  147. "acceleration_travel":
  148. {
  149. "value": "acceleration_print if magic_spiralize else 3000"
  150. },
  151. "acceleration_layer_0": { "value": "acceleration_topbottom" },
  152. "acceleration_prime_tower": { "value": "math.ceil(acceleration_print * 2000 / 4000)" },
  153. "acceleration_support": { "value": "math.ceil(acceleration_print * 2000 / 4000)" },
  154. "acceleration_support_interface": { "value": "acceleration_topbottom" },
  155. "acceleration_topbottom": { "value": "math.ceil(acceleration_print * 500 / 4000)" },
  156. "acceleration_wall": { "value": "math.ceil(acceleration_print * 1000 / 4000)" },
  157. "acceleration_wall_0": { "value": "math.ceil(acceleration_wall * 500 / 1000)" },
  158. "jerk_enabled":
  159. {
  160. "default_value": true
  161. },
  162. "jerk_travel":
  163. {
  164. "value": "jerk_print if magic_spiralize else 20"
  165. },
  166. "jerk_layer_0": { "value": "jerk_topbottom" },
  167. "jerk_prime_tower": { "value": "10 if jerk_print < 16 else math.ceil(jerk_print * 15 / 25)" },
  168. "jerk_support": { "value": "10 if jerk_print < 16 else math.ceil(jerk_print * 15 / 25)" },
  169. "jerk_support_interface": { "value": "jerk_topbottom" },
  170. "jerk_topbottom": { "value": "10 if jerk_print < 25 else math.ceil(jerk_print * 10 / 25)" },
  171. "jerk_wall": { "value": "10 if jerk_print < 16 else math.ceil(jerk_print * 15 / 25)" },
  172. "jerk_wall_0": { "value": "10 if jerk_wall < 16 else math.ceil(jerk_wall * 6 / 10)" },
  173. "jerk_travel_layer_0": { "value": "math.ceil(jerk_layer_0 * jerk_travel / jerk_print)" },
  174. "extruder_prime_pos_abs": { "default_value": false },
  175. "extruder_prime_pos_x": { "default_value": 0.0, "enabled": false },
  176. "extruder_prime_pos_y": { "default_value": 0.0, "enabled": false },
  177. "extruder_prime_pos_z": { "default_value": 0.0, "enabled": false },
  178. "layer_start_x":
  179. {
  180. "default_value": 105.0,
  181. "enabled": false
  182. },
  183. "layer_start_y":
  184. {
  185. "default_value": 27.0,
  186. "enabled": false
  187. },
  188. "prime_tower_position_x": {
  189. "value": "185"
  190. },
  191. "prime_tower_position_y": {
  192. "value": "160"
  193. },
  194. "machine_disallowed_areas": {
  195. "default_value": [
  196. [[-115, 112.5], [ -10, 112.5], [ -10, 72.5], [-115, 72.5]],
  197. [[ 115, 112.5], [ 115, 72.5], [ 15, 72.5], [ 15, 112.5]],
  198. [[-115, -112.5], [-115, -87.5], [ 115, -87.5], [ 115, -112.5]],
  199. [[-115, 72.5], [-97, 72.5], [-97, -112.5], [-115, -112.5]]
  200. ]
  201. }
  202. }
  203. }