Jump to content
petervanwesten

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
;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
...

 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Our picks

    • Ultimaker Cura 4.0 | Stable available!
      Ultimaker Cura 4.0 is mainly focused on the improved user interface and cloud integration.
      As always, we want to collect your user feedback for this release. If there are any improvements you can think of, feel free to mention it here and help us to shape the next release.
      • 98 replies
×
×
  • Create New...

Important Information

Welcome to the Ultimaker Community of 3D printing experts. Visit the following links to read more about our Terms of Use or our Privacy Policy. Thank you!