From c4837cf6aa489acab9d5fc808df35349d7474116 Mon Sep 17 00:00:00 2001 From: photodude Date: Wed, 11 Mar 2020 15:53:42 -0600 Subject: [PATCH 1/3] Add printer notes to Ditto printing options Ditto printing options should have their own printer notes as they are specialized use cases. Add and comment out the bed model and bed texture due to an issue --- resources/profiles/BIBO2Touch.ini | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/resources/profiles/BIBO2Touch.ini b/resources/profiles/BIBO2Touch.ini index c0e0add7f..81a200cec 100644 --- a/resources/profiles/BIBO2Touch.ini +++ b/resources/profiles/BIBO2Touch.ini @@ -838,7 +838,10 @@ z_offset = 0 [printer:BIBO2 E1 right E2 Ditto] inherits = BIBO2 Touch E1 right only extrusion printer_model = BIBO2 +printer_notes = Do not 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_BIBO\nPRINTER_MODEL_BIBO2E1DITTOE2 bed_shape = 0x-93,33x-93,33x93,0x93 +#bed_model = BIBO2_bed.stl +#bed_texture = BIBO2.svg before_layer_gcode = ;BEFORE_LAYER_CHANGE\n;[layer_z]\nM104 S{temperature[0]} T1 ; set 2nd nozzle heater to print temperature\n start_gcode = ;Start code PrusaSlicer BIBO 2 printers E1 only (i.e. T0)\nM420 S1 ; Turn on Ditto Printing\nG21 ; set units to metric\nG90 ; absolute positioning\nM107 ; start with the fan off\nM190 S{first_layer_bed_temperature[0] - 5} ; wait for bed temp\nM140 S{first_layer_bed_temperature[0]} ; continue bed heating to full temp while other things are happening\nM104 S{first_layer_temperature[0]} T0 ; set 1st nozzle heater to first layer temperature\nM104 S{first_layer_temperature[0]} T1 ; set 2nd nozzle heater to same first layer temperature\nM105 ; Report Temperatures\nM109 S{first_layer_temperature[0]} T0 ; wait for 1st nozzle heat to first layer temperature\nM109 S{first_layer_temperature[0]} T1 ; wait for 2nd nozzle heat to same first layer temperature\nM105 ; Report Temperatures\nG28 X0 Y0 ; move X/Y to min endstops\nG28 Z0 ; move Z to min endstops\nG1 Y0 F1200 E0 ; move Y to min endstop and extrude 0 filament\nT[initial_tool] ; switch to initial tool position\nG92 E0.0 ; reset extruder\nG28 ; Home all axis\nG1 Y0 F1200 E0 ; move Y to min endstop and reset extruder\nG92 E0.0 ; zero the current extruder coordinate\nM117 Cleaning... ; Put Cleaning message on screen, Attempt Nozzle Wipe (for ooze free startup)\nG1 X-15.0 Y-92.9 Z0.3 F2400.0 ; move to start-line position\nG1 X15.0 Y-92.9 Z0.3 F1000.0 E2 ; draw 1st line\nG1 X15.0 Y-92.6 Z0.3 F3000.0 ; move to side a little\nG1 X-15.0 Y-92.6 Z0.3 F1000.0 E4 ; draw 2nd line\nG1 X-15.0 Y-92.3 Z0.3 F3000.0 ; move to side a little\nG1 X15.0 Y-92.3 Z0.3 F1000.0 E6 ; draw 3rd line\nG1 X15.0 Y-92 Z0.3 F3000.0 ; move to side a little\nG1 X-15.0 Y-92 Z0.3 F1000.0 E8 ; draw 4th line\nG92 E0.0 ; reset extruder and zero the current extruder coordinate before printing\nM117 BIBO E1 now Printing... ; Put now printing message on screen end_gcode = ;BIBO End GCode\nM107 ; turn fans off\nG91 ; Relative positioning\nG1 Z1 F100\nM140 S0 ; Disable heated bed\nM104 T0 S0 ; extruder T0 heater off\nM104 T1 S0 ; extruder T1 heater off\nG1 Z+0.5 X-20 Y-20 F300 ; move Z down then move print head a bit out of the way\nG28 X0 Y0 ; move X/Y to min endstops, so the head is out of the way\nG90 ; Absolute positioning\nG92 E0.0 ; Reset extruder position\nM84 ; Turn steppers off\nM420 S0 ; Turn off Ditto Printing function\nM117 BIBO Print complete ; Put print complete message on screen @@ -846,7 +849,10 @@ end_gcode = ;BIBO End GCode\nM107 ; turn fans off\nG91 ; Relative positioning\nG [printer:BIBO2 E2 left E1 Ditto] inherits = BIBO2 Touch E2 left only extrusion printer_model = BIBO2 +printer_notes = Do not 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_BIBO\nPRINTER_MODEL_BIBO2E2DITTOE1 bed_shape = -33x-93,0x-93,0x93,-33x93 +#bed_model = BIBO2_bed.stl +#bed_texture = BIBO2.svg before_layer_gcode = ;BEFORE_LAYER_CHANGE\n;[layer_z]\nM104 S{temperature[0]} T0 ; set 1st nozzle heater to print temperature\n start_gcode = ;Start code PrusaSlicer BIBO 2 printers E2 only (i.e. T1)\nM420 S1 ; Turn on Ditto Printing\nG21 ; set units to metric\nG90 ; absolute positioning\nM107 ; start with the fan off\nM140 S{first_layer_bed_temperature[0] - 5} ; set bed temp\nM105 ; Report Temperatures\nM190 S{first_layer_bed_temperature[0]} ; wait for bed temp\nM104 S{first_layer_temperature[0]} T0 ; set 1st nozzle heater to ditto print temperature\nM104 S{first_layer_temperature[0]} T1 ; set 2nd nozzle heater to first layer temperature\nM105 ; Report Temperatures\nM109 S{first_layer_temperature[0]} T0 ; set 1st nozzle heater to ditto printing temperature\nM109 S{first_layer_temperature[0]} T1 ; Wait for 2nd nozzle heater to first layer temperature\nM105 ; Report Temperatures\nG28 X0 Y0 ; move X/Y to min endstops\nG28 Z0 ; move Z to min endstops\nG1 Z2 F400 ; move the print bed down 2mm\nT0 ; switch to tool position T0\nG90 ; absolute positioning\nG92 E0.0 ; zero the current extruder coordinate\nG28 ; Home all axis\nG1 Y0 F1200 E0 ; move Y to min endstop and reset extruder\nG92 E0.0 ; zero the current extruder coordinate\nT1 ; switch to tool position T1\nG92 E0.0 ; zero the current extruder coordinate\nM117 E2 nozzle wipe... ; Put Nozzle wipe message on screen, Attempt Nozzle Wipe (for ooze free startup)\nG1 X-15.0 Y-92.9 Z0.3 F2400.0 ; move to start-line position\nG1 X15.0 Y-92.9 Z0.3 F1000.0 E2 ; draw 1st line\nG1 X15.0 Y-92.6 Z0.3 F3000.0 ; move to side a little\nG1 X-15.0 Y-92.6 Z0.3 F1000.0 E4 ; draw 2nd line\nG1 X-15.0 Y-92.3 Z0.3 F3000.0 ; move to side a little\nG1 X15.0 Y-92.3 Z0.3 F1000.0 E6 ; draw 3rd line\nG1 X15.0 Y-92 Z0.3 F3000.0 ; move to side a little\nG1 X-15.0 Y-92 Z0.3 F1000.0 E8 ; draw 4th line\nG92 E0.0 ; reset extruder coordinate to zero before printing\nM117 BIBO Now Printing from E2... ; Put now printing message on screen end_gcode = ;BIBO End GCode\nM107 ; turn fans off\nG91 ; Relative positioning\nG1 Z1 F100\nM140 S0 ; Disable heated bed\nM104 T0 S0 ; extruder T0 heater off\nM104 T1 S0 ; extruder T1 heater off\nG1 Z+0.5 X-20 Y-20 F300 ; move Z down then move print head a bit out of the way\nG28 X0 Y0 ; move X/Y to min endstops, so the head is out of the way\nG90 ; Absolute positioning\nG92 E0.0 ; Reset extruder position\nM84 ; Turn steppers off\nM420 S0 ; Turn off Ditto Printing function\nM117 BIBO Print complete ; Put print complete message on screen \ No newline at end of file From e72b5b99373c7827e2cf1f08c6120e63886f4619 Mon Sep 17 00:00:00 2001 From: photodude Date: Wed, 11 Mar 2020 16:11:54 -0600 Subject: [PATCH 2/3] Improve compatible_printers_condition beter restriction for compatible_printers_condition for cases which previously used the printer model --- resources/profiles/BIBO2Touch.ini | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/resources/profiles/BIBO2Touch.ini b/resources/profiles/BIBO2Touch.ini index 81a200cec..ae6b2ae97 100644 --- a/resources/profiles/BIBO2Touch.ini +++ b/resources/profiles/BIBO2Touch.ini @@ -355,7 +355,7 @@ support_material_extrusion_width = 0.38 # Soluble Supports Profiles for dual extrusion # [print:0.15mm OPTIMAL SOLUBLE FULL @BIBO2] inherits = 0.15mm OPTIMAL @BIBO2; *soluble_support* -compatible_printers_condition = printer_model=="BIBO2" +compatible_printers_condition = printer_notes=~/.*PRINTER_VENDOR_BIBO.*/ and num_extruders==2 external_perimeter_speed = 25 notes = Set your soluble extruder in Multiple Extruders > Support material/raft/skirt extruder & Support material/raft interface extruder support_material_extruder = 2 @@ -373,7 +373,7 @@ support_material_xy_spacing = 80% [print:0.20mm NORMAL SOLUBLE FULL @BIBO2] inherits = 0.20mm NORMAL @BIBO2; *soluble_support* -compatible_printers_condition = printer_model=="BIBO2" +compatible_printers_condition = printer_notes=~/.*PRINTER_VENDOR_BIBO.*/ and num_extruders==2 external_perimeter_speed = 30 notes = Set your soluble extruder in Multiple Extruders > Support material/raft/skirt extruder & Support material/raft interface extruder support_material_extruder = 2 @@ -558,7 +558,7 @@ first_layer_temperature = 230 max_fan_speed = 20 min_fan_speed = 20 temperature = 230 -compatible_printers_condition = printer_model=="BIBO2" +compatible_printers_condition = printer_notes=~/.*PRINTER_VENDOR_BIBO.*/ and num_extruders==2 [filament:AMOLEN bronze PLA @BIBO2] inherits = *PLA* @@ -605,12 +605,12 @@ filament_soluble = 1 filament_type = PVA first_layer_temperature = 195 temperature = 195 -compatible_printers_condition = printer_model=="BIBO2" +compatible_printers_condition = printer_notes=~/.*PRINTER_VENDOR_BIBO.*/ and num_extruders==2 [filament:No Filament - standby only @BIBO2] first_layer_temperature = 170 temperature = 170 -compatible_printers_condition = printer_model=="BIBO2" +compatible_printers_condition = printer_notes=~/.*PRINTER_VENDOR_BIBO.*/ and num_extruders==2 [filament:Generic FLEX @BIBO2] inherits = *FLEX* From 6744c108b875e0267ba7b88676b7e41435a352d2 Mon Sep 17 00:00:00 2001 From: photodude Date: Wed, 11 Mar 2020 16:14:18 -0600 Subject: [PATCH 3/3] BIBO2 configs use the same printer model All BIBO2 printer configurations use the same printer model. Lets be consistant --- resources/profiles/BIBO2Touch.ini | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/resources/profiles/BIBO2Touch.ini b/resources/profiles/BIBO2Touch.ini index ae6b2ae97..8247a34a7 100644 --- a/resources/profiles/BIBO2Touch.ini +++ b/resources/profiles/BIBO2Touch.ini @@ -794,7 +794,7 @@ inherits = *common* printer_model = BIBO2 printer_variant = 0.4 extruder_colour = #FFFF00 -printer_notes = Do not 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_BIBO\nPRINTER_MODEL_BIBO2E1 +printer_notes = Do not 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_BIBO\nPRINTER_MODEL_BIBO2 nozzle_diameter = 0.4 retract_before_travel = 1 retract_length = 1.5 @@ -817,7 +817,7 @@ inherits = *common* printer_model = BIBO2 printer_variant = 0.4 extruder_colour = #229403 -printer_notes = Do not 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_BIBO\nPRINTER_MODEL_BIBO2E2 +printer_notes = Do not 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_BIBO\nPRINTER_MODEL_BIBO2 nozzle_diameter = 0.4 retract_before_travel = 1 retract_length = 1.5 @@ -838,7 +838,7 @@ z_offset = 0 [printer:BIBO2 E1 right E2 Ditto] inherits = BIBO2 Touch E1 right only extrusion printer_model = BIBO2 -printer_notes = Do not 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_BIBO\nPRINTER_MODEL_BIBO2E1DITTOE2 +printer_notes = Do not 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_BIBO\nPRINTER_MODEL_BIBO2 bed_shape = 0x-93,33x-93,33x93,0x93 #bed_model = BIBO2_bed.stl #bed_texture = BIBO2.svg @@ -849,7 +849,7 @@ end_gcode = ;BIBO End GCode\nM107 ; turn fans off\nG91 ; Relative positioning\nG [printer:BIBO2 E2 left E1 Ditto] inherits = BIBO2 Touch E2 left only extrusion printer_model = BIBO2 -printer_notes = Do not 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_BIBO\nPRINTER_MODEL_BIBO2E2DITTOE1 +printer_notes = Do not 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_BIBO\nPRINTER_MODEL_BIBO2 bed_shape = -33x-93,0x-93,0x93,-33x93 #bed_model = BIBO2_bed.stl #bed_texture = BIBO2.svg