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

    My custom Cartesian

    Scheduled Pinned Locked Moved
    My Duet controlled machine
    14
    152
    23.2k
    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.
    • whosrdaddyundefined
      whosrdaddy
      last edited by

      @wilriker said in My custom Cartesian:

      I don't like the UI - it looks like from the 90s

      But at least it's fast! 😸 😸

      wilrikerundefined 1 Reply Last reply Reply Quote 0
      • wilrikerundefined
        wilriker @whosrdaddy
        last edited by

        @whosrdaddy That's right.

        OK, now I found where to set the values for speed, accel, jerk etc. but the default values contain two values and I cannot find which one stands for what. Any input on this, anyone?

        Manuel
        Duet 3 6HC (v0.6) with RPi 4B on a custom Cartesian
        with probably always latest firmware/DWC (incl. betas or self-compiled)
        My Tool Collection

        deckingmanundefined 1 Reply Last reply Reply Quote 0
        • whosrdaddyundefined
          whosrdaddy
          last edited by

          what do you mean with 2 values?

          I have these for my i3 clone:

          alt text

          wilrikerundefined 1 Reply Last reply Reply Quote 0
          • deckingmanundefined
            deckingman @wilriker
            last edited by

            @wilriker said in My custom Cartesian:

            @whosrdaddy That's right.

            OK, now I found where to set the values for speed, accel, jerk etc. but the default values contain two values and I cannot find which one stands for what. Any input on this, anyone?

            What @whosrdaddy said. Also, if you let the mouse hover one of the input boxes, you'll get a little pop-up that explains what it does.

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

            1 Reply Last reply Reply Quote 0
            • wilrikerundefined
              wilriker @whosrdaddy
              last edited by

              @whosrdaddy I mean the <printer profile name>.ini file where all the settings are persisted. There will be lines

              machine_max_acceleration_e = 10000,5000
              machine_max_acceleration_extruding = 1500,1250
              machine_max_acceleration_retracting = 1500,1250
              machine_max_acceleration_x = 9000,1000
              machine_max_acceleration_y = 9000,1000
              machine_max_acceleration_z = 500,200
              machine_max_feedrate_e = 120,120
              machine_max_feedrate_x = 500,200
              machine_max_feedrate_y = 500,200
              machine_max_feedrate_z = 12,12
              machine_max_jerk_e = 2.5,2.5
              machine_max_jerk_x = 10,10
              machine_max_jerk_y = 10,10
              machine_max_jerk_z = 0.2,0.4
              machine_min_extruding_rate = 0,0
              machine_min_travel_rate = 0,0
              

              where every property has two values. After downloading and searching the source code I found out that the second value is for "silent mode printing".

              Manuel
              Duet 3 6HC (v0.6) with RPi 4B on a custom Cartesian
              with probably always latest firmware/DWC (incl. betas or self-compiled)
              My Tool Collection

              whosrdaddyundefined 1 Reply Last reply Reply Quote 0
              • whosrdaddyundefined
                whosrdaddy @wilriker
                last edited by

                @wilriker Oh I see now 🙂
                I never bother with the ini files, the gui is easy enough to tweak the settings.
                I am not even sure if these ini settings are used when choosing a firmware other than Marlin...

                wilrikerundefined 1 Reply Last reply Reply Quote 0
                • wilrikerundefined
                  wilriker @whosrdaddy
                  last edited by wilriker

                  @whosrdaddy AFAICT from the source code they are used for the print time estimation. Though I have to look deeper into it because changing it to my actual values set in config.g did not change the estimated print time at all. I must have missed some setting.

                  Also there is no GUI part where I can set acceleration, max feedrate and jerk settings. At least I have not found it.

                  EDIT: It did not change the estimates as the settings in the config file will only be applied if Gcode flavor is Marlin. Otherwise they use the hardcoded defaults. 🤦

                  Manuel
                  Duet 3 6HC (v0.6) with RPi 4B on a custom Cartesian
                  with probably always latest firmware/DWC (incl. betas or self-compiled)
                  My Tool Collection

                  whosrdaddyundefined 1 Reply Last reply Reply Quote 0
                  • whosrdaddyundefined
                    whosrdaddy @wilriker
                    last edited by whosrdaddy

                    @wilriker : hardcoded, so it means you cannot change it at all?
                    can you point the the correct source file, I can recompile the application so I would love to test this.
                    I must say that the estimate Slic3r PE gives me is actually quite close to the real world outcome...

                    wilrikerundefined 1 Reply Last reply Reply Quote 0
                    • Phaedruxundefined
                      Phaedrux Moderator
                      last edited by

                      The time estimates may only be valid for actual Prusa printers running Marlin as they use the Marlin motion planner. The two speed values are for the MK2 and MK3 which have high power and silent mode. The silent mode speeds were just added in order to make their speeds more accurate.

                      The slicer defaults are probably 6 years old now and come from original slic3r. The Prusa profiles are a bit fresher take on it.

                      Z-Bot CoreXY Build | Thingiverse Profile

                      1 Reply Last reply Reply Quote 0
                      • wilrikerundefined
                        wilriker @whosrdaddy
                        last edited by wilriker

                        @whosrdaddy I only looked at the source code part where they would be overwritten if the flavor is Marlin. That you can find at
                        xs/src/libslic3r/GCode.cpp:489
                        the defaults seem to be either in
                        xs/src/libslic3r/PrintConfig.cpp:961
                        or
                        xs/src/libslic3r/GCodeTimeEstimator.cpp:19

                        EDIT: since I have my acceleration very low (not tuned yet, still using the values from Marlin from times before Duet) and Slic3r has much higher defaults it will estimate print times considerably shorter.

                        Manuel
                        Duet 3 6HC (v0.6) with RPi 4B on a custom Cartesian
                        with probably always latest firmware/DWC (incl. betas or self-compiled)
                        My Tool Collection

                        1 Reply Last reply Reply Quote 0
                        • Phaedruxundefined
                          Phaedrux Moderator
                          last edited by

                          Just curious, but how long after installing slic3r before you were into the source code? Was that before or after you did a test print? 😁

                          Z-Bot CoreXY Build | Thingiverse Profile

                          wilrikerundefined 1 Reply Last reply Reply Quote 0
                          • OBELIKSundefined
                            OBELIKS
                            last edited by

                            I'm betting it was before. 😀

                            P3Steel Toolson mk2 - Duet 2 WiFi --> RatRig V-Core with Duet WiFi 1.03
                            Original Prusa i3 MK3S

                            1 Reply Last reply Reply Quote 0
                            • wilrikerundefined
                              wilriker @Phaedrux
                              last edited by

                              @phaedrux Man, what do you think of me? Of course it was before the first print. 😂 But I have to admit it was after slicing and uploading the generated Gcode to my Duet. 😟

                              But seriously, I would not have done/needed that if there would have been any clue on what these two different values for every speed-related property in the .ini file meant.

                              Manuel
                              Duet 3 6HC (v0.6) with RPi 4B on a custom Cartesian
                              with probably always latest firmware/DWC (incl. betas or self-compiled)
                              My Tool Collection

                              1 Reply Last reply Reply Quote 0
                              • Phaedruxundefined
                                Phaedrux Moderator
                                last edited by

                                What gcode flavour do you have configured in the printer settings? Marlin or reprap?

                                Z-Bot CoreXY Build | Thingiverse Profile

                                wilrikerundefined 1 Reply Last reply Reply Quote 0
                                • wilrikerundefined
                                  wilriker @Phaedrux
                                  last edited by

                                  @phaedrux RepRap of course(?).

                                  Manuel
                                  Duet 3 6HC (v0.6) with RPi 4B on a custom Cartesian
                                  with probably always latest firmware/DWC (incl. betas or self-compiled)
                                  My Tool Collection

                                  1 Reply Last reply Reply Quote 0
                                  • Phaedruxundefined
                                    Phaedrux Moderator
                                    last edited by

                                    It's starting to seem like the time estimates are only remotely accurate if using Marlin, otherwise it reverts to using the old way of estimating, which doesn't take into account any acceleration values.

                                    Z-Bot CoreXY Build | Thingiverse Profile

                                    wilrikerundefined 1 Reply Last reply Reply Quote 0
                                    • wilrikerundefined
                                      wilriker @Phaedrux
                                      last edited by

                                      @phaedrux As I said earlier if it is not Marlin it will consider jerk, acceleration and max feedrate values but they are not configurable but only the hardcoded defaults.

                                      Manuel
                                      Duet 3 6HC (v0.6) with RPi 4B on a custom Cartesian
                                      with probably always latest firmware/DWC (incl. betas or self-compiled)
                                      My Tool Collection

                                      1 Reply Last reply Reply Quote 0
                                      • Phaedruxundefined
                                        Phaedrux Moderator
                                        last edited by

                                        I suppose that's one advantage Cura has, since you can specify all speed settings and the path planner takes everything into account for very accurate time estimates.

                                        Z-Bot CoreXY Build | Thingiverse Profile

                                        wilrikerundefined 1 Reply Last reply Reply Quote 0
                                        • wilrikerundefined
                                          wilriker @Phaedrux
                                          last edited by

                                          @phaedrux Yeah, in Cura my estimates are usually within single digits of what Duet gives as simulation.

                                          Funnily I found a comment in Slic3r's time estimator that it is partially inspired by Cura's time estimator. 🙂

                                          I am not in the mood of doing yet another patch-your-slicer approach (as I currently do with Cura until the next release when the Bugfix I require will finally be included) just to get those estimates right (just wait a few days and see me change my mind about that - or implement a UI part to set these values 😂 ).

                                          Manuel
                                          Duet 3 6HC (v0.6) with RPi 4B on a custom Cartesian
                                          with probably always latest firmware/DWC (incl. betas or self-compiled)
                                          My Tool Collection

                                          Phaedruxundefined 1 Reply Last reply Reply Quote 0
                                          • Phaedruxundefined
                                            Phaedrux Moderator @wilriker
                                            last edited by

                                            @wilriker Well if print time estimates are your biggest printing issue, you're definitely ahead of the game. 😉

                                            Prusa has been putting a lot of work into Slic3r, and it sounds like the near future will incorporate the modern interface of the Prusa Control basic slicer with the back end slicing engine of Slic3r. So it won't look like it's from the 90's anymore.

                                            It's too bad they are so heavily focusing on Marlin to the exclusion of others. I understand that they are highly integrated with their own version of Marlin firmware, but it would be nice if the gcode flavour switch actually allowed their features to work with other flavours.

                                            At any rate, Slic3r does produce good gcode and the interface is definitely a lot faster than Cura for me at least. It lacks some features and has some others. But generally if I just want to quickly slice something and print it, Slic3r is my go to.

                                            Z-Bot CoreXY Build | Thingiverse Profile

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