Jump to content

"Change Filament" Plugin Stops at Wrong Layer


TheDullCarbide

Recommended Posts

Posted (edited) · "Change Filament" Plugin Stops at Wrong Layer

I've been using Cura 15.04.6 with my Monoprice Maker Select Mini V2 (uses Marlin flavor) for about a year because I liked the simplicity. I recently downloaded Cura 3.5.0 because I had a project that involved embedding a steel washer in the print and the "Pause" plugin never worked on 15.04.6. Long story short, I figured out that my printer doesn't recognize the M0 or M1 command. It does, however, recognize M600 with no arguments as a pause command. I was able to use the "Change Filament" plugin on 3.5.0 with the filament retraction set to 0 to get the printer to pause, but it would never pause at the correct layer.

 

The Problem:

My print needs to pause after layer 40 is printed according to the "Layer View" slider in Cura. When I use the "Change Filament" plugin and input layer 40, the M600 line is inserted immediately BEFORE layer 39.

G0 X48.262 Y59.406
;TIME_ELAPSED:1526.877893
;LAYER:39
G0 X48.262 Y59.406 Z9
M600 ; Generated by FilamentChange plugin
;TYPE:WALL-INNER
G1 F2400 E1197.38525
G1 X48.259 Y59.394 E1197.38566

I would need this instruction immediately BEFORE layer 41.

 

But wait, there's more:

My print includes a 4 layer thick raft (base layer, interface layer, and 2 surface layers). I am aware that Cura uses negative layers in the Gcode for raft layers, but my Gcode starts at Layer -6:

G92 E0
G1 F2400 E-4.5
;LAYER_COUNT:64
;LAYER:-6
M107
G0 F3600 X45.596 Y49.207 Z0.3
;TYPE:SUPPORT-INTERFACE
G1 F2400 E0
G1 F900 X45.825 Y48.995 E0.01557

This would make the first layer of the part Layer -2. Now, it is important to remember that the "Layer View" in Cura calls the base layer of the raft Layer 1, so when I say I need to stop after Layer 40, I'm assuming the base layer of the raft to be Layer 1.

 

So to recap:

1. The "Change Layer" plugin places the M600 line BEFORE the layer that comes BEFORE the one inputted to the Post-Processing dialog.

2. The comments before each layer in the Gcode start at -6, despite a raft that is 4 layers thick.

3. The "Layer View" in Cura says that the base layer of the raft is Layer 1.

 

Attached is the full copy of the Gcode with Layer 40 in "Change Filament" plugin's dialog. 

 

Thanks in advance for your help,

Tyler

MSMV2E3D_Washer Test 2.gcode

Edited by TheDullCarbide
  • Link to post
    Share on other sites

    Posted · "Change Filament" Plugin Stops at Wrong Layer

    I ended up just calculating where the M600 should be and threw it in the Gcode manually because I needed to get my job over with.

     

    I also noticed that the Gcode always starts at layer -6, even with rafts of different heights. I did not try it with brim, skirt, or none yet.

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