mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-10-10 15:27:53 -06:00
Initial LegacyProfileReader plugin implementation
This plugin reads a profile from legacy Cura versions. It hasn't been tested much except that there are no syntax errors. It is currently being blocked by issue 34. Contributes to issue CURA-37.
This commit is contained in:
parent
9671ae3c74
commit
513941097f
3 changed files with 186 additions and 0 deletions
75
plugins/LegacyProfileReader/DictionaryOfDoom.json
Normal file
75
plugins/LegacyProfileReader/DictionaryOfDoom.json
Normal file
|
@ -0,0 +1,75 @@
|
|||
{
|
||||
"source_version": "15.04",
|
||||
"target_version": "2.1",
|
||||
|
||||
"translation": {
|
||||
"line_width": "nozzle_size",
|
||||
"layer_height": "layer_height",
|
||||
"layer_height_0": "bottom_thickness",
|
||||
"shell_thickness": "wall_thickness",
|
||||
"top_bottom_thickness": "solid_layer_thickness",
|
||||
"top_thickness": "solid_top",
|
||||
"bottom_thickness": "solid_bottom",
|
||||
"skin_no_small_gaps_heuristic": "fix_horrible_extensive_stitching",
|
||||
"infill_sparse_density": "fill_density",
|
||||
"infill_overlap": "fill_overlap",
|
||||
"infill_before_walls": "perimeter_before_infill",
|
||||
"material_print_temperature": "print_temperature",
|
||||
"material_bed_temperature": "print_bed_temperature",
|
||||
"material_diameter": "filament_diameter",
|
||||
"material_flow": "filament_flow",
|
||||
"retraction_enable": "retraction_enable",
|
||||
"retraction_amount": "retraction_amount",
|
||||
"retraction_speed": "retraction_speed",
|
||||
"retraction_min_travel": "retraction_min_travel",
|
||||
"retraction_hop": "retraction_hop",
|
||||
"speed_print": "print_speed",
|
||||
"speed_infill": "infill_speed",
|
||||
"speed_wall_0": "inset0_speed",
|
||||
"speed_wall_x": "insetx_speed",
|
||||
"speed_topbottom": "solidarea_speed",
|
||||
"speed_travel": "travel_speed",
|
||||
"speed_layer_0": "bottom_layer_speed",
|
||||
"retraction_combing": "retraction_combing",
|
||||
"cool_fan_enabled": "fan_enabled",
|
||||
"cool_fan_speed_min": "fan_speed",
|
||||
"cool_fan_speed_max": "fan_speed_max",
|
||||
"cool_fan_full_at_height": "fan_full_height",
|
||||
"cool_min_layer_time": "cool_min_layer_time",
|
||||
"cool_min_speed": "cool_min_feedrate",
|
||||
"cool_lift_head": "cool_head_lift",
|
||||
"support_enable": "support == \"None\" ? False : True",
|
||||
"support_type": "support == \"Touching buildplate\" ? \"buildplate\" : \"everywhere\"",
|
||||
"support_angle": "support_angle",
|
||||
"support_xy_distance": "support_xy_distance",
|
||||
"support_z_distance": "support_z_distance",
|
||||
"support_pattern": "support_type.lower()",
|
||||
"support_infill_rate": "support_fill_rate",
|
||||
"platform_adhesion": "platform_adhesion.lower()",
|
||||
"skirt_line_count": "skirt_line_count",
|
||||
"skirt_gap": "skirt_gap",
|
||||
"skirt_minimal_length": "skirt_minimal_length",
|
||||
"brim_line_count": "brim_line_count",
|
||||
"raft_margin": "raft_margin",
|
||||
"raft_airgap": "raft_airgap_all",
|
||||
"raft_surface_layers": "raft_surface_layers",
|
||||
"raft_surface_thickness": "raft_surface_thickness",
|
||||
"raft_surface_line_width": "raft_surface_linewidth",
|
||||
"raft_surface_line_spacing": "raft_line_spacing",
|
||||
"raft_interface_thickness": "raft_interface_thickness",
|
||||
"raft_interface_line_width": "raft_interface_linewidth",
|
||||
"raft_interface_line_spacing": "raft_line_spacing",
|
||||
"raft_base_thickness": "raft_base_thickness",
|
||||
"raft_base_line_width": "raft_base_linewidth",
|
||||
"raft_base_line_spacing": "raft_line_spacing",
|
||||
"meshfix_union_all": "fix_horrible_union_all_type_a",
|
||||
"meshfix_union_all_remove_holes": "fix_horrible_union_all_type_b",
|
||||
"meshfix_extensive_stitching": "fix_horrible_extensive_stitching",
|
||||
"meshfix_keep_open_polygons": "fix_horrible_use_open_bits",
|
||||
"magic_mesh_surface_mode": "simple_mode",
|
||||
"magic_spiralize": "spiralize",
|
||||
"prime_tower_enable": "wipe_tower",
|
||||
"prime_tower_size": "sqrt(wipe_tower_volume / layer_height)",
|
||||
"ooze_shield_enabled": "ooze_shield"
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue