• Tags
  • Documentation
  • Order
  • Register
  • Login
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.
  • undefined
    JoergS5
    last edited by JoergS5 6 Feb 2023, 07:09 2 Jun 2023, 06:12

    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.

    undefined undefined 2 Replies Last reply 3 Jun 2023, 05:15 Reply Quote 0
    • undefined JoergS5 marked this topic as a question 2 Jun 2023, 07:09
    • undefined
      o_lampe @JoergS5
      last edited by 3 Jun 2023, 05:15

      @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?

      undefined 1 Reply Last reply 3 Jun 2023, 05:28 Reply Quote 0
      • undefined
        JoergS5 @o_lampe
        last edited by 3 Jun 2023, 05:28

        @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.

        undefined 1 Reply Last reply 3 Jun 2023, 05:37 Reply Quote 0
        • undefined
          o_lampe @JoergS5
          last edited by 3 Jun 2023, 05:37

          @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 😉

          undefined 1 Reply Last reply 3 Jun 2023, 05:43 Reply Quote 0
          • undefined
            JoergS5 @o_lampe
            last edited by 3 Jun 2023, 05:43

            @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.

            undefined 1 Reply Last reply 3 Jun 2023, 05:53 Reply Quote 0
            • undefined
              o_lampe @JoergS5
              last edited by 3 Jun 2023, 05:53

              @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.

              undefined 1 Reply Last reply 3 Jun 2023, 05:57 Reply Quote 0
              • undefined
                JoergS5 @o_lampe
                last edited by 3 Jun 2023, 05:57

                @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 😉

                undefined 1 Reply Last reply 3 Jun 2023, 05:59 Reply Quote 1
                • undefined
                  JoergS5 @JoergS5
                  last edited by 3 Jun 2023, 05:59

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

                  1 Reply Last reply Reply Quote 0
                  • undefined
                    dc42 administrators @JoergS5
                    last edited by 4 Jun 2023, 06:28

                    @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

                    undefined 1 Reply Last reply 4 Jun 2023, 06:41 Reply Quote 1
                    • undefined
                      JoergS5 @dc42
                      last edited by 4 Jun 2023, 06:41

                      @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.

                      undefined 1 Reply Last reply 4 Jun 2023, 12:51 Reply Quote 0
                      • undefined
                        dc42 administrators @JoergS5
                        last edited by 4 Jun 2023, 12:51

                        @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

                        undefined 1 Reply Last reply 4 Jun 2023, 13:29 Reply Quote 0
                        • undefined
                          JoergS5 @dc42
                          last edited by JoergS5 6 Apr 2023, 13:33 4 Jun 2023, 13:29

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