Login  Register

Re: “Properties” command corrupts coordinates (rounds to 6 significant figures)

Posted by Holdstrong on Aug 15, 2024; 7:11am
URL: https://forum.librecad.org/Properties-command-corrupts-coordinates-rounds-to-6-significant-figures-tp5725226p5725231.html

I think we may be talking different issues.

One is negligible errors that may occur due to rounding etc that are (at least for me) inconsequential.

The other is a noticeable shift where different rounding rules may have been applied in different parts of the program.

I have simplified the file and is attached (so long as it uploads) and include the screenshots.
Test.dxf
The first image shows the drawing elements after selecting Properties but before pressing OK.

The second image shows the drawing elements after pressing OK – line AB moves to a visibly different position albeit the displayed coordinates are the same shown (using Properties).  Seem to be rounded to 6 dec places and these rounded coordinates replace the original for on-going operations and saving ie the  64bit floating point accuracy is not retained after using Properties.
BeforeAfter
Hopefully the above clarifies and you can experience for yourself.