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