What software can you recommend to open and edit the gcode files?
I’ve always used Notepad++ because it’s what I’ve had installed for other things. Kinda overkill for gcode though. You could also just use the notepad.
Notepad doesn’t work. I assumed it’s some kind of binary file as it reminds me of when I would open old Makerbot files in Notepad… it’s all garbled characters.
I’ll try notepad ++
If youre seeing binary its not the gcode file - these are plaintext.
You’re likely looking at a 3mf. a 3mf is just a zip / tar archive under a different name, you can open it up with 7zip and find the real gcode inside it.
Edit: you should see thigns like this. it’ll look exactly like the output in the corner of yoru slicer preview, just simple lines of commands, semicolon is the comment character
Opening the xxx.gcode file in notepad gives me this:
In properties it says the file is xxxx.3mf. I can’t find a reader/editer for this file.
A 3mf file is a zip/tar archive. File of files.
Download 7zip
Open the 3mf file with 7zip and look thru the folder structure for the gcode file.
Edit: or if you’re the one producing these files, just use export as gcode instead of whatever else
Thanks. Exactly what I was looking for. ![]()
Then more questions:
- Can the H2D read just the gcode file? I haven’t looked at it in detail but the header is huge. I assume all the prep work (purge, prime, bed levelling, etc) is in there somewhere.
- Editing the gcode file and repackaging it along witht the other folders as a 3mf… works?
I will play around with myself but probably only over the weekend. Many thanks again.
Yes.
Yes, but with the caveat that you can’t repackage the entire file.
Here are the steps.


