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

Delta printer Z axis movement vs Z tower movement

Scheduled Pinned Locked Moved
Duet Hardware and wiring
3
8
907
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
    jmjcoke2
    last edited by 1 Apr 2018, 21:47

    I need to create an axis that follows the the Z axis of a delta, not the Z tower movement, just the Z coordinate. Other firmwares use the alpha, beta, gamma for the tower movement, is there a way I can separate this in RRF? I have thought of doing this with gcode using a U axis that follows the Z position but I would rather use the hardware.

    1 Reply Last reply Reply Quote 0
    • undefined
      dc42 administrators
      last edited by 2 Apr 2018, 09:02

      Here are two possibilities:

      1. Add a new kinematics class to the firmware, derived from class LinearDeltaKinematics, but with the coordinate transfer functions changed to make the U axis follow the Z coordinate. I may do this myself soon, but I need to complete the RTOS work first.

      2. Use a GCode Post-processor to replace all commands in the GCode file of the form G1 Znn by G1 Znn Unn.

      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
      • undefined
        jmjcoke2
        last edited by 2 Apr 2018, 12:31

        Thank you for the info.

        1 Reply Last reply Reply Quote 0
        • undefined
          Danal
          last edited by 4 Feb 2018, 14:18 2 Apr 2018, 14:17

          @dc42:

          2. Use a GCode Post-processor to replace all commands in the GCode file of the form G1 Znn by G1 Znn Unn.

          That "GCode Post-processor" could be as simple as a 'sed' command. And there are several 'sed' for windows available.

          I will see if I can come up with an example later tonight.

          Delta / Kossel printer fanatic

          1 Reply Last reply Reply Quote 0
          • undefined
            Danal
            last edited by 2 Apr 2018, 16:35

            This works on a Mac, and would be very close on any other platform:

            [[language]]
            sed -E 's/ Z([0-9\.]*)/ Z\1 U\1/g'

            You might NOT need the -E flag on other platforms. Maybe.

            The above will produce the output to stdout, meaning you'd need to > it to another file. Something like

            [[language]]
            sed -E 's/ Z([0-9\.]*)/ Z\1 U\1/g' Original.gcode > Modified.gcode

            Delta / Kossel printer fanatic

            1 Reply Last reply Reply Quote 0
            • undefined
              jmjcoke2
              last edited by 3 Apr 2018, 01:46

              Thanks Danal, I had to fire up the old macbookpro to use sed, it did not work in windows sed but worked great on the mac. I am making a side dump axis that follows the z axis for printing with a Mosaic Pallette+. This will save so much print time and filament.

              1 Reply Last reply Reply Quote 0
              • undefined
                Danal
                last edited by 3 Apr 2018, 02:38

                Ooooh… tell me more. I am really itching to get a Pallette+

                Delta / Kossel printer fanatic

                1 Reply Last reply Reply Quote 0
                • undefined
                  dc42 administrators
                  last edited by 3 Apr 2018, 05:45

                  You can get sed for Windows here: http://gnuwin32.sourceforge.net/packages/sed.htm.

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