BUG: Cooling M106 occurs before starting scripts
Posted: Mon Aug 17, 2020 6:27 pm
Layer 1 print cooling fan setting (M106) is inserted into gcode before starting scripts, potentially being altered by starting scripts, and not corrected for subsequent layers. Furthermore, if layer 2+ is set to same value as layer 1, Simplify3D inserts no additional M106 commands for the fan, as it doesn't know the value might have been changed.
Current workarounds:
1. Avoid any commands that adjust fan in starting script
2. Toggle fan off for layer 1, and on for layer 2, forcing S3D to insert an M106 at layer 2
Current workarounds:
1. Avoid any commands that adjust fan in starting script
2. Toggle fan off for layer 1, and on for layer 2, forcing S3D to insert an M106 at layer 2
Code: Select all
; singleExtrusionMaxPrintingWidthPercentage,200
; singleExtrusionEndpointExtension,0.2
; horizontalSizeCompensation,0
G90
M82
M106 S0 <------ This is setting applied in S3D for layer 1
M140 S60
M104 S200 T0
M109 S200 T0
G28 ; home all axes <------ Start of my "starting scripts"
G1 Z5 F3000 ; lift
M107 ; fan off <------- Turning fan off here will not be altered by S3D, and will remain off for the rest of the print
G5 ; enable resume from power failure
M900 K0.0
G1 X10 Y5 F1500 ; move to prime
G1 Z0.2 F3000 ; get ready to prime
G92 E0 ; reset extrusion distance
G1 X80 E10 F600 ; prime nozzle
G1 X80 F5000 ; quick wipe
; process Process1 <------- Layer 1 gcode
; layer 1, Z = 0.100
T0
G92 E0.0000
G1 E-4.0000 F2400
; feature skirt