This mod primarily allows to switch between 2D/3D mode in the point to point distance tool. It's a git diff/patch, which can be applied to v3.27.1.0 (and probably other versions). Besides compiling it in, it's possible to apply it e.g. via linking the modified files into the installed QCAD scripts directory.
(This is my first time doing QCAD scripting, also I hacked this only some days ago, so there has not been extensive testing so far. CVH suggested to post my changes here, so here you are.)
(For whatever reason it's not allowed to allowed to attach a .patch file here , so it's a .patch.txt now , might need to rename back.)
Point to point distance 2D
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.
Point to point distance 2D
- Attachments
-
- 0001-Information-Distance-Point-to-Point-2D-option.patch.txt
- (4.17 KiB) Downloaded 248 times
Re: Point to point distance 2D
Anda, thank you very much.
We don't usually use patches here, I suppose, but the script file itself.
Is that something as a pull request on GitHub?
For me it was not a big deal to source InfoDistancePP.js, edit it and then include it in the script folder.
Even I wouldn't know how to link a patched file ...
I picked up scripting under QCAD with trial and error.
Never too old to learn something new.
Regards,
CVH
We don't usually use patches here, I suppose, but the script file itself.
Is that something as a pull request on GitHub?
For me it was not a big deal to source InfoDistancePP.js, edit it and then include it in the script folder.
Even I wouldn't know how to link a patched file ...
I picked up scripting under QCAD with trial and error.
Never too old to learn something new.
Regards,
CVH