#we can add specific changes for specific printers and nozzle sizes. Just put in conditionals
# compatible_printers_condition = printer_notes=~/.*PRINTER_VENDOR_GCREATE.*/ and printer_model=~/.*GMAX2PRO.*/ and nozzle_diameter[0]==0.5
#TEMPLATE
#SPEED SETTINGS
#[print:0.10mm - Very Thin Layers @GCREATE]
#perimeter_speed = 100%
#small_perimeter_speed = 100%
#external_perimeter_speed = 100%
#infill_speed = 100%
#solid_infill_speed = 100%
#top_solid_infill_speed = 100%
#support_material_speed = 100%
#bridge_speed = 100%
#don't adjust gap speed above 30 or it causes layer shifting
#gap_fill_speed = 30
#ADVANCED
#
[print:0.10mm - Very Thin Layers @GCREATE]
inherits=*0.10mm*
#Below works. Will only allow gMax 2 and gMax 2 Pro with specific nozzle sizes
#compatible_printers_condition = nozzle_diameter[0]==0.3 or nozzle_diameter[0]==0.4 or nozzle_diameter[0]==0.5 and printer_model=~/.*GMAX2PRO.*/ or printer_model=~/.*GMAX2.*/
compatible_printers_condition=(nozzle_diameter[0]==0.3 or nozzle_diameter[0]==0.4 or nozzle_diameter[0]==0.5) and (printer_model=~/.*GMAX2PRO.*/ or printer_model=~/.*GMAX2/ or printer_model=~/.*GMAX15P.*/) and ! (printer_model=~/.*GMAX2DUAL2IN1.*/ or printer_model=~/.*GMAX2DUAL.*/)
[print:0.15mm - Thin Layers @GCREATE]
inherits=*0.15mm*
#Below works. Will only allow gMax 2 and gMax 2 Pro with specific nozzle sizes
#compatible_printers_condition = nozzle_diameter[0]==0.3 or nozzle_diameter[0]==0.4 or nozzle_diameter[0]==0.5 and printer_model=~/.*GMAX2PRO.*/ or printer_model=~/.*GMAX2.*/
compatible_printers_condition=(nozzle_diameter[0]==0.3 or nozzle_diameter[0]==0.4 or nozzle_diameter[0]==0.5) and (printer_model=~/.*GMAX2PRO.*/ or printer_model=~/.*GMAX2/ or printer_model=~/.*GMAX15P.*/) and ! (printer_model=~/.*GMAX2DUAL2IN1.*/ or printer_model=~/.*GMAX2DUAL.*/)
[print:0.20mm - Standard Layers @GCREATE]
inherits=*0.20mm*
compatible_printers_condition=(nozzle_diameter[0]==0.3 or nozzle_diameter[0]==0.4 or nozzle_diameter[0]==0.5) and (printer_model=~/.*GMAX2PRO.*/ or printer_model=~/.*GMAX2/ or printer_model=~/.*GMAX15P.*/) and ! (printer_model=~/.*GMAX2DUAL2IN1.*/ or printer_model=~/.*GMAX2DUAL.*/)
[print:0.20mm - Standard Layers Slow (PETG and TPU) @GCREATE]
inherits=*0.20mm*; *SLOW*
compatible_printers_condition=(nozzle_diameter[0]==0.3 or nozzle_diameter[0]==0.4 or nozzle_diameter[0]==0.5) and (printer_model=~/.*GMAX2PRO.*/ or printer_model=~/.*GMAX2/ or printer_model=~/.*GMAX15P.*/) and ! (printer_model=~/.*GMAX2DUAL2IN1.*/ or printer_model=~/.*GMAX2DUAL.*/)
[print:0.20mm - Standard Layers Fast @GCREATE]
inherits=*0.20mm*; *FAST*
compatible_printers_condition=(nozzle_diameter[0]==0.3 or nozzle_diameter[0]==0.4 or nozzle_diameter[0]==0.5) and (printer_model=~/.*GMAX2PRO.*/ or printer_model=~/.*GMAX2/ or printer_model=~/.*GMAX15P.*/) and ! (printer_model=~/.*GMAX2DUAL2IN1.*/ or printer_model=~/.*GMAX2DUAL.*/)
[print:0.25mm - Thick Layers @GCREATE]
inherits=*0.25mm*
compatible_printers_condition=(nozzle_diameter[0]==0.4 or nozzle_diameter[0]==0.5) and (printer_model=~/.*GMAX2PRO.*/ or printer_model=~/.*GMAX2/ or printer_model=~/.*GMAX15P.*/) and ! (printer_model=~/.*GMAX2DUAL2IN1.*/ or printer_model=~/.*GMAX2DUAL.*/)
[print:0.30mm - Very Thick Layers @GCREATE]
inherits=*0.3mm*
compatible_printers_condition=(nozzle_diameter[0]==0.4 or nozzle_diameter[0]==0.5) and (printer_model=~/.*GMAX2PRO.*/ or printer_model=~/.*GMAX2/ or printer_model=~/.*GMAX15P.*/) and ! (printer_model=~/.*GMAX2DUAL2IN1.*/ or printer_model=~/.*GMAX2DUAL.*/)
[print:0.40mm - High Output Layers @GCREATE]
inherits=*0.4mm*
compatible_printers_condition=(nozzle_diameter[0]==0.5 or nozzle_diameter[0]==0.8 or nozzle_diameter[0]==1.0) and (printer_model=~/.*GMAX2PRO.*/ or printer_model=~/.*GMAX2/ or printer_model=~/.*GMAX15P.*/) and ! (printer_model=~/.*GMAX2DUAL2IN1.*/ or printer_model=~/.*GMAX2DUAL.*/)
[print:0.50mm - High Output Layers @GCREATE]
inherits=*0.5mm*
compatible_printers_condition=(nozzle_diameter[0]==0.8 or nozzle_diameter[0]==1.0) and (printer_model=~/.*GMAX2PRO.*/ or printer_model=~/.*GMAX2/ or printer_model=~/.*GMAX15P.*/) and ! (printer_model=~/.*GMAX2DUAL2IN1.*/ or printer_model=~/.*GMAX2DUAL.*/)
[print:0.60mm - High Output Layers @GCREATE]
inherits=*0.6mm*
compatible_printers_condition=nozzle_diameter[0]==0.8 or nozzle_diameter[0]==1.0 and (printer_model=~/.*GMAX2PRO.*/ or printer_model=~/.*GMAX2/ or printer_model=~/.*GMAX15P.*/) and ! (printer_model=~/.*GMAX2DUAL2IN1.*/ or printer_model=~/.*GMAX2DUAL.*/)
[print:0.20mm - Dual 2in1 @GCREATE]
inherits=*0.20mm*
compatible_printers_condition=(nozzle_diameter[0]==0.5) and (printer_model=~/.*GMAX2DUAL2IN1/)
wipe_tower=1
wipe_tower_bridging=10
wipe_tower_no_sparse_layers=1
wipe_tower_rotation_angle=0
wipe_tower_width=75
wipe_tower_x=100
wipe_tower_y=300
[print:0.20mm - Dual Chimera @GCREATE]
inherits=*0.20mm*
compatible_printers_condition=(nozzle_diameter[0]==0.5) and (printer_model=~/.*GMAX2DUAL/)
# wipe tower
wipe_tower=1
wipe_tower_bridging=10
wipe_tower_no_sparse_layers=1
wipe_tower_rotation_angle=0
wipe_tower_width=75
wipe_tower_x=100
wipe_tower_y=300
# ooze prevention
ooze_prevention=1
standby_temperature_delta=-15
[print:0.20mm - Dual 2in1 PLA with PVA Support @GCREATE]
inherits=*0.20mm*; 0.20mm - Dual 2in1 @GCREATE
compatible_printers_condition=(printer_model=~/.*GMAX2DUAL2IN1.*/ or printer_model=~/.*GMAX2DUAL.*/)
printer_notes=Don't remove the following keywords! These keywords are used in the "compatible printer" condition of the print and filament profiles to link the particular print and filament profiles to this printer profile.\nPRINTER_VENDOR_GCREATE\nPRINTER_MODEL_GMAX2
bed_shape=0x0,457x0,457x457,0x457
max_print_height=610
machine_max_acceleration_e=5000
machine_max_acceleration_extruding=500
machine_max_acceleration_retracting=1000
machine_max_acceleration_x=600
machine_max_acceleration_y=600
machine_max_acceleration_z=15
machine_max_feedrate_e=60
machine_max_feedrate_x=500
machine_max_feedrate_y=500
machine_max_feedrate_z=8
machine_max_jerk_e=5
machine_max_jerk_x=8
machine_max_jerk_y=8
machine_max_jerk_z=0.4
machine_min_extruding_rate=0
machine_min_travel_rate=0
#nozzle_diameter = 0.7
retract_before_travel=2
retract_length=0.75
retract_speed=70
deretract_speed=40
retract_before_wipe=70%
default_print_profile=0.20mm - Standard Layers @GCREATE
start_gcode=M420 Z20\nG90 ; use absolute coordinates\nM83 ; extruder relative mode\nM104 S[first_layer_temperature] ; set extruder temp\nM140 S[first_layer_bed_temperature] ; set bed temp\nM190 S[first_layer_bed_temperature] ; wait for bed temp\nM109 S[first_layer_temperature] ; wait for extruder temp\nG28 ; home all\nG92 E0.0
end_gcode=M104 S0 T0 ; turn off temperature\nM140 S0 ; turn off heatbed\nM107 ; turn off fan\n{if layer_z < max_print_height}G1 Z{z_offset+min(layer_z+5, max_print_height)} F600{endif} ; Move print head up\nG1 X5 Y170 F3000 ; present print\n{if layer_z < max_print_height-10}G1 Z{z_offset+min(layer_z+70, max_print_height-10)} F600{endif} ; Move print head up\nM84 X Y E ; disable motors
#[printer:*abl*]
#start_gcode = G90 ; use absolute coordinates\nM83 ; extruder relative mode\nM104 S150 ; set extruder temp for auto bed leveling\nM140 S[first_layer_bed_temperature] ; set bed temp#\nG28 ; home all\nG29 ; auto bed levelling\nG1 Z50 F240\nG1 X2 Y10 F3000\nM104 S[first_layer_temperature] ; set extruder temp\nM190 S[first_layer_bed_temperature] ; wait for bed #temp\nM109 S[first_layer_temperature] ; wait for extruder temp\nG1 Z0.28 F240\nG92 E0.0\nG1 Y190 E15.0 F1500.0 ; intro line\nG1 X2.3 F5000\nG1 Y10 E15.0 F1200.0 ; intro line\nG92 #E0.0
[printer:*gCreate gMax 2 Pro*]
inherits=*common*
printer_model=GMAX2PRO
#printer_variant = 0.5
max_layer_height=0.7
min_layer_height=0.08
printer_notes=Don't remove the following keywords! These keywords are used in the "compatible printer" condition of the print and filament profiles to link the particular print and filament profiles to this printer profile.\nPRINTER_VENDOR_GCREATE\nPRINTER_MODEL_GMAX2PRO
default_print_profile=0.20mm - Standard Layers @GCREATE
[printer:*gCreate gMax 1.5XT Plus*]
inherits=*common*
printer_model=GMAX15P
#printer_variant = 0.5
max_layer_height=0.6
min_layer_height=0.08
printer_notes=Don't remove the following keywords! These keywords are used in the "compatible printer" condition of the print and filament profiles to link the particular print and filament profiles to this printer profile.\nPRINTER_VENDOR_GCREATE\nPRINTER_MODEL_GMAX15P
bed_shape=0x0,410x0,410x410,0x410
max_print_height=533
default_print_profile=0.20mm - Standard Layers @GCREATE
[printer:*gCreate gMax 2 Dual 2in1*]
inherits=*common*
printer_model=GMAX2DUAL2IN1
max_layer_height=0.7
min_layer_height=0.08
printer_notes=Don't remove the following keywords! These keywords are used in the "compatible printer" condition of the print and filament profiles to link the particular print and filament profiles to this printer profile.\nPRINTER_VENDOR_GCREATE\nPRINTER_MODEL_GMAX2DUAL2IN1
default_print_profile=0.20mm - Standard Layers @GCREATE
single_extruder_multi_material=1
#cooling tube retraction
cooling_tube_retraction=30
cooling_tube_length=6
parking_pos_retraction=30
extra_loading_move=-1
#multi tool settings
extruder_colour=#FF3333;#0000CC
extruder_offset=0x0,0x0
retract_length_toolchange=30;30
[printer:*gCreate gMax 2 Dual Chimera*]
inherits=*common*
printer_model=GMAX2DUAL
max_layer_height=0.7
min_layer_height=0.08
printer_notes=Don't remove the following keywords! These keywords are used in the "compatible printer" condition of the print and filament profiles to link the particular print and filament profiles to this printer profile.\nPRINTER_VENDOR_GCREATE\nPRINTER_MODEL_GMAX2DUAL