Notifications
Clear all

custom gcode for nozzle oozing (for dummies)  

  RSS
Daniel
(@daniel-11)
Eminent Member
custom gcode for nozzle oozing (for dummies)

Hi, I'm looking for a simple copy-paste option for the Start Gcode in Prusa Slicer for an MK3S+ 

 

Perhaps this is a tall order, but this might help others too if they can find this post and simply copy-paste the gcode.

 

I would like to set the partial nozzle heating in relative terms, so the nozzle heats to whatever the first layer temp is set at minus e.g. 50 degrees (so the same custom gcode would work regardless of filament material).

 

Also, I'm not too concerned about time efficiency being perfect, but it would be nice if things could be ordered logically, e.g. bed should start heating immediately, as this takes the longest.

 

Additionally, it would be nice if the Z-Axis could be raised during the longest period of dead time available, while something is heating, just to provide an opportunity to manually remove any clumps of filament ooze during this time.

 

Finally, if the wipe line could be modified, so it is wider or longer or something, this would minimise the risks if any ooze was not manually removed.

 

Googling around, I've seen examples with plenty of time-consuming, unnecessary failsafe settings such as PINDA heating etc. It would be best if any such settings could be left out. Currently, I think I am too incompetent to fish out the appropriate gcode lines without messing something up.

 

Thanks for reading.

This topic was modified 2 months ago 3 times by Daniel
Posted : 29/11/2022 1:50 pm
Daniel
(@daniel-11)
Eminent Member
Topic starter answered:
RE:

In case it's relevant, I did a Revo 6 upgrade after destroying my V6 during a failed attempt at changing the nozzle 

 

I didn't want to overcomplicate things, but perhaps I should say that I've already figured a lot of it out (current gcode pasted below). I haven't set up the temps to be relative. But the main thing is that I am missing an option to raise the Z-Axis. I find it really frustrating to visibly see a bit of filament ooze while the extruder is stationary (waiting on something to heat up), but being unable to access the nozzle with a tool in order to remove the oozing filament.

 

M862.3 P "[printer_model]" ; printer model check
M115 U3.11.0 ; tell printer latest fw version
G90 ; use absolute coordinates
M83 ; extruder relative mode
M140 S[first_layer_bed_temperature] ; set bed temp
M104 S160 ; set extruder no-ooze temp
M190 S[first_layer_bed_temperature] ; wait for bed temp
M109 S160 ; wait for extruder no-ooze warmup temp
G28 W ; home all without mesh bed level
G80 ; mesh bed leveling
M104 S[first_layer_temperature] ; set extruder temp
M109 S[first_layer_temperature] ; wait for extruder temp
{if filament_settings_id[initial_tool]=~/.*Prusament PA11.*/}
G1 Z0.3 F720
G1 Y-3 F1000 ; go outside print area
G92 E0
G1 X60 E9 F1000 ; intro line
G1 X100 E9 F1000 ; intro line
{else}
G1 Z0.2 F720
G1 Y-3 F1000 ; go outside print area
G92 E0
G1 X60 E9 F1000 ; intro line
G1 X200 E12.5 F1000 ; intro line
{endif}
G92 E0
M221 S{if layer_height<0.075}100{else}95{endif}

; Don't change E values below. Excessive value can damage the printer.
{if print_settings_id=~/.*(DETAIL @MK3|QUALITY @MK3).*/}M907 E430 ; set extruder motor current{endif}
{if print_settings_id=~/.*(SPEED @MK3|DRAFT @MK3).*/}M907 E538 ; set extruder motor current{endif}

This post was modified 2 months ago by Daniel
Posted : 29/11/2022 1:55 pm
Neophyl
(@neophyl)
Famed Member
RE: custom gcode for nozzle oozing (for dummies)

https://projects.ttlexceeded.com/3dprinting_prusaslicer_start_gcode_mk3.html#prusaslicer-start-gcode-mk3   Bobstro's site has all the required info. 

If you don't want to learn the basics of gcode so you can set things up yourself then you are shooting yourself in the foot before you start.  It is well worth knowing and it is very simple.

Also you mention specifically time wasting heating the pinda up, you couldn't be more wrong on that.  Getting the pinda to a consistent temperature is key to getting a consistent first layer as its a temperature sensitive device.  It WILL give different reading at different temps.  The amount of time spent doing that is far outweighed by ruined prints when they detach and gum up your hotend.

Posted : 29/11/2022 1:57 pm
Daniel
(@daniel-11)
Eminent Member
Topic starter answered:
RE:

Thanks! I'm sure I'll get there. But for now I'm looking to churn out various versions of an object and would just like for the oozing issue to be fixed. The main thing would be for the Z-Axis to raise while waiting for the nozzle and bed to heat, so I could manually remove any filament oozing. It's frustrating to see the oozing but not be able to access it for no good reason, as the extruder is stationary waiting for something to heat up

 

Edit: And that's interesting what you say about the PINDA thing. I was just going off what I'd read in other posts, where people described this as a failsafe measure in case PINDA calibration hadn't been done manually before upon changing nozzles. I already did PINDA calibration and so assumed further calibration was superfluous. I did read, however, that the time waiting for the PINDA calibration could be indirectly useful, since the bed needs time to settle in before taking measurements, as it can continue to warp slightly for a while after initial heating.

This post was modified 2 months ago by Daniel
Posted : 29/11/2022 2:01 pm
Neophyl
(@neophyl)
Famed Member
RE: custom gcode for nozzle oozing (for dummies)

Just insert G0 Z30 F720 after the G80 line.  That will move the extruder up 30mm.  Change the 30 to however much you want it to move up.

As for the relative no ooze temp then replace the line that says M104 S160 (set to a fixed 160 degrees temp) with M104 S{first_layer_temperature[0]-50} ; set extruder no-ooze temp.  That will set the temperature to whatever is configured for the filament first layer minus 50 degrees.  Change the minus 50 to however much less you want.

Posted : 29/11/2022 2:21 pm
Daniel liked
Daniel
(@daniel-11)
Eminent Member
Topic starter answered:
RE: custom gcode for nozzle oozing (for dummies)

Appreciate it!

Posted : 29/11/2022 2:26 pm
Share: