 {
    "name": "3DCloner G4 Base",
    "version": 2,
    "inherits": "fdmprinter",
    "metadata": {
        "visible": false,
        "author": "Indústria Schumacher LTDA.",
        "manufacturer": "3DCloner",
        "file_formats": "text/x-gcode",
        "first_start_actions": ["MachineSettingsAction"],

        "machine_extruder_trains": {
            "0": "3dcloner_g4_base_extruder_0"
        },

        "has_materials": true,
        "has_variants": true,
        "has_machine_quality": true,
        "variants_name": "Diâmetro do Nozzle",

        "preferred_variant_name": "0.5 mm",
        "preferred_quality_type": "standard",
        "preferred_material": "generic_abs",
        "exclude_materials": [
			"Vertex_Delta_ABS",
            "Vertex_Delta_PET",
            "Vertex_Delta_PLA",
            "Vertex_Delta_TPU",
            "chromatik_pla",
            "dsm_arnitel2045_175",
            "dsm_novamid1070_175",
            "fabtotum_abs",
            "fabtotum_nylon",
            "fabtotum_pla",
            "fabtotum_tpu",
            "fiberlogy_hd_pla",
            "filo3d_pla",
            "filo3d_pla_green",
            "filo3d_pla_red",
            "generic_abs",
            "generic_bam",
            "generic_cffcpe",
            "generic_cffpa",
            "generic_cpe",
            "generic_cpe_plus",
            "generic_gffcpe",
            "generic_gffpa",
            "generic_hips",
            "generic_nylon",
            "generic_pc",
            "generic_petg",
            "generic_pla",
            "generic_pp",
            "generic_pva",
            "generic_tough_pla",
            "generic_tpu",
            "imade3d_petg_green",
            "imade3d_petg_pink",
            "imade3d_pla_green",
            "imade3d_pla_pink",
            "innofill_innoflex60_175",
            "octofiber_pla",
            "polyflex_pla",
            "polymax_pla",
            "polyplus_pla",
            "polywood_pla",
            "structur3d_dap100silicone",
            "tizyx_abs",
            "tizyx_pla",
            "tizyx_pla_bois",
            "ultimaker_abs_black",
            "ultimaker_abs_blue",
            "ultimaker_abs_green",
            "ultimaker_abs_grey",
            "ultimaker_abs_orange",
            "ultimaker_abs_pearl-gold",
            "ultimaker_abs_red",
            "ultimaker_abs_silver-metallic",
            "ultimaker_abs_white",
            "ultimaker_abs_yellow",
            "ultimaker_bam",
            "ultimaker_cpe_black",
            "ultimaker_cpe_blue",
            "ultimaker_cpe_dark-grey",
            "ultimaker_cpe_green",
            "ultimaker_cpe_light-grey",
            "ultimaker_cpe_plus_black",
            "ultimaker_cpe_plus_transparent",
            "ultimaker_cpe_plus_white",
            "ultimaker_cpe_red",
            "ultimaker_cpe_transparent",
            "ultimaker_cpe_white",
            "ultimaker_cpe_yellow",
            "ultimaker_nylon_black",
            "ultimaker_nylon_transparent",
            "ultimaker_pc_black",
            "ultimaker_pc_transparent",
            "ultimaker_pc_white",
            "ultimaker_pla_black",
            "ultimaker_pla_blue",
            "ultimaker_pla_green",
            "ultimaker_pla_magenta",
            "ultimaker_pla_orange",
            "ultimaker_pla_pearl-white",
            "ultimaker_pla_red",
            "ultimaker_pla_silver-metallic",
            "ultimaker_pla_transparent",
            "ultimaker_pla_white",
            "ultimaker_pla_yellow",
            "ultimaker_pp_transparent",
            "ultimaker_pva",
            "ultimaker_tough_pla_black",
            "ultimaker_tough_pla_green",
            "ultimaker_tough_pla_red",
            "ultimaker_tough_pla_white",
            "ultimaker_tpu_black",
            "ultimaker_tpu_blue",
            "ultimaker_tpu_red",
            "ultimaker_tpu_white",
            "verbatim_bvoh_175",
            "zyyx_pro_flex",
            "zyyx_pro_pla"
        ]
    },
    "overrides": {
		
		"machine_gcode_flavor": { "default_value": "RepRap (RepRap)"},

		"machine_use_extruder_offset_to_offset_coords": {"default_value": false},
		
        "machine_name": { "default_value": "Creawsome Base Printer" },

        "machine_heated_bed": { "default_value": true },

        "material_diameter": { "default_value": 1.75 },

		"acceleration_enabled": { "value": true },
        "jerk_enabled": { "value": true },

        "acceleration_print": { "value": 350 },
		"acceleration_wall": { "value": 150 },
		"acceleration_infill": { "value": 1500 },
		"acceleration_roofing": { "value": 350 },
		"acceleration_topbottom": { "value": 350 },
		"acceleration_support": { "value": 1500 },
        "acceleration_travel": { "value": 2000 },
        "acceleration_travel_layer_0": { "value": "acceleration_travel" },
        "acceleration_roofing": { "enabled": "acceleration_enabled and roofing_layer_count > 0 and top_layers > 0" },

        "jerk_print": { "value": 4 },
		"jerk_wall": { "value": 3 },
		"jerk_infill": { "value": "jerk_print * 3" },
		"jerk_roofing": { "value": "jerk_print" },
		"jerk_topbottom": { "value": "jerk_print" },
		"jerk_support": { "value": "jerk_print * 3" },
        "jerk_travel": { "value": "jerk_print * 3" },
        "jerk_travel_layer_0": { "value": "jerk_travel" },
        
        "speed_print": { "value": 60 } ,
        "speed_infill": { "value": "speed_print" }, 
        "speed_wall": { "value": "speed_print * 0.5" }, 
        "speed_wall_0": { "value": "speed_wall" }, 
        "speed_wall_x": { "value": "speed_wall" },
        "speed_topbottom": { "value": "speed_print * 0.75" }, 
        "speed_roofing": { "value": "speed_topbottom" },
        "speed_travel": { "value": 700 },
        "speed_layer_0": { "value": "speed_print * 0.5" }, 
        "speed_print_layer_0": { "value": "speed_layer_0" },
        "speed_travel_layer_0": { "value": "speed_travel" },
        "speed_prime_tower": { "value": "speed_topbottom" },
        "speed_support": { "value": "speed_infill" },
        "speed_support_interface": { "value": "speed_infill" },
        "speed_z_hop": { "value": 10 },
        "skirt_brim_speed": { "value": "speed_layer_0" },
		
        "line_width": { "value": "machine_nozzle_size" },

        "optimize_wall_printing_order": { "value": "True" },

		"inset_direction": { "value": "'inside_out'" },

        "material_initial_print_temperature": { "value": "material_print_temperature" },
        "material_final_print_temperature": { "value": "material_print_temperature" },
        "material_flow": { "value": 100 },
		"skin_material_flow": { "value": 103 },
		"roofing_material_flow": { "value": "skin_material_flow" },
        "travel_compensate_overlapping_walls_0_enabled": { "value": "False" },

        "z_seam_type": { "value": "'sharpest_corner'" },
        "z_seam_corner": { "value": "'Hide Seam'" },
        
        "infill_sparse_density": { "value": "30 if  gradual_infill_steps >= 1 else 30"},
        "infill_before_walls": { "value": false },
        "infill_overlap": { "value": 30.0 },
        "skin_overlap": { "value": "10 if top_bottom_pattern != 'concentric' else 0"},
        "infill_wipe_dist": { "value": 0.0 },
        "wall_0_wipe_dist": { "value": 0.0 },
		"gradual_infill_steps": { "value": 1 },
		"gradual_infill_step_height": { "value": 3 },
		"infill_pattern": { "value": "'grid'" },
		"zig_zaggify_infill": { "value": true },
		"skin_preshrink": { "value": "skin_line_width/5" },
        "fill_perimeter_gaps": { "value": "'everywhere'" },
        "fill_outline_gaps": { "value": true },
        "filter_out_tiny_gaps": { "value": false },
		
		"machine_max_feedrate_e": { "value": 70 },

        "retraction_speed": {
            "maximum_value_warning": "machine_max_feedrate_e if retraction_enable else float('inf')",
            "value": 70
        },
        "retraction_retract_speed": {
            "maximum_value_warning": "machine_max_feedrate_e if retraction_enable else float('inf')",
            "value": 70
        },
        "retraction_prime_speed": {
            "maximum_value_warning": "machine_max_feedrate_e if retraction_enable else float('inf')",
            "value": 10
        },
        
        "retraction_hop_enabled": { "value": "True" },
        "retraction_hop": { "value": "0.5 if layer_height < 0.2 else 1.0 if 0.2 <= layer_height < 0.3 else 2.0" },
        "retraction_combing": { "value": "'off' if retraction_hop_enabled else 'noskin'" },
        "retraction_combing_max_distance": { "value": 30 },
		"retraction_amount": { "value": 1.0 },
        "travel_avoid_other_parts": { "value": true },
        "travel_avoid_supports": { "value": true },
        "travel_retract_before_outer_wall": { "value": false },
        
        "retraction_enable": { "value": true },
        "retraction_count_max": { "value": 5 },
        "retraction_extrusion_window": { "value": 0.5 },
        "retraction_min_travel": { "value": 5 },
		"retraction_extra_prime_amount": { "value": 0.1 },
		
        "cool_fan_full_at_height": { "value": "layer_height_0 + 2 * layer_height" },
        "cool_fan_enabled": { "value": true },
        "cool_min_layer_time": { "value": 10 },

        "adhesion_type": { "value": "'skirt'" },
        "brim_replaces_support": { "value": false },
        "skirt_gap": { "value": 5.0 },
        "skirt_line_count": { "value": 2 },

        "adaptive_layer_height_variation": { "value": 0.04 },
        "adaptive_layer_height_variation_step": { "value": 0.04 },

        "meshfix_maximum_resolution": { "value": "0.25" },
        "meshfix_maximum_travel_resolution": { "value": "meshfix_maximum_resolution" },

        "support_angle": { "value": "55" },
        "support_pattern": { "value": "'zigzag'" },
        "support_infill_rate": { "value": "0 if support_enable and support_structure == 'tree' else 20" },
        "support_use_towers": { "value": false },
        "support_xy_distance": { "value": "wall_line_width_0 * 2 if line_width > 0.3 else wall_line_width_0 * 3"},
        "support_xy_distance_overhang": { "value": "wall_line_width_0" },
        "support_z_distance": { "value": "layer_height" },
        "support_xy_overrides_z": { "value": "'xy_overrides_z'" },
        "support_wall_count": { "value": 1 },
        "support_brim_enable": { "value": true },
        "support_brim_width": { "value": 4 },
		"support_wall_count": { "value": "1 if support_enable and support_structure == 'tree' else 0" },
		"support_infill_angles": { "value": "[23]" },
		
		"support_interface_enable": { "value": false },
		"support_interface_height": { "value": 1 },
		"support_roof_height": { "value": 1 },
		"support_bottom_height": { "value": 0 },
		"support_interface_density": { "value": 40 },
		"support_roof_density": { "value": 40 },
		"support_bottom_density": { "value": 0 },
		"support_interface_offset": { "value": -0.2 },

        "support_interface_enable": { "value": false },
        "support_interface_height": { "value": "layer_height * 4" },
        "support_interface_density": { "value": 33.333 },
        
        "support_interface_skip_height": { "value": 0.2 },
        "minimum_support_area": { "value": 2 },
        "minimum_interface_area": { "value": 10 },
 
		"top_thickness": {"value": 0.9 },
		"bottom_thickness": {"value":  0.7},
		"skin_monotonic": { "value": true },
		"wall_thickness": {"value": "line_width * 3 if line_width < 0.5 else line_width * 2" },
		"wall_line_count": {"value": "3 if line_width < 0.5 else 2"},
		"min_feature_size": {"value": 0.05 },
				
		"roofing_layer_count": { "value": 2 }
		
    }
}
