Jump to content

Extruding blob after (custom) pause


petervanwesten

Recommended Posts

Posted · Extruding blob after (custom) pause

I created my own 'Filament Change' plugin, as the ones in Cura (FilamentChange and PauseAtHeight) both seem to have issues.

My plugin inserts the gcode as I want and it works pretty well.

But, after it resumes printing, the printer starts by extruding a large amount of filament on the starting position on the object.

 

No idea why it does that, as I do a Extruder reset before the end of my code

G92 E0 ; Reset Extruder

Anyone any idea why this is happening and how to solve it?

 

Here is a snippet of the full gcode:

 

...
G0 X120.2 Y119.763
G0 X120.252 Y110.861
G0 X123.797 Y105.044
G0 X123.822 Y104.948
;TIME_ELAPSED:379.341534
;LAYER:2
;MESH:Object 1

; =================================
; Filament Change for layer: 3
; ---------------------------------
; ---- Move away from object and start cooling ----
M83 ; E axis relative mode
M106 ; Set Fan Speed (max)
M104 S150; Pre-set Hotend temperature
G1 E-6 F3600 ; Retract filament
G1 Z10 F3000 ; Move Z Axis up little
; ---- Play pre-tune ----
G4 P10 ; wait
M300 S660 P100
G4 P10 ; wait
M300 S660 P100
G4 P10 ; wait
M300 S660 P100
G4 P10 ; wait
M300 880 P400
; ---- Go home and cool down ----
M82 ; E axis absolute mode
G0 X2 Y2 ; Move X & Y to near-start position
G0 Z40 ; Move to 4cm above bed to make filament change easier
M109 R150; Wait for Hotend temperature to cool
; ---- Play tune ----
G4 P10 ; wait
M300 S440 P100
G4 P10 ; wait
M300 S440 P100
G4 P10 ; wait
M300 S440 P100
G4 P10 ; wait
M300 S660 P400
; ---- Ready to change filament ----
M18 ; Disable all steppers
M0 Change Filament ; Do the actual pause
; ---- Heat back up ----
M107 ; Fan Off
M109 S200.0; Reset Hotend temperature and wait
M106 S60.0; Reset Fan Speed
; ---- Draw 2 purging lines (next to start-up line) ----
G28 ; Home all axes
G92 E0 ; Reset Extruder
G1 Z2.3 F3000 ; Move Z Axis up to prevent scratching of Heat Bed
G1 X1.1 Y20 Z0.3 F5000 ; Move to start position
G1 X1.1 Y200 F1500 E30 ; Draw the first line
G1 X1.4 Y200 F5000 ; Move to side a little
G1 X1.4 Y20 F1500 E30 ; Draw the second line
G1 X1.7 Y20 F5000 ; Move to side a little
G1 X1.7 Y200 F1500 E30 ; Draw the first line
G1 X2.0 Y200 F5000 ; Move to side a little
G1 X2.0 Y20 F1500 E30 ; Draw the second line
; ---- Go home and reset ----
G0 X0.4 Y20 Z0.3 ; Move to start position
G92 E0 ; Reset Extruder
G0 Z10.4 ; Move Z Axis up to well above current layer
; =================================

G0 F7200 X123.822 Y104.948 Z0.3
M204 S500
M205 X20 Y20
;TYPE:WALL-INNER
G1 F4800 X124.041 Y104.762 E148.58437
G1 X124.577 Y104.309 E148.59604
G1 X124.692 Y104.237 E148.59829
G1 X124.844 Y104.172 E148.60104
...

 

  • Link to post
    Share on other sites

    Create an account or sign in to comment

    You need to be a member in order to leave a comment

    Create an account

    Sign up for a new account in our community. It's easy!

    Register a new account

    Sign in

    Already have an account? Sign in here.

    Sign In Now
    • Our picks

      • Introducing Universal Cura Projects in the UltiMaker Cura 5.7 beta
        Strap in for the first Cura release of 2024! This 5.7 beta release brings new material profiles as well as cloud printing for Method series printers, and introduces a powerful new way of sharing print settings using printer-agnostic project files! Also, if you want to download the cute dinosaur card holder featured below, it was specially designed for this release and can be found on Thingiverse! 
        • 0 replies
      • S-Line Firmware 8.3.0 was released Nov. 20th on the "Latest" firmware branch.
        (Sorry, was out of office when this released)

        This update is for...
        All UltiMaker S series  
        New features
         
        Temperature status. During print preparation, the temperatures of the print cores and build plate will be shown on the display. This gives a better indication of the progress and remaining wait time. Save log files in paused state. It is now possible to save the printer's log files to USB if the currently active print job is paused. Previously, the Dump logs to USB option was only enabled if the printer was in idle state. Confirm print removal via Digital Factory. If the printer is connected to the Digital Factory, it is now possible to confirm the removal of a previous print job via the Digital Factory interface. This is useful in situations where the build plate is clear, but the operator forgot to select Confirm removal on the printer’s display. Visit this page for more information about this feature.
          • Like
        • 0 replies
    ×
    ×
    • Create New...