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

    Are G2/G3 arcs still broken into G1 segments?

    Scheduled Pinned Locked Moved Solved
    General Discussion
    5
    8
    568
    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.
    • TDKundefined
      TDK
      last edited by

      In the documentation, there is nothing that indicates that G2/G3 commands are broken up into line segments. I know this is what has traditionally been done. Does RRF 3.x still break arcs up into segments? Still a fixed 0.2mm distance per segment?

      The best I could find while searching was this ~2 year old post where dc24 said arcs are broken up into 0.2mm segments:
      https://forum.duet3d.com/topic/7983/g1-vs-g2-g3-for-cnc/6

      I'm trying to avoid ringing issues and wondering if converting lines to arcs and slightly rounding paths prior to printing would help at all.

      1 Reply Last reply Reply Quote 0
      • botundefined
        bot
        last edited by

        IIRC, they are segmented with a length that depends on the radius of the arc. It's a hardcoded relationship. I'm not aware of exactly how or where it's implemented in code.

        *not actually a robot

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

          G2 and G3 commands are still broken into line segments. However, a G2 or G3 command is much more efficient for the Duet to processes than the equivalent set of G1 commands.

          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

          TDKundefined 1 Reply Last reply Reply Quote 0
          • TDKundefined
            TDK @dc42
            last edited by

            @dc42 said in Are G2/G3 arcs still broken into G1 segments?:

            G2 and G3 commands are still broken into line segments. However, a G2 or G3 command is much more efficient for the Duet to processes than the equivalent set of G1 commands.

            Thanks for confirming. Does the user have any control over how this is done or is it a hard-coded 0.2mm per segment?

            A Former User? 1 Reply Last reply Reply Quote 0
            • PCRundefined
              PCR
              last edited by

              https://hackaday.com/2020/11/03/this-gcode-post-processor-squeezes-lines-into-arcs/

              1 Reply Last reply Reply Quote 0
              • A Former User?
                A Former User @TDK
                last edited by

                @TDK
                (...some time in the future with a higher processor-speed maybe and superduper high motor movements would be great to be able to break this segments down as fine as a user wants... +1 here for maybe the duet4 or so... (with current speed and resolutions I do not need it really - let´s wait till we have slicer and mainboards that support vectors first maybe?))

                1 Reply Last reply Reply Quote 0
                • TDKundefined
                  TDK
                  last edited by

                  Very much not a new thing:
                  https://github.com/TheLongRunSmoke/g1tog23

                  I saw in other posts that the distance is not user-configurable, and is actually not fixed, but it's hard to know if that is still accurate.

                  Still a bit disappointed G2/G3 isn't natively supported but it is what it is. I didn't verify the fix in the latest RC.

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

                    The segment size used to approximate arcs varies according to the requested speed. The slower speeds typically used by CNC machine Gcode give rise to smaller segments.

                    Is the segment size chosen by RRF causing a problem on the job you are running?

                    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
                    • First post
                      Last post
                    Unless otherwise noted, all forum content is licensed under CC-BY-SA