Jump to content
UltiMaker Community of 3D Printing Experts

Extruding blob after (custom) pause


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
;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
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.3 stable released
        In this stable release, Cura 5.3 achieves yet another huge leap forward in 3D printing thanks to material interlocking! As well as introducing an expanded recommended print settings menu and lots of print quality improvements. Not to mention, a whole bunch of new printer profiles for non-UltiMaker printers!
          • Thanks
          • Like
        • 26 replies
      • Here it is. The new UltiMaker S7
        The UltiMaker S7 is built on the success of the UltiMaker S5 and its design decisions were heavily based on feedback from customers.
        So what’s new?
        The obvious change is the S7’s height. It now includes an integrated Air Manager. This filters the exhaust air of every print and also improves build temperature stability. To further enclose the build chamber the S7 only has one magnetically latched door.
        The build stack has also been completely redesigned. A PEI-coated flexible steel build plate makes a big difference to productivity. Not only do you not need tools to pop a printed part off. But we also don’t recommend using or adhesion structures for UltiMaker materials (except PC, because...it’s PC). Along with that, 4 pins and 25 magnets make it easy to replace the flex plate perfectly – even with one hand.
        The re-engineered print head has an inductive sensor which reduces noise when probing the build plate. This effectively makes it much harder to not achieve a perfect first layer, improving overall print success. We also reversed the front fan direction (fewer plastic hairs, less maintenance), made the print core door magnets stronger, and add a sensor that helps avoid flooding.

        The UltiMaker S7 also includes quality of life improvements:
        Reliable bed tilt compensation (no more thumbscrews) 2.4 and 5 GHz Wi-Fi A 1080p camera (mounted higher for a better view) Compatibility with 280+ Marketplace materials Compatibility with S5 project files (no reslicing needed) And a whole lot more  
        Curious to see the S7 in action?
        We’re hosting a free tech demo on February 7.
        It will be live and you can ask any questions to our CTO, Miguel Calvo.
        Register here for the Webinar
          • Like
        • 18 replies
      • UltiMaker Cura Alpha 🎄 Tree Support Spotlight 🎄
        Are you a fan of tree support, but dislike the removal process and the amount of filament it uses? Then we would like to invite you to try this special release of UltiMaker Cura. Brought to you by our special community contributor @thomasrahm
        We generated a special version of Cura 5.2 called 5.3.0 Alpha + Xmas. The only changes we introduced compared to UltiMaker Cura 5.2.1 are those which are needed for the new supports. So keep in mind, this is not a sneak peek for Cura 5.3 (there are some really cool new features coming up) but a spotlight release highlighting this new version of tree supports.  
          • Like
        • 22 replies
    • Create New...