Decimal Points In Property Editor For Angle Dimensions

If you are having problems with QCAD, post here. Please report bugs through our Bug Tracker instead.

Always attach your original DXF or DWG file and mentions your QCAD version and the platform you are on.

Moderator: andrew

Forum rules

Always indicate your operating system and QCAD version.

Attach drawing files and screenshots.

Post one question per topic.

Post Reply
John Hyslop
Premier Member
Posts: 474
Joined: Mon Sep 30, 2019 6:21 am
Location: Melbourne - Australia

Decimal Points In Property Editor For Angle Dimensions

Post by John Hyslop » Sun Aug 30, 2020 6:03 am

Hi All

I have a question regarding the property editor. when I select a linear dimension the property editor
reports 8 digits after the decimal point, on angled dimensions it's only displaying 5 ?
I discovered this by accident, I was cutting and pasting values from the property editor while creating
a hatch pattern... see screenshot below, dxf file also attached..

I checked the precision for both angular and degrees, they are both set to 8 digits after decimal point..

Using QCAD/CAM Version 3.25.0.0 (3.25.0)
Running on Windows 10, 64bit

Cheers
John
Attachments
Angles-Question.jpg
Angles-Question.jpg (424.14 KiB) Viewed 2991 times
Angles-Question.dxf
(197.36 KiB) Downloaded 331 times
IF IT IS TO BE IT IS UP TO ME [ Ten most powerful 2 letter words ]

CVH
Premier Member
Posts: 3476
Joined: Wed Sep 27, 2017 4:17 pm

Re: Decimal Points In Property Editor For Angle Dimensions

Post by CVH » Sun Aug 30, 2020 8:33 am

Hi John,
John Hyslop wrote:
Sun Aug 30, 2020 6:03 am
I checked the precision for both angular and degrees, they are both set to 8 digits after decimal point..
That is the drawing dimensional setting.
So, what is used for the Dim's is configurable. :P

This setting is also used for the info tools.
These values one can copy from the command history. :wink:

The property Editor display these with a build in scheme and 'as short as possible'.
For angles that is in degrees.
Angles in degrees need fewer decimals to be 'as accurate' in regards with linear values.
Therefor displayed shorter.

That is also true for Hatch pattern angles, these need less decimals as dX, dY or the dashes.
Part of the debate accuracy vs precision.

Formatting numbers in javascript is a milestone because it has the tendency to interpret it as strings.
For me it started about here https://www.qcad.org/rsforum/viewtopic. ... 566#p20784
Then we get accuracy vs resolution vs precision.
Hatch patterns definitions need precision, a certain number of significant decimal digits.
eg. lets say 4 : 1234 or 1.234 or 0.00001234 ...

What you need is a tool that documents entities in full. :wink:
Something I am using on daily base but I am altering the script for my needs on the fly.
I used a snip for this:
https://www.qcad.org/rsforum/viewtopic.php?f=30&t=7497

Regards,
CVH

CVH
Premier Member
Posts: 3476
Joined: Wed Sep 27, 2017 4:17 pm

Re: Decimal Points In Property Editor For Angle Dimensions

Post by CVH » Sun Aug 30, 2020 12:10 pm

And I could not resist to use a snip for this:
https://www.qcad.org/rsforum/viewtopic.php?f=30&t=7544

Happy Hatching.
Regards,
CVH

Post Reply

Return to “QCAD Troubleshooting and Problems”