Jump to content

Switching colors mid print


Recommended Posts

Posted · Switching colors mid print

@GregValiant you can call me names publically. I am a self acknowledged moron. Look what I found in my Ocroprint "beforePrintResume" script...

{% if pause_position.x is not none %}
; relative extruder
M83

; prime nozzle
G1 E-5 F4500
G1 E5 F4500
G1 E5 F4500

; absolute E
M82

; absolute XYZ
G90

; reset E
G92 E{{ pause_position.e }}

; move back to pause position XYZ
G1 X{{ pause_position.x }} Y{{ pause_position.y }} Z{{ pause_position.z }} F4500

; reset to feed rate before pause if available
{% if pause_position.f is not none %}G1 F{{ pause_position.f }}{% endif %}
{% endif %}

Of particular note the section labled "prime nozzle". 

 

Upon remove (commenting) of those three lines all artifacts are gone. It still feels like I should use that section to print a starting line like cura does at the open of every print job, but for now I'm going to leave it well enough alone and stick with with @Slashee_the_Cow's support object. 

 

Thank you all for the help. 

  • Link to post
    Share on other sites

    Posted · Switching colors mid print
    9 hours ago, jaysenodell said:

    My understanding of the G92 is that it isn't supposed to MOVE the extruder but that is tells Marlin "please consider the extruder position is currenly X nd treat it as such". I believe Creality has overridden this behavior becuase ... why not? Do I properly understand G92?

    You understand correctly. G92 tells the printer "<insert axis here> is currently at <insert value here>". Cura uses it to reset the E value to 0 every so often even with absolute extrusion on to avoid rounding errors snowballing into big problems.

     

    8 hours ago, jaysenodell said:

    stick with with @Slashee_the_Cow's support object. 

    I'd love to take credit for that but @GregValiant actually showed me that trick 😄 

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