• Tags
  • Documentation
  • Order
  • Register
  • Login
Duet3D Logo Duet3D
  • Tags
  • Documentation
  • Order
  • Register
  • Login

Edit g code in the directory

Scheduled Pinned Locked Moved
Duet Web Control wishlist
3
9
1.4k
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • undefined
    3dprinting meathead
    last edited by 22 Feb 2017, 19:50

    I'm not sure how hard this is to do, but if I wanted to adjust temperature or view the g code, it would be cool to pull it up without having to open a slicer and reload a modelor manually override a setting as it's called up by the g code. Maybe it wouldn't be all that useful, but it would be cool, and easier to share a g code with a forum for troubleshooting.

    If I can learn it, than anyone can learn it.

    1 Reply Last reply Reply Quote 0
    • undefined
      deckingman
      last edited by 22 Feb 2017, 20:09

      AFAIK there isn't a way to do this via the web interface but a gcode file is just a text file so it's pretty easy to make minor changes with any text editor. I do it quite a lot and have also written a couple of python scripts to do some more serious changes. For minor changes such as tools or temperatures, I use notepad++. It's free.

      Ian
      https://somei3deas.wordpress.com/
      https://www.youtube.com/@deckingman

      1 Reply Last reply Reply Quote 0
      • undefined
        3dprinting meathead
        last edited by 22 Feb 2017, 20:23

        @deckingman:

        AFAIK there isn't a way to do this via the web interface but a gcode file is just a text file so it's pretty easy to make minor changes with any text editor. I do it quite a lot and have also written a couple of python scripts to do some more serious changes. For minor changes such as tools or temperatures, I use notepad++. It's free.

        well, your macros are just a gcode text and you can do that via interface, is it any different to do it with a g code print?

        it would save the time of loading, and uploading a file to the interface.

        If I can learn it, than anyone can learn it.

        1 Reply Last reply Reply Quote 0
        • undefined
          PDBeal
          last edited by 22 Feb 2017, 20:28

          Only issue with trying to edit the g-code files on the web interface would be the size of the g-code files might be way too big for the editor that they use to edit config files and macros. I know some of my gcode files are in the 20-30MB range.

          1 Reply Last reply Reply Quote 0
          • undefined
            deckingman
            last edited by 22 Feb 2017, 20:38

            @PDBeal:

            Only issue with trying to edit the g-code files on the web interface would be the size of the g-code files might be way too big for the editor that they use to edit config files and macros. I know some of my gcode files are in the 20-30MB range.

            Good point. I have one that's 105MB and I don't suppose that is any sort of record.

            Ian
            https://somei3deas.wordpress.com/
            https://www.youtube.com/@deckingman

            1 Reply Last reply Reply Quote 0
            • undefined
              3dprinting meathead
              last edited by 22 Feb 2017, 20:40

              @PDBeal:

              Only issue with trying to edit the g-code files on the web interface would be the size of the g-code files might be way too big for the editor that they use to edit config files and macros. I know some of my gcode files are in the 20-30MB range.

              Is that the g code file or the stl file? I have a 49mb partial moon stl that converted to 2.19mb of g code.

              It's still a valid point though, that might be an issue

              If I can learn it, than anyone can learn it.

              1 Reply Last reply Reply Quote 0
              • undefined
                PDBeal
                last edited by 22 Feb 2017, 20:46

                That was G-code. I downloaded Pascal from Thingiverse for my daughter. The STL file was ~20MB, the sliced G-code with support was ~32MB.

                1 Reply Last reply Reply Quote 0
                • undefined
                  3dprinting meathead
                  last edited by 22 Feb 2017, 20:49

                  @PDBeal:

                  That was G-code. I downloaded Pascal from Thingiverse for my daughter. The STL file was ~20MB, the sliced G-code with support was ~32MB.

                  Well, I'd assume(dangerous to do so) if a file was to big to edit, it would show an error-too big message and no harm done. I guess the question would be how big a file can the editor view.

                  By the way, that's a huge file!

                  If I can learn it, than anyone can learn it.

                  1 Reply Last reply Reply Quote 0
                  • undefined
                    deckingman
                    last edited by 22 Feb 2017, 21:47

                    If you're interested, this is my 105MB gcode being printed https://www.youtube.com/watch?v=ZLwHOcH_UFk

                    Ian
                    https://somei3deas.wordpress.com/
                    https://www.youtube.com/@deckingman

                    1 Reply Last reply Reply Quote 0
                    1 out of 9
                    • First post
                      1/9
                      Last post
                    Unless otherwise noted, all forum content is licensed under CC-BY-SA