DictionaryOfDoom.json 8.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158
  1. {
  2. "source_version": "15.04",
  3. "target_version": 2,
  4. "translation": {
  5. "machine_nozzle_size": "nozzle_size",
  6. "line_width": "wall_thickness if (spiralize == \"True\" or simple_mode == \"True\") else (nozzle_size if (float(wall_thickness) < 0.01) else (wall_thickness if (float(wall_thickness) < float(nozzle_size)) else (nozzle_size if ((int(float(wall_thickness) / (float(nozzle_size) - 0.0001))) == 0) else ((float(wall_thickness) / ((int(float(wall_thickness) / (float(nozzle_size) - 0.0001))) + 1)) if ((float(wall_thickness) / (int(float(wall_thickness) / (float(nozzle_size) - 0.0001)))) > float(nozzle_size) * 1.5) else ((float(wall_thickness) / (int(float(wall_thickness) / (float(nozzle_size) - 0.0001)))))))))",
  7. "layer_height": "layer_height",
  8. "layer_height_0": "bottom_thickness",
  9. "wall_thickness": "wall_thickness",
  10. "top_thickness": "0 if (solid_top == \"False\") else solid_layer_thickness",
  11. "bottom_thickness": "0 if (solid_bottom == \"False\") else solid_layer_thickness",
  12. "infill_sparse_density": "fill_density",
  13. "infill_overlap": "fill_overlap",
  14. "infill_before_walls": "False if (perimeter_before_infill == \"True\") else True",
  15. "material_print_temperature": "print_temperature",
  16. "material_bed_temperature": "print_bed_temperature",
  17. "material_diameter": "filament_diameter",
  18. "material_flow": "filament_flow",
  19. "retraction_enable": "retraction_enable",
  20. "retraction_amount": "retraction_amount",
  21. "retraction_speed": "retraction_speed",
  22. "retraction_min_travel": "retraction_min_travel",
  23. "retraction_hop_enabled": "retraction_hop != 0",
  24. "speed_print": "print_speed",
  25. "speed_infill": "infill_speed if (float(infill_speed) != 0) else print_speed",
  26. "speed_wall_0": "inset0_speed if (float(inset0_speed) != 0) else print_speed",
  27. "speed_wall_x": "insetx_speed if (float(insetx_speed) != 0) else print_speed",
  28. "speed_topbottom": "solidarea_speed if (float(solidarea_speed) != 0) else print_speed",
  29. "speed_travel": "travel_speed if (float(travel_speed) != 0) else travel_speed",
  30. "speed_layer_0": "bottom_layer_speed",
  31. "retraction_combing": "\"all\" if retraction_combing == \"All\" else \"noskin\" if retraction_combing == \"No Skin\" else \"off\"",
  32. "cool_fan_enabled": "fan_enabled",
  33. "cool_fan_speed_min": "fan_speed",
  34. "cool_fan_speed_max": "fan_speed_max",
  35. "cool_fan_full_at_height": "fan_full_height",
  36. "cool_min_layer_time": "cool_min_layer_time",
  37. "cool_min_speed": "cool_min_feedrate",
  38. "cool_lift_head": "cool_head_lift",
  39. "support_enable": "False if (support == \"None\") else True",
  40. "support_type": "\"buildplate\" if (support == \"Touching buildplate\") else \"everywhere\"",
  41. "support_angle": "support_angle",
  42. "support_xy_distance": "support_xy_distance",
  43. "support_z_distance": "support_z_distance",
  44. "support_pattern": "support_type.lower()",
  45. "support_infill_rate": "support_fill_rate",
  46. "adhesion_type": "\"skirt\" if (platform_adhesion == \"None\") else platform_adhesion.lower()",
  47. "skirt_line_count": "skirt_line_count",
  48. "skirt_gap": "skirt_gap",
  49. "skirt_brim_minimal_length": "skirt_minimal_length",
  50. "brim_line_count": "brim_line_count",
  51. "raft_margin": "raft_margin",
  52. "raft_airgap": "float(raft_airgap_all) + float(raft_airgap)",
  53. "layer_0_z_overlap": "raft_airgap",
  54. "raft_surface_layers": "raft_surface_layers",
  55. "raft_surface_thickness": "raft_surface_thickness",
  56. "raft_surface_line_width": "raft_surface_linewidth",
  57. "raft_surface_line_spacing": "raft_line_spacing",
  58. "raft_interface_thickness": "raft_interface_thickness",
  59. "raft_interface_line_width": "raft_interface_linewidth",
  60. "raft_interface_line_spacing": "raft_line_spacing",
  61. "raft_base_thickness": "raft_base_thickness",
  62. "raft_base_line_width": "raft_base_linewidth",
  63. "raft_base_line_spacing": "raft_line_spacing",
  64. "meshfix_union_all": "fix_horrible_union_all_type_a",
  65. "meshfix_union_all_remove_holes": "fix_horrible_union_all_type_b",
  66. "meshfix_extensive_stitching": "fix_horrible_extensive_stitching",
  67. "meshfix_keep_open_polygons": "fix_horrible_use_open_bits",
  68. "magic_mesh_surface_mode": "\"surface\" if simple_mode else \"normal\"",
  69. "magic_spiralize": "spiralize",
  70. "prime_tower_enable": "wipe_tower",
  71. "prime_tower_size": "math.sqrt(float(wipe_tower_volume) / float(layer_height))",
  72. "ooze_shield_enabled": "ooze_shield",
  73. "skin_overlap": "fill_overlap"
  74. },
  75. "defaults": {
  76. "bottom_layer_speed": "20",
  77. "bottom_thickness": "0.3",
  78. "brim_line_count": "20",
  79. "cool_head_lift": "False",
  80. "cool_min_feedrate": "10",
  81. "cool_min_layer_time": "5",
  82. "fan_enabled": "True",
  83. "fan_full_height": "0.5",
  84. "fan_speed": "100",
  85. "fan_speed_max": "100",
  86. "filament_diameter": "2.85",
  87. "filament_diameter2": "0",
  88. "filament_diameter3": "0",
  89. "filament_diameter4": "0",
  90. "filament_diameter5": "0",
  91. "filament_flow": "100.0",
  92. "fill_density": "20",
  93. "fill_overlap": "15",
  94. "fix_horrible_extensive_stitching": "False",
  95. "fix_horrible_union_all_type_a": "True",
  96. "fix_horrible_union_all_type_b": "False",
  97. "fix_horrible_use_open_bits": "False",
  98. "infill_speed": "0.0",
  99. "inset0_speed": "0.0",
  100. "insetx_speed": "0.0",
  101. "layer_height": "0.1",
  102. "layer0_width_factor": "100",
  103. "nozzle_size": "0.4",
  104. "object_sink": "0.0",
  105. "ooze_shield": "False",
  106. "overlap_dual": "0.15",
  107. "perimeter_before_infill": "False",
  108. "platform_adhesion": "None",
  109. "print_bed_temperature": "70",
  110. "print_speed": "50",
  111. "print_temperature": "210",
  112. "print_temperature2": "0",
  113. "print_temperature3": "0",
  114. "print_temperature4": "0",
  115. "print_temperature5": "0",
  116. "raft_airgap": "0.22",
  117. "raft_airgap_all": "0.0",
  118. "raft_base_linewidth": "1.0",
  119. "raft_base_thickness": "0.3",
  120. "raft_interface_linewidth": "0.4",
  121. "raft_interface_thickness": "0.27",
  122. "raft_line_spacing": "3.0",
  123. "raft_margin": "5.0",
  124. "raft_surface_layers": "2",
  125. "raft_surface_linewidth": "0.4",
  126. "raft_surface_thickness": "0.27",
  127. "retraction_amount": "4.5",
  128. "retraction_combing": "All",
  129. "retraction_dual_amount": "16.5",
  130. "retraction_enable": "True",
  131. "retraction_hop": "0.0",
  132. "retraction_min_travel": "1.5",
  133. "retraction_minimal_extrusion": "0.02",
  134. "retraction_speed": "40.0",
  135. "simple_mode": "False",
  136. "skirt_gap": "3.0",
  137. "skirt_line_count": "1",
  138. "skirt_minimal_length": "150.0",
  139. "solid_bottom": "True",
  140. "solid_layer_thickness": "0.6",
  141. "solid_top": "True",
  142. "solidarea_speed": "0.0",
  143. "spiralize": "False",
  144. "support": "None",
  145. "support_angle": "60",
  146. "support_dual_extrusion": "Both",
  147. "support_fill_rate": "15",
  148. "support_type": "Lines",
  149. "support_xy_distance": "0.7",
  150. "support_z_distance": "0.15",
  151. "travel_speed": "150.0",
  152. "wall_thickness": "0.8",
  153. "wipe_tower": "False",
  154. "wipe_tower_volume": "15"
  155. }
  156. }