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

    G-Code 5 axis sample code

    Scheduled Pinned Locked Moved Unsolved
    General Discussion
    3
    12
    480
    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.
    • JoergS5undefined
      JoergS5
      last edited by JoergS5

      I try to finish the CoreXY 5 axis prototype to test RobotType kinematics, but I don' have a G-Code file to test it. The software which exists is expensive or needs time to invest for setup. And when I created the code, I'm still not sure whether an error is due to the created code, the created printer or the created firmware.

      Is it possible to gather samples of license free 5 axis G-Code and make a repository for testing? Can you provide a sample please, which is proved to be error-free?

      I would prefer if the Duet team stores it in the Duet realm, but I can create a github on my own site if necessary.

      I know that G-Code is machine specific, but if standardizing on a few common properties like 0.4 nozzle, it should be possible a G-Code where maybe only the header will need modifification.

      The samples could be categorized by

      • small objects, big objects
      • for AC or for BC
      • nice looking or for calibration purpose
      • later there can be more categories, like multitool with toolchanger

      Something like a Benchy, but with difference between left and right, so object mirroring can be deteced.

      o_lampeundefined dc42undefined 2 Replies Last reply Reply Quote 0
      • JoergS5undefined JoergS5 marked this topic as a question
      • o_lampeundefined
        o_lampe @JoergS5
        last edited by

        @JoergS5 It's probably the wrong forum to ask for any 5 axis gcode, since RRF doesn't support it yet.
        The only guy I know, using Duet boards on his 5 axis Prusa build uses grasshoper slicer on Rhino3D. Maybe you can ask him on his own homepage?

        JoergS5undefined 1 Reply Last reply Reply Quote 0
        • JoergS5undefined
          JoergS5 @o_lampe
          last edited by

          @o_lampe Thank you, I know Freddie Hong. Rhino is not free, unfortunatley it's 1000 $ for me (I am no student and not commercial => bad combination here).

          You may be right, I'll make the firmware without code. I hope I get it correctly.

          You'll be pleased by my CoreXY prototype 😉 You'll understand why when I post the images.

          o_lampeundefined 1 Reply Last reply Reply Quote 0
          • o_lampeundefined
            o_lampe @JoergS5
            last edited by

            @JoergS5 It's a hen & egg problem obviously. Lucky for you, there is a guy already waiting for your code to test it.
            Quite different to the multi-gcode feature of RRF3.5. I expected to already see some reports of running machines, but it takes surprisingly long time for the 'guinea pig' hens to lay an egg 😉

            JoergS5undefined 1 Reply Last reply Reply Quote 0
            • JoergS5undefined
              JoergS5 @o_lampe
              last edited by

              @o_lampe I second every of your words. I review yesterday some of my old posts and prototype builds and I was a bit shocked how long it takes. The only excuses I
              have is that there was a lot to learn and a "private issue".

              It's a shame that school didn't prepare me to complex numbers and e.

              o_lampeundefined 1 Reply Last reply Reply Quote 0
              • o_lampeundefined
                o_lampe @JoergS5
                last edited by

                @JoergS5 said in G-Code 5 axis sample code:

                It's a shame that school didn't prepare me to complex numbers

                In school they told us that it's not possible to take the square root of -1, ten years later they showed me the workaround...

                At least you didn't run in circles, but progressed from DH parameters to screw parameters.

                JoergS5undefined 1 Reply Last reply Reply Quote 0
                • JoergS5undefined
                  JoergS5 @o_lampe
                  last edited by

                  @o_lampe said in G-Code 5 axis sample code:

                  you didn't run in circles

                  that's a good yoke! I didn't run in circles, I run in screws 😉

                  JoergS5undefined 1 Reply Last reply Reply Quote 1
                  • JoergS5undefined
                    JoergS5 @JoergS5
                    last edited by

                    @JoergS5 like Fibonacci (which I didn'nt have in school also)

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

                      @JoergS5 take a look at https://fullcontrolgcode.com/. It can generate 5- axis code.

                      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

                      JoergS5undefined 1 Reply Last reply Reply Quote 1
                      • JoergS5undefined
                        JoergS5 @dc42
                        last edited by

                        @dc42 said in G-Code 5 axis sample code:

                        @JoergS5 take a look at https://fullcontrolgcode.com/. It can generate 5- axis code.

                        thanks a lot David to tell me! I know FullControl from the Excel version, it is a great program (I don't have Excel however). I missed the news that it is Python now. I'll try it for 5 axis.

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

                          @JoergS5 I'm not sure whether the standard version can generate 5-axis GCode or whether that is a different version. User @brendon would be able to tell you.

                          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

                          JoergS5undefined 1 Reply Last reply Reply Quote 0
                          • JoergS5undefined
                            JoergS5 @dc42
                            last edited by JoergS5

                            @dc42 there is some information about "FullControlXYZ 5-axis pipe design tool" which offers the required functionality. I'll try it when I finished the prototype.

                            A link is eg here:
                            https://fullcontrol.xyz/#/models/duet22
                            (Edit: this links cannot produced code. But I saw samples on Twitter and LInkedin. Should function).

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