Jump to content

Cura line start/z-seam problem


martincho

Recommended Posts

Posted · Cura line start/z-seam problem

Strange Cura slicer behavior.  Starting around layer 20 the slicer decides not to start the lines at the corners and starts moving inwards into the straight line segments.  It becomes progressively worse until it reaches approximately layer 50, where it snaps back to starting at the corners.

 

The end result are visible print defects at the intermediate line start/stop locations for about 30 layers.  Bumps and zits.

 

This part has a slight taper.  I tried a small pyramid (40 x 40 x 40 mm) with sharp, chamfered and even rounded corners.  I could not reproduce this behavior.  Also works fine with cubes.

I also tried it with and without fill and different fill densities.  No change.

 

Finally, I experimented with Z Seam Alignment.  I tried Manual, Sharpest Corner and Smart Hiding.  Nothing would reliably send the seam to the corners for a range of layers roughly between 20 and 50.

 

Video showing z-seam issue

 

The images show the same part before I shortened the non-tapered bottom half of it to just a few mm in order to focus on troubleshooting this issue.  The orange part was printed at 0.4 mm on an original Prusa mk3 with the default Cura settings Prusa publishes.  The white piece was printed on a custom, super rigid machine with ballscrews for both x and y.  It's setup with a 0.8 mm nozzle, Volcano extruder and Bondtech dired (not bowden) drive.

 

Not that it matters (because the issue is visible in the Cura simulator output), this is PLA.

 

I suppose an alternative would be to learn how to tweak settings in order to minimize the bump for the 0.8 mm version.  I'd appreciate your help with this as well.

 

Not sure what's going on .  Thanks.

IMG_4477.JPG

  • Link to post
    Share on other sites

    Posted · Cura line start/z-seam problem

    I should add that the layer numbers for the start and end of the problem in the 0.4 mm case are double.  In other words, the slicer does not start/end lines at corners between approximately layers 40 and 100.

     

  • Link to post
    Share on other sites

    Posted · Cura line start/z-seam problem

    This model is good because it has some nice straight edges that extend from top to bottom so it's easy to get the z-seam to follow one of them. The "trick" is to turn off the seam corner preference option. That rarely (but sometimes actually does) gives you what you want. So go for the user specified z-seam hint. I think that using the z-seam relative option makes it easier to position the seam as the location you specify is now relative to the centre of the model and it doesn't matter where the model is on the buildplate. This image shows the location of the z-seam and it doesn't vary appreciably over the whole height of the model. It also shows the settings I used. Hope this helps.

     

    Screenshot_2019-08-27_22-33-25.thumb.png.f536e14c3b8946c0f5b7fa1deaa66ea0.png

  • Link to post
    Share on other sites

    Posted · Cura line start/z-seam problem

    Not that it matters...I just ran a quick test using Simplify3D on this part as well as the much larger real part I need to produce.  I can't see an equivalent issue.  I also printed the small test part and it came out perfect.

     

    I would prefer to use Cura.  Hopefully someone can figure out what I might be doing wrong.

    27-08-2019 14-38-12.png

  • Link to post
    Share on other sites

    Posted · Cura line start/z-seam problem
    1 minute ago, burtoogle said:

    This model is good because it has some nice straight edges that extend from top to bottom so it's easy to get the z-seam to follow one of them. The "trick" is to turn off the seam corner preference option. That rarely (but sometimes actually does) gives you what you want. So go for the user specified z-seam hint. I think that using the z-seam relative option makes it easier to position the seam as the location you specify is now relative to the centre of the model and it doesn't matter where the model is on the buildplate. This image shows the location of the z-seam and it doesn't vary appreciably over the whole height of the model. It also shows the settings I used. Hope this helps.

     

    Screenshot_2019-08-27_22-33-25.thumb.png.f536e14c3b8946c0f5b7fa1deaa66ea0.png

     

    I'll try this.  Thanks.  The only issue I would have with this idea is that this small test part I created is a representative portion of a much larger (28 x 16 x 8 inches) highly faceted model.  Regrettably I am not able to post that model.

     

    I'll try what you suggest and then perhaps I'll create a slightly more complex model to see how the solution might translate, if at all.

     

    Thanks again.

  • Link to post
    Share on other sites

    Posted · Cura line start/z-seam problem

    I just realised that you are using hide seam alignment which tries to position the seam on the most concave region of the model. But your model only has convex corners. So you need to use the expose seam option and then the seam will stick to the sharpest corner.

  • Link to post
    Share on other sites

    Posted · Cura line start/z-seam problem

    I have submitted a small mod to Cura (https://github.com/Ultimaker/CuraEngine/pull/1122)

    that fixes the z-seam position in your example project. The problem is caused by the fact that the model has some vertices in the long edges that make the outline very slightly concave and you are using the hide seam option which looks to find the most concave corner. All the other corners are convex and so it was choosing the slightly concave corners.

  • Link to post
    Share on other sites

    Posted · Cura line start/z-seam problem
    6 hours ago, burtoogle said:

    I have submitted a small mod to Cura (https://github.com/Ultimaker/CuraEngine/pull/1122)

    that fixes the z-seam position in your example project. The problem is caused by the fact that the model has some vertices in the long edges that make the outline very slightly concave and you are using the hide seam option which looks to find the most concave corner. All the other corners are convex and so it was choosing the slightly concave corners.

    Thanks for doing this.  That said, not sure I understand.  The first question is:  From what frame of reference?  Inside the part or outside?  And then, of course, there's the fact that the long edges are straight, which means they are not concave/convex, regardless of where we look at them from.

    Just trying to understand.  I am just starting to look at the internals of slicers.  At first pass I thought that the seam point selection might have been influenced by infill kind or infill segment end points as they join the inner wall.  That was easily debunked by simply eliminating the infill, which changed nothing.

     

    Herea's the most important question though:

    How do I know which approach will produce good parts?

     

    I am printing very large parts.  Some of them will take upwards of 50 hours print time.  I need a way to know the slicer will not introduce these kinds of errors.  This seam location issue produces horrible defects across hundreds of layers.  Out of the roughly 900 layers of the part that triggered this investigation there might be 100 without visible zits due to seam issues.  My only option right now is to use Simplify3D until I can trust Cura to deliver defect-free files.  As I said before, I really want to use Cura (even though I own an S3D license), but I can't afford to waste a part to see if the slicer made a mistake.

     

    Again, I'd appreciate any and all advise on this front.   Thanks.

     

  • Link to post
    Share on other sites

    Posted · Cura line start/z-seam problem
    1 hour ago, martincho said:

    The first question is:  From what frame of reference?  Inside the part or outside?  And then, of course, there's the fact that the long edges are straight, which means they are not concave/convex, regardless of where we look at them from.

     

    Not sure what you mean by frame of reference but your model is providing the outside shape of the part.

     

    Here's the model from your project. You can see it is made up of triangles. Cura (and most slicers I should think) work with models that are defined as triangles.

     

    Screenshot_2019-08-28_18-25-33.thumb.png.c91d4793b74e7ffe698bfde95bb302a8.png

     

    When the model is sliced into layers, the vertices of the outline polygon for each layer will be located at where the layer hits the edges of the triangles at that height. On those large flat sides, you will get vertices appearing on the diagonal lines (moving to/from the corner of the model as the height varies). The slicer tries to remove collinear vertices but due to numerical precision, arithmetic errors, etc. sometimes vertices remain. There is a setting (maximum deviation) that influences the removal of vertices.

     

    2 hours ago, martincho said:

    How do I know which approach will produce good parts?

     

    Good question. I don't really have a good answer other to say that having sliced your model you should go through the layers in the layer view to check that the z-seam hasn't ended up somewhere bad.

     

    Personally, I use the user-defined z-seam hint nearly every time but my models are, generally, amenable to doing that.

     

     

     

  • Link to post
    Share on other sites

    Posted · Cura line start/z-seam problem

    Ah, I get it now, thanks.  I was thinking about the sliced perimeter of the part (coplanar with the print bed).  In that context, if you are inside the perimeter (think single layer tool-path) looking outward the corners look concave.  If you are outside looking in, they are convex.  That's what I meant by "frame of reference".

    Now I realize these decision are likely made from the triangulated STL file representation of my SolidWorks models.  In that context I can see flat faces, well, not necessarily being absolutely flat as far as the slicer is concerned.  This also explains why the same part without taper has no issues.  The introduction of taper changed the math.

    What would be VERY helpful is for CURA to have various view options such that you could quickly inspect z-seam points without having to manually explore a thousand layers.  It would be as simple as rendering a single black dot at the z-seam, perhaps with options for transparency of the tool-path graphic.  With something like this it would be a very simple matter to turn it on and look to see if any dots exist where we might not want z-seams.

  • Link to post
    Share on other sites

    Posted · Cura line start/z-seam problem
    23 minutes ago, martincho said:

    What would be VERY helpful is for CURA to have various view options such that you could quickly inspect z-seam points without having to manually explore a thousand layers.  It would be as simple as rendering a single black dot at the z-seam, perhaps with options for transparency of the tool-path graphic.  With something like this it would be a very simple matter to turn it on and look to see if any dots exist where we might not want z-seams.

     

    Indeed, this request or similar comes up regularly. The most recent request was https://github.com/Ultimaker/Cura/issues/6072.

  • Link to post
    Share on other sites

    Posted · Cura line start/z-seam problem
    22 hours ago, burtoogle said:

     

    Indeed, this request or similar comes up regularly. The most recent request was https://github.com/Ultimaker/Cura/issues/6072.

     

    What I got out of that request is that I might be able to cheat and make z-seams visible by enabling coast.  I'll try it later and see what that might look like.  Right now I need to get some work done.  Simplify3D is delivering better results at the moment.  I think I am going to stop messing with Cura and just get parts out the door.  I can return to tuning Cura in about three or four days.

    I guess my main comment with regards to this issue is that the last thing you want is for software to side-swipe you like this on a large print.  Not only does it waste a ton of time printing, it launches someone into a potentially days-long research project until finally figuring out what might be going on.  I've experienced this kind of thing over ten years ago when our CAM tool (used to generate gcode for machining) lied to us, which resulted in our vertical machining center plunging a 3/4 inch end-mill into a chunk of aluminum at 20,000 RPM.  The sound of a 20 HP spindle churning aluminum like it was butter is something that will never leave my brain.  Software bug.

  • Link to post
    Share on other sites

    Posted · Cura line start/z-seam problem

    This issue is the reason why the Seam Corner Preference option of "Smart Hiding" was built for Cura 4.2. Smart Hiding will prefer to hide the seam in an inner corner, but if no inner corner is available it'll at least try to put it not in a flat surface. It'll put it on an outer corner then.

  • Link to post
    Share on other sites

    Posted · Cura line start/z-seam problem
    22 minutes ago, ghostkeeper said:

    This issue is the reason why the Seam Corner Preference option of "Smart Hiding" was built for Cura 4.2. Smart Hiding will prefer to hide the seam in an inner corner, but if no inner corner is available it'll at least try to put it not in a flat surface. It'll put it on an outer corner then.

     

    Except that smart hiding fails for this particular example.

     

    Screenshot_2019-09-03_11-25-46.thumb.png.095e0f8ee96511e0f524eff5004ae672.png

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