Jump to content

Looking for tool change script / plugin in Cura


Roland

Recommended Posts

Posted · Looking for tool change script / plugin in Cura

My question is:

Is it actually possible to have a freely configurable tool change scrip in Cura?

I'm running my UM2 with dual head.

For tool change procedure I need to cool down inactive nozzle, and heat up the new one.

Actually I'm using S3D because they have tool change script.

I want this for Cura, is there anybody knowing how to?

S3D tool change script

{IF NEWTOOL=0}M104 S170 T1 ; set T1 inactive extruder to temperature-40 C

{IF NEWTOOL=0}G1 X115 Y140 F5000

{IF NEWTOOL=0}M109 S210 T0 ; set T0 new active extruder to temperature

{IF NEWTOOL=1}M104 S170 T0 ; set T0 inactive extruder to temperature-40 C

{IF NEWTOOL=1}G1 X115 Y140 F5000

{IF NEWTOOL=1}M109 S210 T1 ; set T1 new active extruder to temperature

Roland

  • Link to post
    Share on other sites

    Posted · Looking for tool change script / plugin in Cura

    I think Cura already does this automatically. The old cura has a pre and post hotend switch g-code bit where you can do these things.

     

    The point is l want to configure a position in x/y and temperature for inactive tool.

    When the tool change is performed the machine moves there, heats up the next tool head, waits for temperature reached and goes on printing. The inactive tool is cooling down (by 40 deg).

    If there is a possibility to configure that,

    Please tell me where it is.

    Thank you for your help.

    Roland

  • Link to post
    Share on other sites

    Posted · Looking for tool change script / plugin in Cura

    The movement comands you use para n s3d can be introduced on cura. There's on advanced on old cura you have the placeholder for t0 or t1. Other way it's to make the gcode and then do a search/replace.

  • Link to post
    Share on other sites

    Posted · Looking for tool change script / plugin in Cura

    Is there any way to have a tool change be set per profile. I want to run different materials but each would require a different gcode with my setup. I'm willing to hand write in the config files or in the profile settings but I'm not sure if this is even possible.

  • Link to post
    Share on other sites

    Posted · Looking for tool change script / plugin in Cura
    19 minutes ago, Jarren141 said:

    I'm willing to hand write in the config files

    In that case... The materials are xml files. You should be able to add something like this:

     

            <cura:setting key="machine_extruder_start_code">
    ;put your material-specific extruder start code here
    M117 Hello material!
            </cura:setting>

     

    (I have not tested this, but I can't really think of a good reason why it would not work)

    • Like 1
    Link to post
    Share on other sites

    Posted · Looking for tool change script / plugin in Cura

    I'll see if I can test this and circle back. I was a bit confused for a second with the M117 command but then smiled when I realized what it did.  I should also add that I tried to add [  machine_extruder_start_code = ";Test for tool change T0"  ] to the extruder settings in an unzipped extruder 0 profile setting but was unsuccessful and resulted in a bunch of error messages from Cura on startup complaining about corrupt profiles.

  • Link to post
    Share on other sites

    Posted · Looking for tool change script / plugin in Cura
    <?xml version="2.0" encoding="UTF-8"?>
    <!--
    Generic Nylon 1.75mm profile. The data in this file may not be correct for your specific machine.
    -->
    <fdmmaterial xmlns="http://www.ultimaker.com/material" xmlns:cura="http://www.ultimaker.com/cura" version="1.3">
        <metadata>
            <name>
                <brand>Essentium</brand>
                <material>Essentium Nylon 3</material>
                <color>Generic</color>
            </name>
            <GUID>283d439a-3490-4481-920c-c51d8cdecf9c</GUID>
            <version>5</version>
            <color_code>#3DF116</color_code>
            <description>Nylon is strong, abrasion-resistant, durable and engineered for low moisture sensitivity.</description>
            <adhesion_info>Use glue.</adhesion_info>
        </metadata>
        <properties>
            <density>1.14</density>
            <diameter>1.75</diameter>
        </properties>
        <settings>
            <setting key="print temperature">300</setting>
            <setting key="heated bed temperature">80</setting>
            <setting key="standby temperature">220</setting>
            <setting key="retraction amount">1</setting>
            <setting key="retraction speed">25</setting>
            <setting key="adhesion tendency">2</setting>
            <setting key="surface energy">100</setting>
            <cura:setting key="material_crystallinity">true</cura:setting>
            <setting key="build volume temperature">60</setting>
    		<cura:setting key="machine_extruder_start_code">;Test for tool change T0</cura:setting>
            <machine>
    			<cura:setting key="machine_extruder_start_code">;Test for tool change T1</cura:setting>
                <setting key="print cooling">0.0</setting>
                <setting key="standby temperature">160</setting>
                <setting key="retraction speed">40</setting>
                <setting key="heated bed temperature">60</setting>
                <setting key="print temperature">230</setting>
           </machine>
        </settings>
    </fdmmaterial>

    Looks like adding those lines did not take effect as we had hoped. I sliced a dual extrusion part after importing the edited material and restarting Cura. The ";Test for tool change" was not present in the entire gcode. Is there some notation I'm missing for a dual extruder printer, like extruder_no_0.  

  • Link to post
    Share on other sites

    Posted · Looking for tool change script / plugin in Cura

    Sorry, I can't get it to work either. I don't know why; it should work.

  • 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...