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

Filament config?

Scheduled Pinned Locked Moved
Tuning and tweaking
filament config macro
6
18
6.1k
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
    3dmntbighker @genghisnico13
    last edited by 4 Jan 2019, 22:59

    @genghisnico13 said in Filament config?:

    I am using it to set Nozzle and bed temperatures, Extruder steps/mm, filament Flow/Diameter, Retraction and Non-linear Extrusion, so I have a config per roll that gets updated when initial calibrations are performed.
    Since I didn't like the flexibility of cura materials (at least from a while ago) now I manage all material parameters with config Files in the Duet.

    Very interesting

    Scratch built CoreXY with Maestro
    Heavily modified Ender 3 with Maestro
    MPCNC work in progress with Duet WiFi

    1 Reply Last reply Reply Quote 0
    • undefined
      genghisnico13
      last edited by genghisnico13 1 May 2019, 01:42 5 Jan 2019, 01:08

      Inside each Filament Config Macro:

      M350 E16 I1 ;Back to 16 microstepping to set it.
      ;NonLinear Extrusion
      M92 E433.5 ;Adjusted for optimal curve fitting
      M592 D0 A-0.00051 B0.00061 ;Nonlinear Extrusion parameters
      M221 S101 ;Flow(Diameter Compensation)
      ;Restore Microstepping to its value
      M98 P0:/Macros/MotorControl/SetExtruderMicrostepping.g
      ;Set Temperatures
      M140 S60 ; Set Bed Temperature
      G10 P0 R140 S215 ; Set Nozzle Active and Standby Temperature

      In this case FW Retraction (Pressure Advance also) is not configured because its the same as the one in the General Config file for PLA. And you can ignore the microstepping part, it's there so I can change the microstepping without editing all the Filaments config Files.

      The Slicer start G-code calls a PrePrint macro:

      M703 ; Load Filament specific config, including Temps
      T100 P0 ; Sets T0 to Standby Temperature, after the T0 issued by the Slicer
      M116 H0 ; Wait for Bed Temperature to be reached
      T0 P0 ; Selects Tool 0 (active temp), without executing Tool-change Macros
      G28
      G29 S1 ; Load Grid Compensation
      G0 X320 ; Move X to ooze Land
      M116 ; Wait for All Heaters
      M98 P0:/Macros/Priming/PrimeOnBed.g
      1 Reply Last reply Reply Quote 0
      • undefined
        genghisnico13 @briskspirit
        last edited by 5 Jan 2019, 01:20

        @briskspirit I disabled Temperature Control from the addon "printer settings" in the cura "marketplace".

        1 Reply Last reply Reply Quote 0
        • undefined
          3dmntbighker
          last edited by 3dmntbighker 1 Jul 2019, 22:33 7 Jan 2019, 21:09

          I have dipped a toe in by setting baby stepping -0.2 for PLA since it likes more squish than PETG. M290 R0 S-0.2 Is this the wrong approach? I could set the offset in the slicer I suppose. genghisnico13, you are a mad man 😉

          edit: So much for that idea. It doesn't survive a power cycle.

          Scratch built CoreXY with Maestro
          Heavily modified Ender 3 with Maestro
          MPCNC work in progress with Duet WiFi

          undefined 1 Reply Last reply 8 Jan 2019, 06:12 Reply Quote 0
          • undefined
            Phaedrux Moderator @3dmntbighker
            last edited by 8 Jan 2019, 06:12

            @3dmntbighker If you have a custom config.g setup for the filament you can load it at startup so it should be applied again after a power cycle.

            Baby stepping is different than the live Z adjust in Marlin, etc. It's not a permanent change.

            Z-Bot CoreXY Build | Thingiverse Profile

            undefined 1 Reply Last reply 8 Jan 2019, 07:49 Reply Quote 0
            • undefined
              3dmntbighker @Phaedrux
              last edited by 8 Jan 2019, 07:49

              @phaedrux said in Filament config?:

              @3dmntbighker If you have a custom config.g setup for the filament you can load it at startup so it should be applied again after a power cycle.

              Baby stepping is different than the live Z adjust in Marlin, etc. It's not a permanent change.

              I added it to my PLA profile in S3D. It works fine there. I'm sure there are multiple ways to accomplish a Z offset like that. It's nice to have a flat stable bed that a 0.05 offset is actually useful for. I think I got super lucky with my Ender 3. I have not even bothered to change the wimpy bed springs. My first layers are pr0n-O-graphic 😉

              Scratch built CoreXY with Maestro
              Heavily modified Ender 3 with Maestro
              MPCNC work in progress with Duet WiFi

              undefined 1 Reply Last reply 8 Jan 2019, 17:52 Reply Quote 0
              • undefined
                Phaedrux Moderator @3dmntbighker
                last edited by 8 Jan 2019, 17:52

                @3dmntbighker I think you may be missing M703 to execute the filament specific config.g file.

                https://duet3d.dozuki.com/Wiki/Gcode#Section_M703_Configure_filament

                Z-Bot CoreXY Build | Thingiverse Profile

                undefined 1 Reply Last reply 9 Jan 2019, 00:39 Reply Quote 0
                • undefined
                  3dmntbighker @Phaedrux
                  last edited by 3dmntbighker 1 Sept 2019, 00:42 9 Jan 2019, 00:39

                  @phaedrux said in Filament config?:

                  @3dmntbighker I think you may be missing M703 to execute the filament specific config.g file.

                  https://duet3d.dozuki.com/Wiki/Gcode#Section_M703_Configure_filament

                  Hmm, I added M703 to to tpost0.g and config.g still only runs at the time you load the filament. The filament name loaded survives a power cycle, but PLA/config.g is not run again after a power cycle? Or do you need the M703 in both tpost0.g and sys/config.g? If I deselect tool0 and select it again it looks like M703 doesn't run either. I have to unload and reload the filament.

                  Scratch built CoreXY with Maestro
                  Heavily modified Ender 3 with Maestro
                  MPCNC work in progress with Duet WiFi

                  undefined 1 Reply Last reply 9 Jan 2019, 00:55 Reply Quote 0
                  • undefined
                    Phaedrux Moderator @3dmntbighker
                    last edited by 9 Jan 2019, 00:55

                    @3dmntbighker I could see needing to add it to config.g, but it doesn't sound like it's working as intended. I think @chrishamm developed this functionality?

                    Z-Bot CoreXY Build | Thingiverse Profile

                    1 Reply Last reply Reply Quote 0
                    • undefined
                      AlexLin
                      last edited by 9 Jan 2019, 06:10

                      I added M703 in start.g.so at the beginning of a print all filaments specifics are loaded

                      undefined 1 Reply Last reply 9 Jan 2019, 06:27 Reply Quote 1
                      • undefined
                        3dmntbighker @AlexLin
                        last edited by 9 Jan 2019, 06:27

                        @alexlin said in Filament config?:

                        I added M703 in start.g.so at the beginning of a print all filaments specifics are loaded

                        I have a stop.g but no start.g?

                        Scratch built CoreXY with Maestro
                        Heavily modified Ender 3 with Maestro
                        MPCNC work in progress with Duet WiFi

                        undefined 1 Reply Last reply 9 Jan 2019, 06:52 Reply Quote 0
                        • undefined
                          Phaedrux Moderator @3dmntbighker
                          last edited by 9 Jan 2019, 06:52

                          @3dmntbighker you can create it. It will be run first at the start of every print before the slicer start gcode.

                          I use it to do a preheat and home the printer, reset any extrusion or speed factors, reset baby stepping, and play a little tune.

                          Z-Bot CoreXY Build | Thingiverse Profile

                          undefined 1 Reply Last reply 9 Jan 2019, 22:08 Reply Quote 0
                          • undefined
                            3dmntbighker @Phaedrux
                            last edited by 9 Jan 2019, 22:08

                            @phaedrux said in Filament config?:

                            @3dmntbighker you can create it. It will be run first at the start of every print before the slicer start gcode.

                            I use it to do a preheat and home the printer, reset any extrusion or speed factors, reset baby stepping, and play a little tune.

                            S3D does a lot of that for you in the start code. But putting it in Duet code and purging your slicer means you don't have to worry what slicer you are using I suppose.

                            I was thinking yesterday that we need a pinned thread of people's musical code 😉

                            Scratch built CoreXY with Maestro
                            Heavily modified Ender 3 with Maestro
                            MPCNC work in progress with Duet WiFi

                            undefined 1 Reply Last reply 9 Jan 2019, 22:41 Reply Quote 0
                            • undefined
                              Phaedrux Moderator @3dmntbighker
                              last edited by 9 Jan 2019, 22:41

                              @3dmntbighker Agreed! Here's mine: https://www.dropbox.com/sh/24m8me9jieqk725/AACJMSA0qlxw3KPLf_cjIVT5a?dl=0

                              Z-Bot CoreXY Build | Thingiverse Profile

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