Results 1 to 4 of 4
-
11-16-2024, 01:44 AM #1
- Join Date
- Nov 2024
- Posts
- 5
how to change gcode for changing filament
Hi,
I am new to this world and since 4 weeks I have a 3D printer elegoo Neptune 4 pro
I wanted to learn how to put a pause code into the slice code. I use astroprint.
So when I download the code I use notepad++ to add the code M25 do it pauses.
Which it does. But it stays on the same place, so when I change the filament it loads the filament of the new color.
So how do move it up so I can change the filament correctly and that it goes back continue printing where it left off.
Thx
-
11-17-2024, 02:42 PM #2
In marlin firmware this is done during coding. In Configuration_adv.h > search for "// @section advanced pause" There is a section for "Advanced Pause for Filament Change" In PrusaSlicer after slicing the model on the right is a layers bar right click on this bar and select Add color Change In Cura slicer we select Extensions > Post Processing > Add a script > select Pause at Height and then Filament change Then we can change where the nozzle rests while the change is being preformed.
-
11-21-2024, 12:20 PM #3
- Join Date
- Nov 2024
- Posts
- 5
Hi. Thx for replying.
I finally found out ( with also try and error) using the next code
M600 B2 X10 Y10 Z30 E-5.0 L10
It will park the header. Then I unload the pla and load the new one and when I press enter it expulse some plan and continue to print.
It works fine.
It still is difficult to find the correct layer. If anyb6hasvan easy way for it using only web based programs, please tell me.
-
12-01-2024, 11:18 PM #4
Welcome to 3D printing! To pause your print, change filament, and resume properly, you can modify your G-code like this:1. **Pause the print**: Use `M25`.2. **Move the print head out of the way**: ```gcode G1 Z10 ; Move up 10mm (adjust as needed) G1 X0 Y200 ; Move head to the side for easy filament change M104 S0 ; Turn off the hotend (optional) ```3. **Resume the print**: After changing the filament, use `M24` to continue.### Steps:- Open your G-code in Notepad++.- Add the commands where you want the pause to happen.- Save and upload the new file to Astroprint.This way, the print head moves up for filament changes and then resumes printing. Let me know if you need any more help!
TPU anti-adhesion
01-15-2025, 08:41 AM in General 3D Printing Discussion