Converting documents from US Survey units
Posted: Fri Sep 23, 2022 7:24 am
Referring to:
https://qcad.org/rsforum/viewtopic.php?f=8&t=9493
https://www.qcad.org/bugtracker/index.p ... sk_id=2390
https://www.qcad.org/bugtracker/index.p ... sk_id=2272
I took the liberty to adapt ConvertUnit.js to include US Survey units.
And that only for a document as a source.
It is of no use to fully support US Survey units because by the end of this year the use of these units should be avoided.
I have no intentions to support a custom conversion factor as requested in the forum topic mentioned above.
For that one can better scale the whole drawing with a factor.
Files can't be saved again in US Survey units like Anđa has proposed in FS 2272.
The main idea is that one can convert documents from US survey units to common supported units.
And that one leaves such files as they originally are for historic and legacy applications as advised by NIST.
I don't have access to such a document, I only presume it opens with the Drawing unit = 'None'.
It would be great if someone would like to test this update or share such a document.
The package is intended to supersede the existing Convert tool.
The 7 files in the zipper must be installed in your QCAD installation path under ...\scripts\Edit\ConvertUnit\
Or in the local data location, see Changelog ... 3.26.2 (2021/04/15):
https://www.ribbonsoft.com/en/documentation/changelog
The folder construction is mandatory, the path to the main script itself should read:
...\scripts\Edit\ConvertUnit\ConvertUnit.js
Andrew may include this update in a next release of QCAD.
The current version is 3.27.6.0.
In such a case it is not required to install this package or if so one can remove it completely including emptied folders.
Regards,
CVH
https://qcad.org/rsforum/viewtopic.php?f=8&t=9493
https://www.qcad.org/bugtracker/index.p ... sk_id=2390
https://www.qcad.org/bugtracker/index.p ... sk_id=2272
I took the liberty to adapt ConvertUnit.js to include US Survey units.
And that only for a document as a source.
It is of no use to fully support US Survey units because by the end of this year the use of these units should be avoided.
I have no intentions to support a custom conversion factor as requested in the forum topic mentioned above.
For that one can better scale the whole drawing with a factor.
Files can't be saved again in US Survey units like Anđa has proposed in FS 2272.
The main idea is that one can convert documents from US survey units to common supported units.
And that one leaves such files as they originally are for historic and legacy applications as advised by NIST.
I don't have access to such a document, I only presume it opens with the Drawing unit = 'None'.
It would be great if someone would like to test this update or share such a document.
The package is intended to supersede the existing Convert tool.
The 7 files in the zipper must be installed in your QCAD installation path under ...\scripts\Edit\ConvertUnit\
Or in the local data location, see Changelog ... 3.26.2 (2021/04/15):
https://www.ribbonsoft.com/en/documentation/changelog
The folder construction is mandatory, the path to the main script itself should read:
...\scripts\Edit\ConvertUnit\ConvertUnit.js
Andrew may include this update in a next release of QCAD.
The current version is 3.27.6.0.
In such a case it is not required to install this package or if so one can remove it completely including emptied folders.
Regards,
CVH