Jump to content

Is there a way to change precision?


TommyDee

Recommended Posts

Posted · Is there a way to change precision?

I know the arguments against but you have to trust me that there is a reason for asking...

I have a 4-digit layer height of 0.1925mm which Cura accepts as a layer height.

 

And if it cannot change the precision, how does Cura deal with the cumulative error?...  bummer!

Lets see...  From the output file:

0.442-.25=.192

.634-0.442=.192

.826-.634=.192

Therefore it is obvious the error is cumulative rather than a simple rounding.

 

How do I make the G-code output from Cura provide 4 digits for the Z value rather than 3 for G1 calls?

  • Link to post
    Share on other sites

    Posted · Is there a way to change precision?

    CuraEngine works in whole microns internally. A micron is a 1000th of a mm. Making CuraEngine more precise than the micron level is going to take a LOT of refactoring and will likely decrease its performance significantly and/or cause rounding issues elsewhere.

  • Link to post
    Share on other sites

    Posted · Is there a way to change precision?
    14 hours ago, ahoeben said:

    CuraEngine works in whole microns internally. A micron is a 1000th of a mm. Making CuraEngine more precise than the micron level is going to take a LOT of refactoring and will likely decrease its performance significantly and/or cause rounding issues elsewhere.

    And not to mention a ton of extra memory usage.

  • Link to post
    Share on other sites

    Posted · Is there a way to change precision?

    I got it.  Obviously I am trying to mimic a known profile.

     

    It does surprise me that I didn't get a warning when I entered 0.1925 as a layer thickness and it allowed the entry.

    A simple UI fix would make this clear up front.

     

    Where do we submit ongoing bug fixes and enhancements?

     

  • Link to post
    Share on other sites

    Posted · Is there a way to change precision?

    https://github.com/ultimaker/cura/issues

     

    Note that in this case, even after 1000 layers, you are still talking about a discrepancy of half a millimeter. Even “splitting hairs” is many times more than the “bug” you are talking about. I don’t think it will get much attention.

    • Thanks 1
    Link to post
    Share on other sites

    Posted · Is there a way to change precision?

    It is a matter of completeness in the UI.  I have a pet peeve in in that direction coming from that ilk.

    Some people care about that 0.5mm.  A 1,000 layers is an every day thing under fine settings.

    I could go on but it isn't worth the wasted bits in the cyber universe.

    Just leave it to say that it would be a fit-n-finish enhancement request.

    • Like 1
    Link to post
    Share on other sites

    Posted · Is there a way to change precision?

    If something is not correct, it should be fixed. Especially if it is something like this - I suppose Qt (the GUI framework of cura) does have easy options for implementing the right behaviour.

  • Link to post
    Share on other sites

    Posted · Is there a way to change precision?
    3 hours ago, P3D said:

    If something is not correct, it should be fixed. Especially if it is something like this - I suppose Qt (the GUI framework of cura) does have easy options for implementing the right behaviour.

    Unfortunately, there are always more things that are incorrect then there is time/resources to actually fix them with.

  • Link to post
    Share on other sites

    Posted (edited) · Is there a way to change precision?

    How to implement this (probably): Use http://doc.qt.io/qt-5/qregexpvalidator.html  (PyQt4 Code snippet - should also work in the PyQt5 used - see answer to this thread: https://stackoverflow.com/questions/34399485/qlineedit-accepts-only-character-in-pyqt4). I have zero Qt/Cura coding experience unfortunately, otherwise I'd probably just try to fix that myself and commit it to github...

    Edited by P3D
    • Thanks 1
    Link to post
    Share on other sites

    Posted · Is there a way to change precision?

    I've posted the enhancement request at GetHub for an entry field validation. 

    I'm perfectly fine with the micron level precision now that I know.

     

     

  • 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.8 Stable released 🎉
        In the Cura 5.8 stable release, everyone can now tune their Z seams to look better than ever. Method series users get access to new material profiles, and the base Method model now has a printer profile, meaning the whole Method series is now supported in Cura!
        • 5 replies
      • Introducing the UltiMaker Factor 4
        We are happy to announce the next evolution in the UltiMaker 3D printer lineup: the UltiMaker Factor 4 industrial-grade 3D printer, designed to take manufacturing to new levels of efficiency and reliability. Factor 4 is an end-to-end 3D printing solution for light industrial applications
          • Thanks
          • Like
        • 3 replies
    ×
    ×
    • Create New...