Just set the nozzle temperature to for example 20 dC, the failsafe of the printer will not execute the extrusion commands.
- 3 years later...
I found this thread years later after having the same request. This can be done using the post-processors (I have Cura v5.3.0).
Extensions > Post Processing > Modify G-code
Add a script > Search and Replace
In the search bar put "E\d+.*" (Mach3 uses A for the extrusion command so replace the E with A if this applies to you)
\d+ finds one or more numerical digits
.* finds zero or more of any character
So this search phrase will find Extrusion commands as simple as E0 and should also find commands with multiple digits and a decimal such as E1837.04462
It should not find any E's in comments as long as the e is followed by something other than a number.
Leave the replace bar blank.
Make sure "Use Regular Expressions" is checked or else it will literally search for the string "E\d+.*"
I have also found that sometimes the code G92 is used to reset the extrusion value to zero in a line like "G92 E0". So the first search & replace will remove the E and you will likely need a second search and replace to get rid of the G92 commands. For this one you don't need to use regular expression since you are literally just searching for the string "G92" and again leave the replace bar blank.
Attached image shows before & after of a sample.
Edited by Supernova27
Can leave replace blank instead of adding a space
- 1
Recommended Posts
geert_2 558
In a plaintext editor, search for "[space] e???? [space]" or something like that, using wildcards, and delete them all? Or set them to zero? I don't know if it would work, but might be worth a try?
Link to post
Share on other sites