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

    Filaments

    Scheduled Pinned Locked Moved
    Using Duet Controllers
    2
    5
    304
    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.
    • sunToxxundefined
      sunToxx
      last edited by

      I would like to move as much as possible of the slicers filaments profiles into Duet's filament files. However it seems I can't even set first layer temperature and other layer temperature. Slicers use variables for that, so that they can add the right code at the desired time. Can Duet kind of inject code at a certain layer, or how can this be done?

      Also, Caribou by default calls in start.g for m703. Is this sufficient, or does the slicer startcode also need a m703?

      dc42undefined 1 Reply Last reply Reply Quote 0
      • dc42undefined
        dc42 administrators @sunToxx
        last edited by

        @suntoxx most slicers allow you to define a layer change script. You could define that script to use M98 to call a macro, passing the layer number as a parameter.

        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

        sunToxxundefined 2 Replies Last reply Reply Quote 0
        • sunToxxundefined
          sunToxx @dc42
          last edited by sunToxx

          @dc42 Would that mean that I add a command to the slicer, that executes a macro when changing to layer 2? And I can do it in a way, that the macro (eg 2ndLayertemp.g) will be chosen within the currently active Duet filament directory?

          1 Reply Last reply Reply Quote 0
          • sunToxxundefined
            sunToxx @dc42
            last edited by sunToxx

            @dc42 said in Filaments:

            @suntoxx most slicers allow you to define a layer change script. You could define that script to use M98 to call a macro, passing the layer number as a parameter.

            How would that allow me to comfortably manage eg the first layer and other layer temperatures from within DWC's filaments? Unless Duet changes a macro on every material change with the corresponding values, so i can refer to it.

            Or can the layer change script call for m703 again, which then might contain a temperature change limited by in IF statement, so it only becomes active at layer 2?

            I am a bit lost here. It's not that I have any idea about all of this 😅

            Edit: And if for example, I would have 5 different types of PLA in my filaments section of DWC, and they share one value and differ in others, could I use the M98 command to manage that shared value in one single position?

            1 Reply Last reply Reply Quote 0
            • sunToxxundefined
              sunToxx
              last edited by sunToxx

              Can I use the Echo command (https://docs.duet3d.com/en/User_manual/Reference/Gcode_meta_commands) in one of the files of the filaments section, in order to have it automatically create/overwrite a macro, according to the currently used filament? (the macro should have same name for all filaments, but then only contains the temperature for the currently selected filament).

              So that i can call this macro with M98 custom gcode in the slicer and it would always set the other layer temperature to the one i define in the filaments section of dwc? Would config.g or load.g make the most sense to have it create that macro?

              Also, is calling for M703 in start.g enough, or does it have to be included into the slicer start code too, in order so noting overrides it?

              Edit: echo >"test.g" "M104 S210" does not seem to work

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