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

Terrible print quality using Octoprint over USB connection

Scheduled Pinned Locked Moved Unsolved
General Discussion
6
22
1.9k
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
    Phaedrux Moderator @dc42
    last edited by 26 Jul 2019, 17:35

    @dc42 said in Terrible print quality using Octoprint over USB connection:

    I don't know whether that ever made it into the Octoprint source as a user-settable option.

    Yes, it is configurable now.

    @dc42 said in Terrible print quality using Octoprint over USB connection:

    can you run the Mosaic from the Duet? I think other users have done that.

    No, the Octoprint device is still required to synchronize the printer with the palette. You can try to use the Palette directly with the Duet without the octoprint, but synchronization is much harder to do with physical filament "pings". (Not that it's great with the octoprint either, but I digress)

    @wesc said in Terrible print quality using Octoprint over USB connection:

    Nothing of significance has changed about my machine since then.

    Nothing at all? Or nothing that you think is significant?

    @wesc said in Terrible print quality using Octoprint over USB connection:

    2.03RC5

    Perhaps time to update to the full release of 2.03

    Z-Bot CoreXY Build | Thingiverse Profile

    1 Reply Last reply Reply Quote 0
    • undefined
      wesc
      last edited by 26 Jul 2019, 17:51

      Phaedrux,
      I can't seem to find this setting to not wait for OK in Octoprint - I'm on the latest version.

      What I'd really like is Palette integration with Duet, so Octoprint isn't needed. I'm not sure what it involves hardware wise, but i believe the handshaking with the Palette is relatively simple.

      CroXY - Crossed Gantry Printer, Ultibots D300VS+, Custom CoreXYU

      undefined 1 Reply Last reply 26 Jul 2019, 18:07 Reply Quote 0
      • undefined
        Phaedrux Moderator @wesc
        last edited by 26 Jul 2019, 18:07

        @wesc said in Terrible print quality using Octoprint over USB connection:

        What I'd really like is Palette integration with Duet, so Octoprint isn't needed.

        Make the request on the Mosaic forum and let them know you'd like to see this. I'm not sure how easy it would be to implement though, because the Duet is not a USB host and neither is the Palette. Somehow the two would need to be synchronized.

        The octoprint as an intermediary isn't such a bad idea, but it would be better if Octoprint worked better with the Duet. If it could start the print on the Duet and allow it to print via SD card rather than streaming over USB and yet still maintain awareness of progress and have some means of flow control so that the Palette could stay in the loop for accurate filament production monitoring.... Sadly it's a far more complicated problem than it first appears.

        @wesc said in Terrible print quality using Octoprint over USB connection:

        Phaedrux,
        I can't seem to find this setting to not wait for OK in Octoprint - I'm on the latest version.

        I don't have an octoprint instance up and running at the moment, but I believe it's either in the octoprint settings or in the printer setup in octoprint.

        Z-Bot CoreXY Build | Thingiverse Profile

        undefined undefined 2 Replies Last reply 26 Jul 2019, 18:09 Reply Quote 0
        • undefined
          dc42 administrators @Phaedrux
          last edited by 26 Jul 2019, 18:09

          @phaedrux said in Terrible print quality using Octoprint over USB connection:

          The octoprint as an intermediary isn't such a bad idea, but it would be better if Octoprint worked better with the Duet. If it could start the print on the Duet and allow it to print via SD card rather than streaming over USB and yet still maintain awareness of progress and have some means of flow control so that the Palette could stay in the loop for accurate filament production monitoring.... Sadly it's a far more complicated problem than it first appears.

          It sounds to me that it's not possible using Duet 2, except by bypassing the Mosaic electronics and having the Duet drive the Mosaic hardware directly, if that's possible. But on Duet 3 it should be possible to implement as a plugin.

          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 26 Jul 2019, 18:23 Reply Quote 0
          • undefined
            wesc @Phaedrux
            last edited by 26 Jul 2019, 18:22

            @phaedrux, I don't see any setting that remotely looks like Ignore OK/Don't wait for response, etc in the settings or printer settings panels.

            If you can take a look when you can get Octoprint up, let me know.

            Thanks,

            CroXY - Crossed Gantry Printer, Ultibots D300VS+, Custom CoreXYU

            1 Reply Last reply Reply Quote 0
            • undefined
              Phaedrux Moderator @dc42
              last edited by 26 Jul 2019, 18:23

              @dc42 the mosaic slicer produces 2 files, one gcode file for the printer and the other for the palette. That palette file either goes on its own sd card or gets set to it by octoprint. I can't see any means of the duet controlling the palette directly at this time.

              Z-Bot CoreXY Build | Thingiverse Profile

              undefined undefined 2 Replies Last reply 26 Jul 2019, 18:25 Reply Quote 0
              • undefined
                wesc @Phaedrux
                last edited by 26 Jul 2019, 18:25

                @phaedrux Doesn't It also has a mode where it makes one file, with the Palette stuff at the top of the .gcode file (Connected, vs accessory, where 2 files are made). The Duet could feed those O commands to the palette if a hardware means was available.

                CroXY - Crossed Gantry Printer, Ultibots D300VS+, Custom CoreXYU

                undefined 1 Reply Last reply 26 Jul 2019, 18:35 Reply Quote 0
                • undefined
                  dc42 administrators @Phaedrux
                  last edited by dc42 26 Jul 2019, 18:25

                  @phaedrux said in Terrible print quality using Octoprint over USB connection:

                  @dc42 the mosaic slicer produces 2 files, one gcode file for the printer and the other for the palette. That palette file either goes on its own sd card or gets set to it by octoprint. I can't see any means of the duet controlling the palette directly at this time.

                  So you are forced to use their slicer? That's bad, and IMO a good reason not to use it. Is the slicer open source?

                  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 undefined 2 Replies Last reply 26 Jul 2019, 18:27 Reply Quote 0
                  • undefined
                    wesc @dc42
                    last edited by wesc 26 Jul 2019, 18:27

                    @dc42 There is a plugin for Slic3r made by 3rd party devs (P2PP). Mosaic also has a tool that post processes gcode (Chroma).

                    The slicer - http://slicer.io is cloud based, and it's OKish. It does have a really nice paint a STL tool that works well.. The engine is based on Kiss codebase.

                    CroXY - Crossed Gantry Printer, Ultibots D300VS+, Custom CoreXYU

                    1 Reply Last reply Reply Quote 0
                    • undefined
                      Phaedrux Moderator @dc42
                      last edited by 26 Jul 2019, 18:31

                      @dc42 there are options. You can either use their cloud slicer called Canvas, or you can use your own (Cura or slic3r) provided they are configured correctly for multi STL multi color printing according to the mosaic requirements, and then post process the resulting gcode with a seperate program they provide called Chroma. Nothing from mosaic is open source at the moment as far as I know.

                      Canvas is attractive because soon it will allow for "painting" a standard STL file with multiple colors and then it will produce a multicolor print. I believe that it's built upon kisslicer.

                      Z-Bot CoreXY Build | Thingiverse Profile

                      undefined undefined 2 Replies Last reply 26 Jul 2019, 19:01 Reply Quote 0
                      • undefined
                        Phaedrux Moderator @wesc
                        last edited by 26 Jul 2019, 18:35

                        @wesc said in Terrible print quality using Octoprint over USB connection:

                        @phaedrux Doesn't It also has a mode where it makes one file, with the Palette stuff at the top of the .gcode file (Connected, vs accessory, where 2 files are made). The Duet could feed those O commands to the palette if a hardware means was available.

                        Accessory mode uses physical filament movement and pauses to sync with the palette. So even if the duet had a means of transmitting that data to the palette, the palette firmware would need to be changed to function with it.

                        It's too bad the palette doesn't have a can bus option.

                        The duet3 with SBC may be able to do connected mode in a more useable fashion but mosaic would need to target it with a plugin like it has with octoprint.

                        Z-Bot CoreXY Build | Thingiverse Profile

                        undefined 1 Reply Last reply 26 Jul 2019, 20:39 Reply Quote 0
                        • undefined
                          wesc @Phaedrux
                          last edited by 26 Jul 2019, 19:01

                          @phaedrux Very unlikely Canvas will be OS. The Kiss dev is very protective of his codebase. Really frustrating because with a few features and tweaks and some needed UI love it could be the best slicer out there.

                          CroXY - Crossed Gantry Printer, Ultibots D300VS+, Custom CoreXYU

                          1 Reply Last reply Reply Quote 0
                          • undefined
                            burtoogle @Phaedrux
                            last edited by 26 Jul 2019, 19:32

                            @phaedrux said in Terrible print quality using Octoprint over USB connection:

                            You can either use their cloud slicer called Canvas, or you can use your own (Cura or slic3r) provided they are configured correctly for multi STL multi color printing according to the mosaic requirements, and then post process the resulting gcode with a seperate program they provide called Chroma.

                            I have recently been making some additions to my Cura fork at the request of someone with a Palette. The changes are related to enforcing min lengths of filament extruded when switching materials. So if the amount of material used in the print is too small, the prime tower gets more. It's WIP and not yet verified as correct.

                            1 Reply Last reply Reply Quote 0
                            • undefined
                              nophead
                              last edited by 26 Jul 2019, 19:44

                              Interesting conversation but I can't see why Octoprint would produce the mess shown. I print with it over USB on a Melzi with Marlin and an original RPI B day in day out.

                              Yes has a limit to how many line segments per second it can produce but I never hit that with my own designs from OpenSCAD. The symptoms of the gcode not arriving fast enough are it pauses on curves and the prints get blobby. The amount of filament should be correct though and given first layers are normally done slowly anyway I think something else is going wrong.

                              undefined 1 Reply Last reply 26 Jul 2019, 20:50 Reply Quote 0
                              • undefined
                                wesc @Phaedrux
                                last edited by 26 Jul 2019, 20:39

                                @phaedrux

                                I don’t see how duet could not function in exactly the same way octoprint does, entirely replacing it.

                                Octoprint feeds gcode to the printer, looking for O codes. It sends O codes to palette for processing there. There’s also the ping pong dance of communication to synchronize filament lengths between the two.

                                CroXY - Crossed Gantry Printer, Ultibots D300VS+, Custom CoreXYU

                                1 Reply Last reply Reply Quote 0
                                • undefined
                                  wesc @nophead
                                  last edited by wesc 26 Jul 2019, 20:50

                                  @nophead this is laying down the first layer, 20mm/s slow with lot of straight line infill.

                                  kiss/canvas does produce huge gcode files in its implementation of pressure advance (lots of tiny segments).

                                  The weird part is this did work at some point, printing at 100mm/s with palette with no problem. So something else has gone south.

                                  CroXY - Crossed Gantry Printer, Ultibots D300VS+, Custom CoreXYU

                                  undefined 1 Reply Last reply 26 Jul 2019, 20:58 Reply Quote 0
                                  • undefined
                                    nophead @wesc
                                    last edited by 26 Jul 2019, 20:58

                                    @wesc Doesn't the Duet do its own pressure advance? In which can't you tell Kiss to not do its own?

                                    Does the motion slow down and stutter or does it move correctly but under extrude?

                                    undefined 1 Reply Last reply 26 Jul 2019, 21:04 Reply Quote 0
                                    • undefined
                                      wesc @nophead
                                      last edited by 26 Jul 2019, 21:04

                                      @nophead it moves correctly, but underextrudes. Missed gcodes would behave that way, I’d think.

                                      I won’t be able to try again until after this weekend. Could try with prusaslcicer which generates much simpler gcode

                                      CroXY - Crossed Gantry Printer, Ultibots D300VS+, Custom CoreXYU

                                      undefined 1 Reply Last reply 27 Jul 2019, 08:51 Reply Quote 0
                                      • undefined
                                        droftarts administrators
                                        last edited by 27 Jul 2019, 08:29

                                        Not sure where the settings are in Octoprint GUI, but there are a number of options about 'ok' in the config.yaml. See https://docs.octoprint.org/en/master/configuration/config_yaml.html#serial and find everything with 'ok'. Not sure exactly which setting does it. I don't have an Octoprint instance to check either; haven't used it for quite a few years!

                                        Historic perspective: The original RepRapFirmware had a bug on USB comms, so printing over USB from Pronterface was really poor. It's one of the first things dc42 fixed; see this post from 2014! https://reprap.org/forum/read.php?340,293031

                                        Ian

                                        Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

                                        1 Reply Last reply Reply Quote 1
                                        • undefined
                                          nophead @wesc
                                          last edited by 27 Jul 2019, 08:51

                                          @wesc Yes I think that would do it because if you had an extrusion say from A to B to C and it missed out B it would do an A C line with and E value appropriate to B C. If kiss is breaking straight lines into short segments then missing some of those out would lead to under extrusion.

                                          So I don't think we blame this on OctoPrint being slow because of OK replies.

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