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

Slicer Behaviour - RRF RC3

Scheduled Pinned Locked Moved
General Discussion
4
18
550
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
    Garfield
    last edited by Garfield 3 Aug 2020, 21:14 8 Mar 2020, 20:55

    When using Prusa slicer the magnetic filament monitor isn't getting utilised properly and you see this in the dash / status window - note it thinks the layer height is 1mm - it is actually 0.15 and it thinks that the part height is 40.85 (it isn't it is 10.6mm)

    Prusa Slicer.png

    The filament sensor is functional and works fine if I slice with Simplify3D.

    What should I be looking for in the Prusa produced Gcode ?

    It looks like the job height is coming from the last Z move - which is incorrect since the last Z move on Prusa generated Gcode is moving the extruder out of the way.

    I cannot find anywhere that has a layer height of 1mm (I'd be surprised if I could).

    G1 Z40.85 ; Move print head up
    G1 X0 Y0 F3000 ; Move extruder out of way
    ; filament used [mm] = 5474.4
    ; filament used [cm3] = 13.2
    ; filament used [g] = 16.7
    
    1 Reply Last reply Reply Quote 0
    • undefined
      Phaedrux Moderator
      last edited by 8 Mar 2020, 21:24

      Try changing this in the slicer end code

      G1 Z40.85 ; E Move print head up

      I think that should prevent the DWC scan from confusing that move as a Z height.

      Alternateively, you can move the entire slicer end gcode into a macro called stop.g and then in the slicer end gcode just use M0. M0 will call stop.g at the end of the print and perform whatever you have in the stop.g macro. This allows you to have the end gcode in one place, and the slicer just has M0. It also keeps the DWC from scanning the end gcode as part of the print moves.

      Z-Bot CoreXY Build | Thingiverse Profile

      1 Reply Last reply Reply Quote 0
      • undefined
        Garfield
        last edited by 8 Mar 2020, 21:27

        That part is in the Prusa conditional GCode - I shall create a profile without it (I still run a MK3S and have no plans to stop doing so),

        Any ideas on the 1mm layer ?

        undefined 1 Reply Last reply 8 Mar 2020, 21:35 Reply Quote 0
        • undefined
          Phaedrux Moderator @Garfield
          last edited by 8 Mar 2020, 21:35

          @Garfield said in Slicer Behaviour - RRF RC3:

          That part is in the Prusa conditional GCode - I shall create a profile without it (I still run a MK3S and have no plans to stop doing so),

          Any ideas on the 1mm layer ?

          The 1mm layer is probably part and parcel

          Z-Bot CoreXY Build | Thingiverse Profile

          1 Reply Last reply Reply Quote 0
          • undefined
            Garfield
            last edited by 8 Mar 2020, 22:39

            Fixes the height - the layer height remains broken ...

            1 Reply Last reply Reply Quote 0
            • undefined
              Phaedrux Moderator
              last edited by 8 Mar 2020, 22:40

              What do you have in the start gcode?

              Z-Bot CoreXY Build | Thingiverse Profile

              undefined 1 Reply Last reply 8 Mar 2020, 23:01 Reply Quote 0
              • undefined
                Garfield @Phaedrux
                last edited by 8 Mar 2020, 23:01

                @Phaedrux

                G21 ; set units to millimeters
                G28 ; home all axes
                G90 ; use absolute coordinates
                M83 ; extruder relative mode
                M140 S80 ; set bed temp
                M190 S80 ; wait for bed temp
                M104 S220 ; set extruder temp
                M109 S220 ; wait for extruder temp
                
                ;BEFORE_LAYER_CHANGE
                G92 E0.0
                ;0.15
                G1 Z0.150 F7800.000 ; move to next layer (0)
                
                ;AFTER_LAYER_CHANGE
                ;0.15
                G1 E-1.40000 F2400.00000 ; retract
                G1 Z0.350 F7800.000 ; lift Z
                G1 X186.054 Y131.823 ; move to first skirt point
                G1 Z0.150 ; restore layer Z
                G1 E1.40000 F2400.00000 ; unretract
                G1 F1200
                G1 X186.815 Y130.772 E0.02977 ; skirt
                
                1 Reply Last reply Reply Quote 0
                • undefined
                  dc42 administrators
                  last edited by dc42 3 Sept 2020, 11:08 9 Mar 2020, 11:07

                  Is there a ";layer height = xx" or similar line in the comment lines at the start or end of the file?

                  If you make the whole GCode file available then I can investigate it.

                  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
                    Garfield
                    last edited by 9 Mar 2020, 11:17

                    No problem - there is no layer height comment in the Prusa generated Gcode at the beginning of the file, it does appear but it is at the end.

                    This is the same part sliced in both Prusa and Simplify

                    Mark Rod.gcode

                    Mark Rod S3D.gcode

                    1 Reply Last reply Reply Quote 0
                    • undefined
                      dc42 administrators
                      last edited by dc42 3 Sept 2020, 11:27 9 Mar 2020, 11:25

                      I've just loaded your file into a machine running RRF 3.01-RC3+ and it's displaying the layer height as 0.15mm in the file list in DWC.

                      f9b149ba-5470-4b37-bada-b2db0f71f1e8-image.png

                      What layer height do you see in your file list?

                      Which firmware version are you using?

                      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
                        Garfield
                        last edited by Garfield 3 Sept 2020, 11:35 9 Mar 2020, 11:31

                        RC3

                        Any ideas where to look ?? - it is currently running - see below - layer times are way off - I'm assuming because each 1mm layer consists of 6 and a bit layers ... the completion percentage seems OK.

                        Prusa Slicer 2.png

                        Prusa Slicer 3.png

                        1 Reply Last reply Reply Quote 0
                        • undefined
                          Garfield
                          last edited by Garfield 3 Sept 2020, 11:53 9 Mar 2020, 11:43

                          I can send my entire config if needed - the zipped file is approx 6 meg - does the fact that I'm using RPi 4 have a bearing on this ?

                          Simplify 3D file is fine (layer height) - didn't allow the print to start.

                          Prusa Slicer 4.png

                          1 Reply Last reply Reply Quote 0
                          • undefined
                            dc42 administrators
                            last edited by 9 Mar 2020, 12:44

                            Are you running Duet 3 with SBC? If so then it may be a DSF issue.

                            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
                              Garfield
                              last edited by Garfield 3 Sept 2020, 12:52 9 Mar 2020, 12:51

                              The SD card that was supplied with the Duet 3 is installed in the Pi, there is no SD card in the Duet itself.

                              I wouldn't know where to start with the framework - is that code available to read anywhere ? (edit - Found it)

                              1 Reply Last reply Reply Quote 0
                              • undefined
                                dc42 administrators
                                last edited by 9 Mar 2020, 14:07

                                Thanks, I'll ask @chrishamm to look into this.

                                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 9 Mar 2020, 14:30 Reply Quote 0
                                • undefined
                                  Garfield @dc42
                                  last edited by Garfield 3 Sept 2020, 14:31 9 Mar 2020, 14:30

                                  @dc42 I've looked at config.json for DSF conf and the strings/regex seem odd - don't know why it would find in one file and not the other though. I'm not familiar with the regex patterns used

                                  layer_height\D\u002B(?\u003Cmm\u003E(\d\u002B\.?\d*))

                                  doesn't look valid - but it seems to work for S3D - why the + character (002b) and whats with the character case forcing \u ??

                                  most likely Just my lack of familiarity with how these are used / parsed beyond the 'regex' context

                                  It isn't the end of the universe and seems to affect only displayed values.

                                  I appreciate the input.

                                  1 Reply Last reply Reply Quote 0
                                  • undefined
                                    Garfield
                                    last edited by 9 Mar 2020, 18:51

                                    A screen from Simplify ... working fine

                                    Prusa Slicer 5.png

                                    1 Reply Last reply Reply Quote 0
                                    • chrishammundefined
                                      chrishamm administrators
                                      last edited by 31 Mar 2020, 16:29

                                      Thanks for the file, I'll fix it in the next DSF version. the \uXXXX codes represent unicode characters, not sure why the JSON serializer thinks it is a good idea to encode them that way.

                                      Duet software engineer

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