Jump to content
Ultimaker Community of 3D Printing Experts

GCode Path does not Match Cura path


BStump
 Share

Recommended Posts

Posted · GCode Path does not Match Cura path

I have two case where when I generate the GCode in Cura 4.9.0 and 4.9.1, the resulting GCode path does not match the Cura path.   Printing on a Modix Big Meter with Duet3D2 WiFi controller (RepRap not Merlin).

 

This bug is pretty concerning as it makes me question the resulting GCode.

 

One example is printing multiple parts one at a time.  I Cura this show's the sequence and nozzle path correctly, one part followed bay another followed by another.  But when I examine the GCode I see the GCODE has it as "All at Once" and has completely ignored the "One at a Time".  I had though it was something to do with more recent addon but now examining a couple jobs I prepped but have not printed it predates those and is present in Cura 4.9.0.  Are there and setting that interfere with the print sequence "One at a Time"?  This one is pretty important as we have some large print batch jobs where we need the Print "One at a Time" functionality.

 

Cura 3MF (Does not match the resulting GCode).  Looks good an the Print Sequence is as desired Two Groups printing sequentially.

 

image.thumb.png.4c3c30f47c8b772a96f5e07f757ce7da.png

 

CURA reopening the GCode from the 3MF.  The GCode does not match the Cura tool path image.   The Two groups print "All at once".

 

image.thumb.png.4620868b11acf5573fd70241d73c330e.png

 

The second case where I see that the GCode and Cura paths do not match is when I ran the Arc Welder add on for a part that has straight sides.  It looks fine in Cura  (3MF) but on examining the GCode I can clearly see that add on is not right for straight sided part or is very buggy.  This oine is of less concern as it is just an Add-On that is not all that Important.

 

Arc Welder Addon Enabled in 3MF in Cura (does not match resulting GCode).  Looks pretty good

 

image.thumb.png.dd45521f1a3cdbf8f94b3e56603ec3aa.png

 

CURA reopening the GCode with the Arc Welder Addon Enabled.  The GCode does not match the Cura tool path image.  I am not thinking the Arc Welder Add on is ready for Prime Time is this was the wrong part for it.

 

image.thumb.png.d53d8abd95c6abe89a399f6f4eb7337b.png

 

  • Link to post
    Share on other sites

    Posted (edited) · GCode Path does not Match Cura path

    I can't comment on the 'one part at a time' issue. But I just experienced the same issue with an "Arcwelded" G-code not showing correctly in the Cura preview. That part is printing as I write this with no problems, so I have to assume that Cura does not recognize G2/G3 commands and just previews them as straight lines.

     

    A side effect of that is that now I can see where the G2/G3 commands show up in the layer.

    Edited by Bill_D
  • Link to post
    Share on other sites

    Posted · GCode Path does not Match Cura path

    That's correct.  At this time Cura does not interpret G2/G3 commands in the preview.  I think that's being looked at and will be fixed.

     

    @BStump is it possible for you to post the 3mf file and the gcode file?  Somebody will take a look.  As far as I know, "One at a time" isn't interfered with by any other setting.

     

     

     

  • Link to post
    Share on other sites

    Posted · GCode Path does not Match Cura path
    On 5/26/2021 at 10:33 PM, GregValiant said:

    That's correct.  At this time Cura does not interpret G2/G3 commands in the preview.  I think that's being looked at and will be fixed.

    It's not really something that has high priority, so don't expect it any time soon.

  • Link to post
    Share on other sites

    Posted · GCode Path does not Match Cura path

    I looked at both your 3mf file and your gcode and also sliced your 3mf file.  It works fine.

     

    I think what is happening is that you are probably loading the gcode file back into cura and then using the slider and it looks like it prints all at once.  But it doesn't.  Cura has a bug that when it displays gcode files it displays it by layer height instead of the order it is in the file.

     

    Am I being clear?

     

    It's just a bug in how cura displays a gcode file.

     

    I also opened your gcode file in a text editor and if you search for Z0.28 you will find that this occurs twice in the file.  The second time about half way through the file when it goes to print the second part.  So - the gcode is fine.

     

    • Like 1
    Link to post
    Share on other sites

    Posted · GCode Path does not Match Cura path
    On 5/28/2021 at 9:51 PM, gr5 said:

    I looked at both your 3mf file and your gcode and also sliced your 3mf file.  It works fine.

     

    I think what is happening is that you are probably loading the gcode file back into cura and then using the slider and it looks like it prints all at once.  But it doesn't.  Cura has a bug that when it displays gcode files it displays it by layer height instead of the order it is in the file.

     

    Am I being clear?

     

    It's just a bug in how cura displays a gcode file.

     

    I also opened your gcode file in a text editor and if you search for Z0.28 you will find that this occurs twice in the file.  The second time about half way through the file when it goes to print the second part.  So - the gcode is fine.

     

    Thanks.  I did not dig into the Gcode lines to see it was a display vs actual bug.

  • Link to post
    Share on other sites

    Posted · GCode Path does not Match Cura path

    When printing "One at a Time" each part instance has it's own Layer:0.  When Cura displays a gcode file then all the layer"0's are shown on the bed at the same time.

     

    Within the gcode file though, layers might be numbered 0 to 10 and then the next 0 to 10 , and then another group of 0 to 10, etc.  That's the order in which they would print.

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

    • Our picks

      • New here? Get ahead with a free onboarding course
        Hi,
         
        Often getting started is the most difficult part of any process. A good start sets you up for success and saves you time and energy that could be spent elsewhere. That is why we have a onboarding course ready for
        Ultimaker S5 Pro Bundle, Ultimaker S5, Ultimaker S3 Ultimaker 2+ Connect.   
        They're ready for you on the Ultimaker Academy platform. All you need to do to gain access is to register your product to gain free access. 
        Ready? Register your product here in just 60 seconds.
          • Like
        • 11 replies
    ×
    ×
    • Create New...