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.8 beta released
        Another Cura release has arrived and in this 5.8 beta release, the focus is on improving Z seams, as well as completing support for the full Method series of printers by introducing a profile for the UltiMaker Method.
          • Like
        • 1 reply
      • Introducing the UltiMaker Factor 4
        We are happy to announce the next evolution in the UltiMaker 3D printer lineup: the UltiMaker Factor 4 industrial-grade 3D printer, designed to take manufacturing to new levels of efficiency and reliability. Factor 4 is an end-to-end 3D printing solution for light industrial applications
          • Thanks
          • Like
        • 3 replies
    ×
    ×
    • Create New...