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

      • UltiMaker Cura 5.8 beta released
        Another Cura release has arrived and in this 5.8 beta release, the focus is on improving Z seams, as well as completing support for the full Method series of printers by introducing a profile for the UltiMaker Method.
          • Like
        • 1 reply
      • Introducing the UltiMaker Factor 4
        We are happy to announce the next evolution in the UltiMaker 3D printer lineup: the UltiMaker Factor 4 industrial-grade 3D printer, designed to take manufacturing to new levels of efficiency and reliability. Factor 4 is an end-to-end 3D printing solution for light industrial applications
          • Thanks
          • Like
        • 3 replies
    ×
    ×
    • Create New...