Menu

#454 Precision does not set trailing zeros in dimensions

2.0
closed-fixed
None
5
2014-02-25
2014-02-10
No

Even though precision is set to say 0.0000 in the document preferences, dimensions are truncated without trailing zeros. If I have a dimension of 0.050, librecad changes it to 0.05.

This is important because often the trailing zeros imply a tolerance. 0.500 is not the same as 0.5 to many engineers and machinists.

The best solution would be to allow trailing zero precision to be overriden on a per-dimension basis with a global default. This would accommodate the practice of using trailing zeros exclusively to imply tolerances, common in some shops.

But as a quick fix, just displaying dimensions using the document wide default precision would be better than what we have now.

Discussion

  • Dongxu Li

    Dongxu Li - 2014-02-10

    This seems to be a bug.

    a quick fix in master branch, commit e1db360

     
  • Dongxu Li

    Dongxu Li - 2014-02-10
    • status: open --> open-fixed
    • Group: 1.0 --> 2.0
     
  • Dongxu Li

    Dongxu Li - 2014-02-25
    • status: open-fixed --> closed-fixed
    • assigned_to: Dongxu Li
     

Log in to post a comment.