Jump to content

Odd slicing bug?


Recommended Posts

Posted (edited) · Odd slicing bug?

I experience some odd slicing happening. Cura invents how to alter a sharp corner. it also changing with rotating the object. What makes it even more of a odd behaviour is when i multiply the item, it aint consequently slicing them all the same. The slicing also changes when u move the objects a bit like  rearranging them neatly, it just changes the slicing.
Works as intended?  😛   or is it a bug?
I strive to get all items dimensions exactly the same and this does make me scratching my head, wtf is goin on here?

Anyone?  i havent found a solution.
I add a piccie to make it more clear.

I think im goin back to an older version. im using 4.10,   4.11 does the same i didnt have this behaviour before, i reckon i would have noticed this 🙂
Thanks all.


Cura idiotic slicing.jpg

Edited by jerolee
  • Link to post
    Share on other sites

    • 1 month later...
    Posted · Odd slicing bug?

    Sorry about my answer in English.

    When a part slices differently dependent on where or how it's located on the build plate then my experience is that the problem is always in the part.  I used both MS 3D Builder and https://formware.co/OnlineStlRepair for repairs and both repaired parts sliced OK.  Attached is the one from the OnlineStlRepair site.

    Here is the report from the repair site:

    -> Analysed your file:
    --> 0 Naked edges (?)
    --> 0 Planar holes (?)
    --> 0 Non-planar holes (?)
    --> 0 Non-manifold edges (?)
    --> 0 Inverted faces (?)
    --> 0 Degenerate faces (?)
    --> 0 Duplicate faces (?)
    --> 0 Disjoint shells (?)
    -> Repairing: 100.00%
    ----- Repair completed in 403ms ------
    -> Vertex count changed from 1447 to 1512 (+65)
    -> Triangle count changed from 2890 to 3020 (+130)



  • Link to post
    Share on other sites

    Posted (edited) · Odd slicing bug?

    No worries about your English Greg, it was my answer in half English/half Dutch 🙂.  i dont agree with you mate. when i slice the design in Prusa copied it there 3 times, all the 3 items get sliced exactly the same, where ever i put them on the bed or rotate. Ill show you in piccies.
    Your repaired file shows an artifact which wasnt there in original, thats odd, it is also cutting corners!

    I am sure that my design has no defects, its done in fusion360, a piece sliced from a circle etc etc. the corners are exact same 🙂
    I love cura slicer, thats why i would like a developer look into it.


    in Prusaslicer.jpg

    Edited by jerolee
  • Link to post
    Share on other sites

    Posted · Odd slicing bug?

    I'm still using my old Mechanical Desktop (father of Inventor) and it also does a fine job creating STL's.

    Looking closely I see that Cura has decided that the path that creates the apex of the point should be a short line segment.  It builds on that segment and that's what we see regarding the inner walls.  This makes the "Wall Thickness" nearly correct off the point.

    PrusaSlicer is extending the walls rather than truncating it's movement.  If you were to decrease the angle, you would see the PrusaSlicer paths extend further and further from the point.  So the Wall Thickness off the point would increase.  I think Cura is being more accurate.


    If we view the Prusaslicer paths we see this:



    The dimensions indicate "Wall Thickness".  I think it is clear that the black dimensions indicate a true wall thickness and that the yellow dimension is a trig function of the angle.


    Looking at Cura paths they appear to maintain the Wall Thickness about the point.



    Doing a line study on a 15° angle I get this.



    The white lines to the right are the part and the white lines extending left indicate walls 1.2mm thick.  The Cura path (red lines) leaves a wall off the point of 1.77mm where the (suspected) Prusa paths (cyan lines) leave a wall 9.19 thick off the point.


    Thinking about that - I decided to go a bit further.  Here is a part with the angles lowered to 15° and sliced with Prusaslicer.  It looks much like what your larger angle sliced like in Cura.  My guess is that the angle has gone below some threshold in PrusaSlicer maybe to maintain the accuracy of the wall thickness off the point.



    Since I'm just a user and unfamiliar with what actually goes on inside Cura I can't tell if my wonderful logic is actually true.  I don't generally speculate, but in this case I thought I'd throw my thoughts out there.


    @ghostkeeper and @ahoeben are two of the real "nuts and bolts" guys of Cura.  Maybe they would have a take on this?


  • Link to post
    Share on other sites

    Posted · Odd slicing bug?
    8 hours ago, jerolee said:

    I am sure that my design has no defects, its done in fusion360, a piece sliced from a circle etc etc. the corners are exact same 🙂


    The Prusa slicer does a lot of automatic repairs, that hides the errors.


    This is what Meshmixer thinks about your file... (every "pin" marks an identified mesh error):



  • Link to post
    Share on other sites

    Posted · Odd slicing bug?

    Hi guys,  I gotta blame fusion360 for this then 🙂   the "cut" shape is done by combine and cut in fusion, not drawn and extracted or something.
    Its not that biggie, i was just wondering  wth is happening here, dragging  rotating the pieces and every time it decided to handle that sharp corner differently  🙂
    I prefer Cura anyways, im used to using it so yeah...
    Thanks all.

  • Link to post
    Share on other sites

    Posted · Odd slicing bug?

    This discussion is about a geometric term called the "miter limit". If you perform an offset or inset of a shape, very sharp corners may move a long distance, so the sharp inner corner of your layer would move a long way inside. The miter limit adds a cap on that. If the corner is further away than a certain number of insets, it'll get capped off and turns into two shallower corners.

    I think the original model was just on the edge of this miter limit, and got capped off on one side due to rounding errors.


    MDN has a nice explanation of it here (since it's also a CSS property): https://developer.mozilla.org/en-US/docs/Web/API/Canvas_API/Tutorial/Applying_styles_and_colors#a_demo_of_the_miterlimit_property


    Cura uses a miter limit of 1.2 for most things (including wall insets), meaning that corners get cut if the inset vertex would go beyond 1.2 times the offset distance: https://github.com/Ultimaker/CuraEngine/blob/6fc5f512f2d0dfe602a3d1b71d61853578cb8b42/src/utils/polygon.h#L128


    A miter limit of 1.0 would mean that corners are exactly as wide as the normal wall. This is not always desirable though, since corners are also weak points of the print. We went for 1.2 as a balance.


    Arachne produces round joints instead of miter joints, by the way. The miter limit is removed from the walls there.

  • 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

      • 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
      • Ultimaker Cura 5.6 stable released
        Cura now supports Method series printers!
        A year after the merger of Ultimaker and MakerBotQQ, we have unlocked the ability for users of our Method series printers to slice files using UltiMaker Cura. As of this release, users can find profiles for our Method and Method XL printers, as well as material profiles for ABS-R, ABS-CF, and RapidRinse. Meaning it’s now possible to use either Cura or the existing cloud-slicing software CloudPrint when printing with these printers or materials
        • 48 replies
    • Create New...