Jump to content
Ultimaker Community of 3D Printing Experts
TommyDee

Is there a way to change precision?

Recommended Posts

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?

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites

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?

 

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites

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

Share this post


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

    • Introducing Ultimaker Cura 3.6 | Beta
      Ultimaker Cura 3.6 | Beta is available. It comes with new features, bug fixes, and UX improvements. We would really like to have your feedback on it to make our stable release as good as it can be. As always, you can download the beta for free from our website, for Windows, MacOS, and Linux.
        • Like
      • 92 replies
    • Print Core CC | Red for Ruby
      Q: For some users, abrasive materials may be a new subject matter. Can you explain what it is that makes a material abrasive when you are not sure which print core to use?
      A: Materials which are hard in a solid piece (like metals, ceramics and carbon fibers) will generally also wear down the nozzle. In general one should assume...
        • Like
      • 30 replies
    • "Back To The Future" using Generative Design & Investment Casting
      Designing for light-weight parts is becoming more important, and I’m a firm believer in the need to produce lighter weight, less over-engineered parts for the future. This is for sustainability reasons because we need to be using less raw materials and, in things like transportation, it impacts the energy usage of the product during it’s service life.
        • Like
      • 12 replies
×

Important Information

Welcome to the Ultimaker Community of 3D printing experts. Visit the following links to read more about our Terms of Use or our Privacy Policy. Thank you!