win10 QCAD3.28 pro
Hi all
I am testing ExplodeTest00.js and there is an error in the attachment. How should I correct it?
Test ExplodeTest00.js error
Moderator: andrew
Forum rules
Always indicate your operating system and QCAD version.
Attach drawing files, scripts and screenshots.
Post one question per topic.
Always indicate your operating system and QCAD version.
Attach drawing files, scripts and screenshots.
Post one question per topic.
-
- Full Member
- Posts: 84
- Joined: Fri Oct 20, 2023 7:21 am
Test ExplodeTest00.js error
- Attachments
-
- VeryCapture_20231102114436.jpg (165.57 KiB) Viewed 4378 times
Re: Test ExplodeTest00.js error
Hi,
Not sure what you are trying to accomplish with that.
Please elaborate on your goals.
ExplodeTest00.js is a script to automatically verify if a QCAD release does what is expected.
In this case the first test for the method Modify .. Explode (XP).
This test is accompanied with a testing source, a unique example file in dxf.
TdbTest.js mimics the user interaction coded in ExplodeTest00.js on the intended dxf file.
It select entities, explode them and verifies that the results match with the expected results.
As far as I know TdbTest.js is not included in a standard installation.
I pretty sure that it is a developer tool only available to Andrew.
Lets give an example:
CT3 did not return any tangent circles as candidate when 2 of the indicated circles where concentric:
https://qcad.org/bugtracker/index.php?d ... sk_id=2497
The Apollonius algorithm rejected at least 2 concentric circles and returned nothing.
Andrew include my patch for Apollonius.getSolutionsCCC on GitHub:
https://github.com/qcad/qcad/commit/f05 ... 0a9fc2fdd5
He later added a new standard test and a test file to automatically verify the new functionality in future releases.
https://github.com/qcad/qcad/commit/d85 ... 2bea1d4fdb
The additional CT3 functionality will probably be included in future QCAD releases.
I don't expect it to fail there the 1-4 possible tangents are straightforward, if any.
Regards,
CVH
Not sure what you are trying to accomplish with that.
Please elaborate on your goals.
ExplodeTest00.js is a script to automatically verify if a QCAD release does what is expected.
In this case the first test for the method Modify .. Explode (XP).
This test is accompanied with a testing source, a unique example file in dxf.
TdbTest.js mimics the user interaction coded in ExplodeTest00.js on the intended dxf file.
It select entities, explode them and verifies that the results match with the expected results.
As far as I know TdbTest.js is not included in a standard installation.
I pretty sure that it is a developer tool only available to Andrew.
Lets give an example:
CT3 did not return any tangent circles as candidate when 2 of the indicated circles where concentric:
https://qcad.org/bugtracker/index.php?d ... sk_id=2497
The Apollonius algorithm rejected at least 2 concentric circles and returned nothing.
Andrew include my patch for Apollonius.getSolutionsCCC on GitHub:
https://github.com/qcad/qcad/commit/f05 ... 0a9fc2fdd5
He later added a new standard test and a test file to automatically verify the new functionality in future releases.
https://github.com/qcad/qcad/commit/d85 ... 2bea1d4fdb
The additional CT3 functionality will probably be included in future QCAD releases.
I don't expect it to fail there the 1-4 possible tangents are straightforward, if any.
Regards,
CVH