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

Cura 2.4

Scheduled Pinned Locked Moved
General Discussion
7
15
4.4k
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
    burtoogle
    last edited by 26 Feb 2017, 16:24

    Ah, I don't send directly from Cura to the Duet, I just save the gcode file to disk and then upload from the Duet web interface.

    1 Reply Last reply Reply Quote 0
    • undefined
      3dprinting meathead
      last edited by 26 Feb 2017, 16:32

      @burtoogle:

      Hi, I am using the Cura bleeding edge (beyond 2.4) with my Duet powered Kossel XL.

      In Cura I have added a custom FDM printer - gcode flavour is RepRap.

      I then edited some of the machine settings to set dimensions, start/stop gcode, etc.

      The start gcode is:

      G28 ; home all axes
      G1 X0 Y0 Z25 F8000 ; descend
      M82 ; extruder absolute mode

      The end gcode is:

      M83 ; extruder relative mode
      M104 S0 ; turn off extruder
      M140 S0 ; turn off bed
      M106 S0 ; turn off fan
      G28 ; home
      M84 ; disable motors

      All of the Duet macros that fiddle with the extruder (load/unload, etc.) start with M83 to set relative mode.

      That's about it, if you have any specific questions, I am happy to respond.

      Ok, just to clarify, I shouldn't run M83 in the start code? I'm trying to get cura going now, but all I get is puddles of filament.

      Thanks for explaining, I am as my handle implies

      If I can learn it, than anyone can learn it.

      1 Reply Last reply Reply Quote 0
      • undefined
        burtoogle
        last edited by 26 Feb 2017, 16:36

        No, the start code (what gets inserted at the top of each job) should have M82 to set absolute extruder mode which is what Cura uses.

        1 Reply Last reply Reply Quote 0
        • undefined
          3dprinting meathead
          last edited by 26 Feb 2017, 16:45

          Yup, that fixed it. slic3r worked fine for me, but cura went wonky. I'll have to research the difference between the exact and relative so I can better understand it, so I can better understand g code.

          Thanks!

          If I can learn it, than anyone can learn it.

          1 Reply Last reply Reply Quote 0
          • undefined
            deckingman
            last edited by 26 Feb 2017, 17:25

            @3dprinting:

            Yup, that fixed it. slic3r worked fine for me, but cura went wonky. I'll have to research the difference between the exact and relative so I can better understand it, so I can better understand g code.

            Thanks!

            Absolute sends the axis or extruder to a point relative to zero. Relative sends it to a point relative to where it is at the time the command was sent. So, if part way through a print, one had extruded say 100mm of filament then sent an absolute command to extrude to E103, it would extrude another 3mm to bring the absolute extrusion up to 103mm from zero. If it was relative, it would extrude 103mm of filament -i.e 103mm on top of the 100mm that had been extruded. You can tell if the gcode file has absolute extrusion commands because the values just keep increasing throughout the file (i.e they keep getting further away from the starting point of zero).

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

            1 Reply Last reply Reply Quote 0
            • undefined
              3dprinting meathead
              last edited by 26 Feb 2017, 19:05

              @deckingman:

              @3dprinting:

              Yup, that fixed it. slic3r worked fine for me, but cura went wonky. I'll have to research the difference between the exact and relative so I can better understand it, so I can better understand g code.

              Thanks!

              Absolute sends the axis or extruder to a point relative to zero. Relative sends it to a point relative to where it is at the time the command was sent. So, if part way through a print, one had extruded say 100mm of filament then sent an absolute command to extrude to E103, it would extrude another 3mm to bring the absolute extrusion up to 103mm from zero. If it was relative, it would extrude 103mm of filament -i.e 103mm on top of the 100mm that had been extruded. You can tell if the gcode file has absolute extrusion commands because the values just keep increasing throughout the file (i.e they keep getting further away from the starting point of zero).

              Ok, that makes a lot of sense. thank you.

              If I can learn it, than anyone can learn it.

              1 Reply Last reply Reply Quote 0
              • undefined
                DjDemonD
                last edited by 26 Feb 2017, 19:08

                Since these are two ways of doing the same thing what's are the pros/cons of using one over the other.

                Simon. Precision Piezo Z-Probe Technology
                www.precisionpiezo.co.uk
                PT1000 cartridge sensors NOW IN, just attach to your Duet board directly!

                1 Reply Last reply Reply Quote 0
                • undefined
                  deckingman
                  last edited by 26 Feb 2017, 19:47

                  Hi DJ,

                  I don't think there are any pros or cons of one vs the other (DC42 might step here with his usual well informed opinion though). It's all relative though - either relative to zero or relative to the current position. With Slic3r, we use a combination of both - absolute for X, Y and Z but relative for E.

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

                  1 Reply Last reply Reply Quote 0
                  • undefined
                    T3P3Tony administrators
                    last edited by 26 Feb 2017, 20:27

                    For axis movement both absolute and relative movement have their place.

                    Absolute is require when you want the printer to go to a specific position when the current position could vary, an example of this is a purge/wipe macro where there is a specific location that the action needs to be carried out. Absolute is also alot easier to work with and read for.most other axis tasks.

                    Relative movement is required when you want to move a specific distance, no matter what your start position. An example of this could be in end gcode, when you lift the hotend by a couple of mm before moving it away from the object.

                    For extrusion there is less of a point in absolute movement, relative makes more sense in all situations. There is a small advantage in being able to look at the end of the file and see the total length of filament used but that is not really a good reason as most slicers add it up for you anyway. I am not sure why Cura has stuck with absolute extrusion, Ultimaker may have a reason or it may just be tradition.

                    www.duet3d.com

                    1 Reply Last reply Reply Quote 0
                    • undefined
                      pcsentinel
                      last edited by 27 Feb 2017, 06:56

                      Great discussion, but my oroginal question was how to connect Cura 2.4 to DuetWifi over netwrok, has anyone done this and if so how did they set up Cura?

                      1 Reply Last reply Reply Quote 0
                      • undefined
                        T3P3Tony administrators
                        last edited by 27 Feb 2017, 09:38

                        The network connectivity from Cura is specific to Ultimaker printers so you need to save the file and then upload it using DWC.

                        www.duet3d.com

                        1 Reply Last reply Reply Quote 0
                        • undefined
                          PProvost
                          last edited by 25 Mar 2017, 05:30

                          @T3P3Tony:

                          The network connectivity from Cura is specific to Ultimaker printers so you need to save the file and then upload it using DWC.

                          Actually, there is a Cura plugin that connects to Octoprint, so there is a way. I just haven't had time to hack into the code and figure it out for the Duet yet. If someone else wants to give it a shot, the Octoprint plugin is on gcode.

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