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

    Post Process Gcode with macro

    Scheduled Pinned Locked Moved
    General Discussion
    4
    8
    1.1k
    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.
    • Adamfilipundefined
      Adamfilip
      last edited by

      Is it possible to post process Gcode files with a Macro

      I would like to search for Layer 2 and insert some custom GCode, using a macro

      1 Reply Last reply Reply Quote 0
      • dc42undefined
        dc42 administrators
        last edited by

        Most slicers have a facility to post process the output.

        Duet WiFi hardware designer and firmware engineer
        Please do not ask me for Duet support via PM or email, use the forum
        http://www.escher3d.com, https://miscsolutions.wordpress.com

        1 Reply Last reply Reply Quote 0
        • T3P3Tonyundefined
          T3P3Tony administrators
          last edited by

          I found this for Cura:

          https://ultimaker.com/en/resources/20442-post-processing-plugins

          www.duet3d.com

          1 Reply Last reply Reply Quote 0
          • deckingmanundefined
            deckingman
            last edited by

            For something simple like adding gcode commands at layer 2, I use notepad++. For more complex things like changing the mixing ratio every other layer throughout the print, I write little Python scripts. Dunno if that helps........

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

            1 Reply Last reply Reply Quote 0
            • Adamfilipundefined
              Adamfilip
              last edited by

              trying to avoid manual file editing, if i can

              T3P3Tonyundefined 1 Reply Last reply Reply Quote 0
              • T3P3Tonyundefined
                T3P3Tony administrators @Adamfilip
                last edited by

                @adamfilip yeah @deckingman's python scripts are a good option for more complex post processing.

                www.duet3d.com

                1 Reply Last reply Reply Quote 0
                • Adamfilipundefined
                  Adamfilip
                  last edited by

                  ok going to have to look into it. Never written Python, never been much of a Coder 🙂

                  deckingmanundefined 1 Reply Last reply Reply Quote 0
                  • deckingmanundefined
                    deckingman @Adamfilip
                    last edited by

                    @adamfilip said in Post Process Gcode with macro:

                    ok going to have to look into it. Never written Python, never been much of a Coder 🙂

                    Me neither. I'm a soon to be pensioner, a mechanical engineer by training and a carpenter by career choice, but I managed to pick up enough to do what I need to - via Google and YouTube mostly.

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

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