{
    "version": 2,
    "name": "Ultimaker 3",
    "inherits": "ultimaker",
    "metadata": {
        "author": "Ultimaker",
        "manufacturer": "Ultimaker B.V.",
        "visible": true,
        "file_formats": "text/x-gcode",
        "platform": "ultimaker3_platform.obj",
        "platform_texture": "Ultimaker3backplate.png",
        "platform_offset": [0, 0, 0],
        "has_machine_quality": true,
        "has_materials": true,
        "has_machine_materials": true,
        "has_variant_materials": true,
        "has_variants": true,
        "preferred_variant": "*aa04*",
        "preferred_quality": "*Normal*",
        "variants_name": "Print core",
        "machine_extruder_trains":
        {
            "0": "ultimaker3_extruder_left",
            "1": "ultimaker3_extruder_right"
        },
        "first_start_actions": [ "DiscoverUM3Action" ],
        "supported_actions": [ "DiscoverUM3Action" ],
        "supports_usb_connection": false
    },



    "overrides": {
        "machine_name": { "default_value": "Ultimaker 3" },
        "machine_width": { "default_value": 233 },
        "machine_depth": { "default_value": 215 },
        "machine_height": { "default_value": 200 },
        "machine_heated_bed": { "default_value": true },
        "machine_filament_park_distance": { "value": "machine_heat_zone_length + 26.5" },
        "machine_nozzle_heat_up_speed": { "default_value": 1.4 },
        "machine_nozzle_cool_down_speed": { "default_value": 0.8 },
        "machine_head_with_fans_polygon":
        {
            "default_value":
            [
                [ -29, 6.1 ],
                [ -29, -33.9 ],
                [ 71, 6.1 ],
                [ 71, -33.9 ]
            ]
        },
        "machine_gcode_flavor": { "default_value": "Griffin" },
        "machine_max_feedrate_x": { "default_value": 300 },
        "machine_max_feedrate_y": { "default_value": 300 },
        "machine_max_feedrate_z": { "default_value": 40 },
        "machine_acceleration": { "default_value": 3000 },
        "gantry_height": { "default_value": 60 },
        "machine_disallowed_areas": { "default_value": [
            [[92.8, -53.4], [92.8, -97.5], [116.5, -97.5], [116.5, -53.4]],
            [[73.8, 107.5], [73.8, 100.5], [116.5, 100.5], [116.5, 107.5]],
            [[74.6, 107.5], [74.6, 100.5], [116.5, 100.5], [116.5, 107.5]],
            [[74.9, -97.5], [74.9, -107.5], [116.5, -107.5], [116.5, -97.5]],
            [[-116.5, -103.5], [-116.5, -107.5], [-100.9, -107.5], [-100.9, -103.5]],
            [[-116.5, 105.8], [-96.9, 105.8], [-96.9, 107.5], [-116.5, 107.5]]
        ]},
        "machine_extruder_count": { "default_value": 2 },
        "extruder_prime_pos_abs": { "default_value": true },
        "machine_start_gcode": { "default_value": "" },
        "machine_end_gcode": { "default_value": "G91 ;Relative movement\nG0 F15000 X8.0 Z0.5 E-4.5 ;Wiping+material retraction\nG0 F10000 Z1.5 E4.5 ;Compensation for the retraction\nG90 ;Disable relative movement" },
        "prime_tower_position_x": { "value": "machine_depth - max(extruderValue(adhesion_extruder_nr, 'brim_width') * extruderValue(adhesion_extruder_nr, 'initial_layer_line_width_factor') / 100 if adhesion_type == 'brim' else (extruderValue(adhesion_extruder_nr, 'raft_margin') if adhesion_type == 'raft' else (extruderValue(adhesion_extruder_nr, 'skirt_gap') if adhesion_type == 'skirt' else 0)), max(extruderValues('travel_avoid_distance'))) - max(extruderValues('support_offset')) - sum(extruderValues('skirt_brim_line_width')) - 30" },
        "prime_tower_wipe_enabled": { "default_value": false },

        "prime_blob_enable": { "enabled": true },

        "acceleration_enabled": { "value": "True" },
        "acceleration_layer_0": { "value": "acceleration_topbottom" },
        "acceleration_prime_tower": { "value": "math.ceil(acceleration_print * 2000 / 4000)" },
        "acceleration_print": { "value": "4000" },
        "acceleration_support": { "value": "math.ceil(acceleration_print * 2000 / 4000)" },
        "acceleration_support_interface": { "value": "acceleration_topbottom" },
        "acceleration_topbottom": { "value": "math.ceil(acceleration_print * 500 / 4000)" },
        "acceleration_wall": { "value": "math.ceil(acceleration_print * 1000 / 4000)" },
        "acceleration_wall_0": { "value": "math.ceil(acceleration_wall * 500 / 1000)" },
        "brim_width": { "value": "3" },
        "cool_fan_full_at_height": { "value": "layer_height_0 + 4 * layer_height" },
        "cool_fan_speed": { "value": "50" },
        "cool_fan_speed_max": { "value": "100" },
        "cool_min_speed": { "value": "5" },
        "infill_line_width": { "value": "round(line_width * 0.5 / 0.35, 2)" },
        "infill_overlap": { "value": "0" },
        "infill_pattern": { "value": "'triangles'" },
        "infill_wipe_dist": { "value": "0" },
        "jerk_enabled": { "value": "True" },
        "jerk_layer_0": { "value": "jerk_topbottom" },
        "jerk_prime_tower": { "value": "math.ceil(jerk_print * 15 / 25)" },
        "jerk_print": { "value": "25" },
        "jerk_support": { "value": "math.ceil(jerk_print * 15 / 25)" },
        "jerk_support_interface": { "value": "jerk_topbottom" },
        "jerk_topbottom": { "value": "math.ceil(jerk_print * 5 / 25)" },
        "jerk_wall": { "value": "math.ceil(jerk_print * 10 / 25)" },
        "jerk_wall_0": { "value": "math.ceil(jerk_wall * 5 / 10)" },
        "layer_height_0": { "value": "round(machine_nozzle_size / 1.5, 2)" },
        "layer_start_x": { "value": "sum(extruderValues('machine_extruder_start_pos_x')) / len(extruderValues('machine_extruder_start_pos_x'))" },
        "layer_start_y": { "value": "sum(extruderValues('machine_extruder_start_pos_y')) / len(extruderValues('machine_extruder_start_pos_y'))" },
        "line_width": { "value": "round(machine_nozzle_size * 0.875, 3)" },
        "machine_min_cool_heat_time_window": { "value": "15" },
        "default_material_print_temperature": { "value": "200" },
        "material_print_temperature_layer_0": { "value": "material_print_temperature + 5" },
        "material_bed_temperature": { "maximum_value": "115" },
        "material_bed_temperature_layer_0": { "maximum_value": "115" },
        "material_standby_temperature": { "value": "100" },
        "multiple_mesh_overlap": { "value": "0" },
        "prime_tower_enable": { "default_value": true },
        "raft_airgap": { "value": "0" },
        "raft_base_thickness": { "value": "0.3" },
        "raft_interface_line_spacing": { "value": "0.5" },
        "raft_interface_line_width": { "value": "0.5" },
        "raft_interface_thickness": { "value": "0.2" },
        "raft_jerk": { "value": "jerk_layer_0" },
        "raft_margin": { "value": "10" },
        "raft_surface_layers": { "value": "1" },
        "retraction_amount": { "value": "2" },
        "retraction_count_max": { "value": "10" },
        "retraction_extrusion_window": { "value": "1" },
        "retraction_hop": { "value": "2" },
        "retraction_hop_enabled": { "value": "True" },
        "retraction_hop_only_when_collides": { "value": "True" },
        "retraction_min_travel": { "value": "5" },
        "retraction_prime_speed": { "value": "15" },
        "skin_overlap": { "value": "10" },
        "speed_layer_0": { "value": "20" },
        "speed_prime_tower": { "value": "speed_topbottom" },
        "speed_print": { "value": "35" },
        "speed_support": { "value": "speed_wall_0" },
        "speed_support_interface": { "value": "speed_topbottom" },
        "speed_topbottom": { "value": "math.ceil(speed_print * 20 / 35)" },
        "speed_travel": { "value": "250" },
        "speed_wall": { "value": "math.ceil(speed_print * 30 / 35)" },
        "speed_wall_0": { "value": "math.ceil(speed_wall * 20 / 30)" },
        "speed_wall_x": { "value": "speed_wall" },
        "support_angle": { "value": "45" },
        "support_pattern": { "value": "'triangles'" },
        "support_use_towers": { "value": "False" },
        "support_xy_distance": { "value": "wall_line_width_0 * 2.5" },
        "support_xy_distance_overhang": { "value": "wall_line_width_0" },
        "support_z_distance": { "value": "0" },
        "switch_extruder_prime_speed": { "value": "15" },
        "switch_extruder_retraction_amount": { "value": "8" },
        "top_bottom_thickness": { "value": "1" },
        "travel_avoid_distance": { "value": "3" },
        "wall_0_inset": { "value": "0" },
        "wall_line_width_x": { "value": "round(wall_line_width * 0.3 / 0.35, 2)" },
        "wall_thickness": { "value": "1" }
    }
}
