Jump to content

Start Gcode for custom build klipper machine with dual extruders


zocherg

Recommended Posts

Posted · Start Gcode for custom build klipper machine with dual extruders

Hi all,

 

I searched around the inet, but did not come up with a solution so far. The problem is as follows:

 

I build an custom 3D printer with a switching extruder constisting of two orbiter extruders each with a e3dv6. Everything is working as expected. The machine code is fine and first dual extrusion kits were printed. For convenience I would like to adjust mit START_PRINT script which is mainly done, but I do not find a simple solution to hand over the temperature of the second extruder: 

 

START_PRINT BED_TEMP={material_bed_temperature_layer_0} EXTRUDER1_TEMP={material_print_temperature_layer_0} EXTRUDER2_TEMP={"need_a_cura_variable_here"}

 

It seems that all the cura temperature variables are not directly linked to a particular extruder (just the actiev one). Can you give hint, how to go on with this?

 

Thank you very much,

Georg

 

 

 

  • Link to post
    Share on other sites

    Posted (edited) · Start Gcode for custom build klipper machine with dual extruders

    You can specify the exact extruder to get the value from like so:

     

    EXTRUDER1_TEMP={material_print_temperature_layer_0,0} 
    EXTRUDER2_TEMP={material_print_temperature_layer_0,1} 

     

    Edit: originally, I mistakenly used the | (pipe) character instead of a , (comma). I have edited this to avoid confusion for people finding this via a search engine.

    Edited by ahoeben
  • Link to post
    Share on other sites

    • 3 weeks later...
    Posted (edited) · Start Gcode for custom build klipper machine with dual extruders

    Dear ahoeben,

     

    sorry for my late reply. I had overlooked your message. I will test it out and give feedback. Thank you for your support.

    All the best,

    Georg

    Edited by zocherg
  • Link to post
    Share on other sites

    • 1 month later...
    Posted · Start Gcode for custom build klipper machine with dual extruders

    Sorry to bring this up again. I just found the time to play with

     

    EXTRUDER1_TEMP={material_print_temperature_layer_0|0} 
    EXTRUDER2_TEMP={material_print_temperature_layer_0|1} 

     

    Unfortunately, these settings do not work and to not replace the expression {material_print_temperature_layer_0|0} with a float value. 

     

    EXTRUDER1_TEMP={material_print_temperature_layer_0}

     

    will do the job and replaces the expression with the temperature but just for the temperature of the selected extruder.  Are there any other ideas to go on?

     

    All the best,

    Georg

  • Link to post
    Share on other sites

    Posted · Start Gcode for custom build klipper machine with dual extruders
    On 12/19/2022 at 6:18 PM, zocherg said:

    Unfortunately, these settings do not work and to not replace the expression {material_print_temperature_layer_0|0} with a float value. 

     

    The delimiter used to be a comma, not a vertical bar?
    This example from an older post should still work:

     

     

    In addition: there are several placeholders for the selected '...extruder_nr'. This can be useful as well.

    For example:

     

    M104 T{adhesion_extruder_nr} S{material_print_temperature_layer_0, adhesion_extruder_nr}

     

    We use {initial_extruder_nr} in the start script for the Mark2 (if you need another example).

     

    Good luck!

     

    • Like 1
    Link to post
    Share on other sites

    Create an account or sign in to comment

    You need to be a member in order to leave a comment

    Create an account

    Sign up for a new account in our community. It's easy!

    Register a new account

    Sign in

    Already have an account? Sign in here.

    Sign In Now
    • Our picks

      • UltiMaker Cura 5.7 stable released
        Cura 5.7 is here and it brings a handy new workflow improvement when using Thingiverse and Cura together, as well as additional capabilities for Method series printers, and a powerful way of sharing print settings using new printer-agnostic project files! Read on to find out about all of these improvements and more. 
         
          • Like
        • 18 replies
      • S-Line Firmware 8.3.0 was released Nov. 20th on the "Latest" firmware branch.
        (Sorry, was out of office when this released)

        This update is for...
        All UltiMaker S series  
        New features
         
        Temperature status. During print preparation, the temperatures of the print cores and build plate will be shown on the display. This gives a better indication of the progress and remaining wait time. Save log files in paused state. It is now possible to save the printer's log files to USB if the currently active print job is paused. Previously, the Dump logs to USB option was only enabled if the printer was in idle state. Confirm print removal via Digital Factory. If the printer is connected to the Digital Factory, it is now possible to confirm the removal of a previous print job via the Digital Factory interface. This is useful in situations where the build plate is clear, but the operator forgot to select Confirm removal on the printer’s display. Visit this page for more information about this feature.
          • Like
        • 0 replies
    ×
    ×
    • Create New...