Automated print recovery and continuation
Obliczymy ostateczną cenę na podstawie wybranego pliku. Sprawdzisz ją i zaakceptujesz przed płatnością.
Zapisane na tym urządzeniu.
Print stopped halfway trough? Here is how you can easily continue it.
- Ocena
- 0 / 5
- Polubienia
- 3
- Pobrania
- 10
- Wydruki
- 0
- Wyświetlenia
- 119
- Oceny
- 0
Aktualizacja u źródła:
Informacje o modelu
- Źródło
- Printables
- Kategoria
- Computers
- Licencja
- Creative Commons — Attribution — Share Alike
Here is a brief tutorial on how to easily resume any print by automatically updating it GCODE.
No more scrolling, moving and deleting like mad in notepad, only to forget a step and rage-reprint the whole thing.
You just need to run this program on the original GCODE file and watch the print continue on its own. Here's the tutorial for the people without the patience to load the video.
- Measure the exact height at which the print stopped printing (value is measured in mm)
- You can measure it with calipers
- If you can home the Z axis(MAKE SURE YOUR PRINT DOES NOT GET KNOCKED OVER), you can Z-step the nozzle until it barely scratches the top of the print and get the same measurement off of the printer screen.
- Download and install/unzip PERL (if not already available on your system).
- Strawberry-perl (portable) requires you to launch portableshell.bat .
- Some systems have it pre-installed, or you can install it globally, in which case you just run terminal/cmd/powershell and “perl --version” just works.
- Run ‘perl ContinueFailedPrint.pl <path to original gcode>’
- Example: perl ContinueFailedPrint.pl “E:\\3D_Benchy.gcode” (if it fails then just move the .gcode file on the hard drive of your computer, then move back the output file.). It is the same on any system, only the file path syntax changes between systems and hard drive configurations.
- Input the measured height at failure. Only integers and decimals are allowed
- Wait 1 second for the output file to complete. Your new file will appear in the same place as the original file you have provided, but it will have its own name. (it inserts “CUT” before the filename extension. Ex: E:\\3DBenchy.gcode will create E:\\3DBenchyCUT.gcode).
- Move the Z height of the nozzle exactly at the height of failure and THEN start printing the new CUT gcode file.
This whole process depends on taking exact measurements. The printer will lose sense of Z height home, So wrong measurements will lead to wrong final part dimensions. Wrong nozzle placement at the start of the print will either leave an air gap (too high) or knock off your print away from the bed (too low)
Resources:
https://github.com/import-regex/perl/blob/main/ContinueFailedPrint.pl -script source
https://strawberryperl.com/ -preferable download to install perl on windows
https://www.activestate.com/products/perl/ -full installation packages for any system.
Q&A
- But does it work with XYZ slicers? YES, it is slicer agnostic.
- But does it work with XYZ settings? YES, it processes the meaning of the GCODE, not the text layout. (basic parsing, not a lexer)
- But how does it know XYZ? It only depends on correct user input and the data within the GCODE file. Data is extracted with REGEX and tables of boolean chains compute actions.
- But is it safe? How can I trust you? The executable is open-source 3rd party software. I am just providing you with the text-form script to run the basic necessary logic.
- Does it have bugs? None that I am aware of, but feedback is critical to maintain this project.