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

Managing machine & material specific settings.

Scheduled Pinned Locked Moved
Tuning and tweaking
2
4
191
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
    DocTrucker
    last edited by 16 Jan 2024, 11:30

    Hello.

    I'm currently looking at trying to manage as much as possible of the machine and material specific settings and tuning parameters on the machine's duet controller. I'm looking at this as I would like to continue to use two different slicers on both my laptop and desktop. The issue is it is all to easy to neglect to update four sets of config files following a retune.

    What is current best practice for managing this? It's never going to be perfect as the slicers want to dump temperature settings in the files, and speeds of course are deep in the slicers territory. Stuff like non linear calibration, and filament diameter are straight forward but dealing with temperatures and speeds leaves me thinking I need to parse the gcode and strip discrete settings to references to global variables?

    Running 3 P3Steel with Duet 2. Duet 3 on the shelf looking for a suitable machine. One first generation Duet in a Logo/Turtle style robot!

    undefined 1 Reply Last reply 16 Jan 2024, 13:52 Reply Quote 0
    • undefined
      deckingman @DocTrucker
      last edited by 16 Jan 2024, 13:52

      @DocTrucker

      Hi Wes,

      Can you clarify a bit please? Do you have multiple machines or just use different slicers and computers with a single machine?

      If it's the former (multiple machine configurations) then take a look at M505. This allows you to change the path of .sys. So you have a single config.g which has multiple M505 commands and a single M98 P"config.g". You comment out all the M505s apart from the one you want to use. So anything that you want to be machine specific, put in the 'sys folder for that machine, and anything that's common to all machines, put in the /macros folder.

      So you can have multiple instances of global variables with the same name but different values. I used to call a macro call "load globals" from config.g but this macro was in the .sys folder for each machine, rather than the .macros folder. So the actual "globals" were different for each machine but the command to load them was the same.

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

      undefined 1 Reply Last reply 16 Jan 2024, 14:06 Reply Quote 0
      • undefined
        DocTrucker @deckingman
        last edited by 16 Jan 2024, 14:06

        @deckingman said in Managing machine & material specific settings.:

        @DocTrucker
        Can you clarify a bit please? Do you have multiple machines or just use different slicers and computers with a single machine?

        Hi Ian. Four printers, two computers both with two slicers. Wasn't too complicated when just using slic3r as I directed the software to use a network share. Alas not so convient with two different slicers. I'll read through what you've discussed tomorrow, thanks.

        Running 3 P3Steel with Duet 2. Duet 3 on the shelf looking for a suitable machine. One first generation Duet in a Logo/Turtle style robot!

        undefined 1 Reply Last reply 17 Jan 2024, 07:59 Reply Quote 0
        • undefined
          deckingman @DocTrucker
          last edited by 17 Jan 2024, 07:59

          @DocTrucker To elaborate a bit more, in Prusa Slicer, in the custom code section for filaments I have just one macro call - e.g M98 P"prePrintAbs". That macro sets things like retraction, pressure advance, speeds, etc and it resides in the .sys folder. So each machine has it's own .sys folder and therefore it's own "prePrintAbs" macro. So any gcode file becomes machine agnostic and by editing the single macro call at the beginning of the file it becomes filament agnostic too.

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

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