{
    "id": "rostockmax",
    "version": 1, 
    "name": "RostockMaxV2",
    "manufacturer": "SeemeCNC",
    "author": "greyghost",
    "platform": "rostockmaxv2.stl",
    "file_formats": "text/x-gcode",
    "inherits": "fdmprinter.json",

    "machine_settings": {

        "machine_width": { "default": 280 },
        "machine_depth": { "default": 280 },
        "machine_height": { "default": 350 },
        "machine_heated_bed": { "default": true },

        "machine_nozzle_size": { "default": 0.4},
        "machine_nozzle_heat_up_speed": { "default": 2.0 },
        "machine_nozzle_cool_down_speed": { "default": 2.0 },
        "machine_head_shape_min_x": { "default": 0 },
        "machine_head_shape_min_y": { "default": 0 },
        "machine_head_shape_max_x": { "default": 0 },
        "machine_head_shape_max_y": { "default": 0 },
        "machine_nozzle_gantry_distance": { "default": 0 },
        "machine_gcode_flavor": { "default": "RepRap (Marlin/Sprinter)" },
        "machine_disallowed_areas": {"default": [[[140.0, 140.0], [140.0, 0.0], [135.22961568046955, 36.23466631435291]], [[-140.0, 140.0], [-140.0, 0.0], [-135.22961568046955, 36.23466631435291]], [[140.0, -140.0], [140.0, -0.0], [135.22961568046955, -36.23466631435291]], [[-140.0, -140.0], [-140.0, -0.0], [-135.22961568046955, -36.23466631435291]], [[140.0, 140.0], [135.22961568046955, 36.23466631435291], [121.24355652982142, 69.99999999999999]], [[-140.0, 140.0], [-135.22961568046955, 36.23466631435291], [-121.24355652982142, 69.99999999999999]], [[140.0, -140.0], [135.22961568046955, -36.23466631435291], [121.24355652982142, -69.99999999999999]], [[-140.0, -140.0], [-135.22961568046955, -36.23466631435291], [-121.24355652982142, -69.99999999999999]], [[140.0, 140.0], [121.24355652982142, 69.99999999999999], [98.99494936611666, 98.99494936611664]], [[-140.0, 140.0], [-121.24355652982142, 69.99999999999999], [-98.99494936611666, 98.99494936611664]], [[140.0, -140.0], [121.24355652982142, -69.99999999999999], [98.99494936611666, -98.99494936611664]], [[-140.0, -140.0], [-121.24355652982142, -69.99999999999999], [-98.99494936611666, -98.99494936611664]], [[140.0, 140.0], [98.99494936611666, 98.99494936611664], [70.00000000000001, 121.2435565298214]], [[-140.0, 140.0], [-98.99494936611666, 98.99494936611664], [-70.00000000000001, 121.2435565298214]], [[140.0, -140.0], [98.99494936611666, -98.99494936611664], [70.00000000000001, -121.2435565298214]], [[-140.0, -140.0], [-98.99494936611666, -98.99494936611664], [-70.00000000000001, -121.2435565298214]], [[140.0, 140.0], [70.00000000000001, 121.2435565298214], [36.234666314352936, 135.22961568046955]], [[-140.0, 140.0], [-70.00000000000001, 121.2435565298214], [-36.234666314352936, 135.22961568046955]], [[140.0, -140.0], [70.00000000000001, -121.2435565298214], [36.234666314352936, -135.22961568046955]], [[-140.0, -140.0], [-70.00000000000001, -121.2435565298214], [-36.234666314352936, -135.22961568046955]], [[140.0, 140.0], [36.234666314352936, 135.22961568046955], [8.572527594031473e-15, 140.0]], [[-140.0, 140.0], [-36.234666314352936, 135.22961568046955], [-8.572527594031473e-15, 140.0]], [[140.0, -140.0], [36.234666314352936, -135.22961568046955], [8.572527594031473e-15, -140.0]], [[-140.0, -140.0], [-36.234666314352936, -135.22961568046955], [-8.572527594031473e-15, -140.0]]]},
		
        "machine_start_gcode": {"default": ";Sliced at: {day} {date} {time}\nBasic settings: Layer height: {layer_height} Walls: {wall_thickness} Fill: {infill_sparse_density}\nPrint time: {print_time}\nFilament used: {filament_amount}m {filament_weight}g\nFilament cost: {filament_cost}\nG28 ; Home extruder\nM107 ; Turn off fan\nG90 ; Absolute positioning\nM82 ; Extruder in absolute mode\n{IF_EXT0}M104 S{TEMP0} ; EXTRUDER TEMP\n{IF_BED}M190 S{BED} ; BED TEMP\n{IF_EXT0}M109 S{TEMP0} ; EXTRUDER TEMP\nG28 ; HOME\nM117 HEATING ELEMENTS\n; BEGINNING OF HEAD MOVEMENT WARNING TONES\nM120 S4 P10\nG4 P40\nM120 S4 P10\nG4 P40\nM120 S4 P10\nG4 P40\nM120 S4 P10\nG4 P40\nM120 S4 P10\nG4 P40\nM117 KEEP HANDS AWAY\nG4 S3\n; END OF HEAD WARNING TONES\n;Put printing message on LCD screen\nM117 Rostock Printing..."

        },
        "machine_end_gcode": {
            "default": ";End GCode\nM104 S0 ;extruder heater off\nM140 S0 ;heated bed heater off (if you have it)\nG91 ;relative positioning\nG1 E-1 F300 ;retract the filament a bit before lifting the nozzle, to release some of the pressure\nG1 Z+10 E-5 F12000 ;move Z up a bit and retract filament even more\nG90 ;absolute positioning\nG28 X0 Y0 ;move X/Y to min endstops, so the head is out of the way\n;G1 Y230 F3000 ;move Y so the head is out of the way and Plate is moved forward\nM84 ;steppers off\n;G90 ;absolute positioning\n;{profile_string}"
        },
        "machine_pause_gcode": {"default":"Pause GCode\nG91\nG1 Z10 E-10 F12000\nG90\n"
        },
         "machine_resume_gcode": {"default":"Resume GCode\nM104 S0\nM140 S0\nG28\nM4\n"
        }
    },

    "overrides": { 
        "layer_height": { "default": 0.2 },
        "wall_thickness": { "default": 0.8 },
        "top_bottom_thickness": { "default": 0.3, "visible": true },
        "material_print_temperature": { "default": 195, "visible": true },
        "material_bed_temperature": { "default": 60, "visible": true },
        "material_diameter": { "default": 1.75, "visible": true },
        "retraction_enable": { "default": true, "always_visible": true},
        "retraction_speed": { "default": 50.0, "visible": true },
        "retraction_amount": { "default": 2.5, "visible": true },
        "retraction_hop": { "default": 0.075, "visible": true },
        "speed_print": { "default": 60.0, "visible": true, "max_value_warning": "120"},
        "speed_infill": { "default": 40.0, "visible": true },
        "speed_topbottom": { "default": 15.0, "visible": true },
        "speed_travel": { "default": 120.0, "visible": true, "max_value_warning": "140" },
        "speed_layer_0": { "min_value": "0.1", "default": 15.0, "visible": true },
        "infill_overlap": { "default": 10.0 },
        "cool_fan_enabled": { "default": false, "visible": true},
        "cool_fan_speed": { "default": 0.0, "visible": true },
        "skirt_line_count": { "default": 3, "active_if": { "setting": "adhesion_type", "value": "None" } },
        "skirt_gap": { "default": 4.0, "active_if": { "setting": "adhesion_type", "value": "None" } },
        "skirt_minimal_length": { "default": 200.0, "active_if": { "setting": "adhesion_type", "value": "None" } }
    }
}
