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
Decimal Points In Property Editor For Angle Dimensions
Moderator: andrew
Forum rules
Always indicate your operating system and QCAD version.
Attach drawing files and screenshots.
Post one question per topic.
Always indicate your operating system and QCAD version.
Attach drawing files and screenshots.
Post one question per topic.
-
- Premier Member
- Posts: 474
- Joined: Mon Sep 30, 2019 6:21 am
- Location: Melbourne - Australia
Decimal Points In Property Editor For Angle Dimensions
- Attachments
-
- 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 ]
Re: Decimal Points In Property Editor For Angle Dimensions
Hi John,
So, what is used for the Dim's is configurable.
This setting is also used for the info tools.
These values one can copy from the command history.
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.
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
That is the drawing dimensional setting.John Hyslop wrote: ↑Sun Aug 30, 2020 6:03 amI checked the precision for both angular and degrees, they are both set to 8 digits after decimal point..
So, what is used for the Dim's is configurable.
This setting is also used for the info tools.
These values one can copy from the command history.
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.
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
Re: Decimal Points In Property Editor For Angle Dimensions
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
https://www.qcad.org/rsforum/viewtopic.php?f=30&t=7544
Happy Hatching.
Regards,
CVH