QCAD Utilities

Discussion forum for C++ and script developers who are using the QCAD development platform or who are looking to contribute to QCAD (translations, documentation, etc).

Moderator: andrew

Forum rules

Always indicate your operating system and QCAD version.

Attach drawing files, scripts and screenshots.

Post one question per topic.

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

Re: QCAD Utilities

Post by CVH » Thu Jul 14, 2022 3:51 am

Husky wrote:
Thu Jul 14, 2022 3:13 am
What is the advantage of using the "Table Grid" widgets instead of using the "Library Browser" ...
Not sure, can't explore them with the widget, but seeing that it are merely dxf snippets I think they can be handled as library items just the same ...

Pitty that most things don't follow the basic QCAD layout implemented by Andrew.

Regards,
CVH

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

Re: QCAD Utilities

Post by CVH » Thu Jul 14, 2022 4:31 am

Husky wrote:
Wed Jul 13, 2022 10:00 pm
My QCAD installation is below .... qcad-3.27.6-pro-win64 and not qcad-3i.27.6-pro-win64
MikeJ wrote:
Thu Jul 14, 2022 1:01 am
The file path is correct.
Husky wrote:
Thu Jul 14, 2022 1:48 am
Well, I still think the path is wrong and this one dxf file in the zip doesn't solves the problem.
The subfolder '.../utility/blocks/piping' of the QCAD installation folder is correct.
The 'i' in 3i.27.6 is definitly wrong.

Thus the tool is looking for it in the wrong place.
How the installation filepath gets crippled is a mistery to me.
I can only add that there is quite some textual manipulation of path strings ...

Regards,
CVH

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

Re: QCAD Utilities

Post by CVH » Thu Jul 14, 2022 4:47 am

On shortcuts:

(W,A) collision with Arc.getCadToolBarPanel
(W,T) collision with Viewport.getCadToolBarPanel
(U,L) & (U,I) were unused as far that I know of.

Regards,
CVH

User avatar
petevick
Premier Member
Posts: 392
Joined: Tue May 19, 2020 9:34 am
Location: North Norfolk coast UK

Re: QCAD Utilities

Post by petevick » Thu Jul 14, 2022 8:26 am

MikeJ wrote:
Thu Jul 14, 2022 12:46 am
Ok, if you could install it again then run QCAD in debug mode and let me know what errors show up would be awesome :)
Thanks!
In debug mode I get....

Uncaught exception at :/scripts/Utility/TabletGrid\TabletGridInit.js:116: TypeError: Result of expression 'formWidget.findChild("TabletLabel").signalMouseMoveEvent' [undefined] is not an object.

....which is the same error that CVH reported.
Pete Vickerstaff
Linux Mint 21.2 Cinnamon, Qcad Pro 3.29.6

MikeJ
Junior Member
Posts: 16
Joined: Mon Feb 15, 2021 9:29 am

Re: QCAD Utilities

Post by MikeJ » Thu Jul 14, 2022 9:23 am

Husky wrote:
Thu Jul 14, 2022 2:46 am
MikeJ wrote:
Thu Jul 14, 2022 12:56 am
Where is the Isometric Circle in QCAD currently? And what steps do you do to draw one?
Menu / Modify / Projection
Didn't know that was in there.. have a lot to learn :)

The only difference then is mine you don't need to create a circle to modify (saves a step), it changes the isometric projection, changes the reference point on the fly, and changes the isometric circle measurement to either radius or diameter.

So, just a different way of doing it.

MikeJ
Junior Member
Posts: 16
Joined: Mon Feb 15, 2021 9:29 am

Re: QCAD Utilities

Post by MikeJ » Thu Jul 14, 2022 9:30 am

Husky wrote:
Thu Jul 14, 2022 3:13 am
Another question ... e_surprised
What is the advantage of using the "Table Grid" widgets instead of using the "Library Browser" ...

... and how works the "Layer Manager"?
The Tablet Grid doesn't do just dxf, but scripts, other tablets, commands, and extended scripts (like the pipe fittings). You can also organize them in the tablet instead of just alphabetical and give descriptive names.

Is the Layer Manager working ok?

MikeJ
Junior Member
Posts: 16
Joined: Mon Feb 15, 2021 9:29 am

Re: QCAD Utilities

Post by MikeJ » Thu Jul 14, 2022 9:42 am

petevick wrote:
Thu Jul 14, 2022 8:26 am
MikeJ wrote:
Thu Jul 14, 2022 12:46 am
Ok, if you could install it again then run QCAD in debug mode and let me know what errors show up would be awesome :)
Thanks!
In debug mode I get....

Uncaught exception at :/scripts/Utility/TabletGrid\TabletGridInit.js:116: TypeError: Result of expression 'formWidget.findChild("TabletLabel").signalMouseMoveEvent' [undefined] is not an object.

....which is the same error that CVH reported.
So you are running the 32 bit is that right? The problem is with the RLabelPlugin.dll that is required to extend the QLabel control to allow for mouse movement and double-clicking. I'll have to install the 32 bit version and test out the dll.

User avatar
petevick
Premier Member
Posts: 392
Joined: Tue May 19, 2020 9:34 am
Location: North Norfolk coast UK

Re: QCAD Utilities

Post by petevick » Thu Jul 14, 2022 9:45 am

MikeJ wrote:
Thu Jul 14, 2022 9:42 am
So you are running the 32 bit is that right? The problem is with the RLabelPlugin.dll that is required to extend the QLabel control to allow for mouse movement and double-clicking. I'll have to install the 32 bit version and test out the dll.
No, I'm running the 64 bit version 3.27.6
Pete Vickerstaff
Linux Mint 21.2 Cinnamon, Qcad Pro 3.29.6

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

Re: QCAD Utilities

Post by CVH » Thu Jul 14, 2022 5:44 pm

I do run the 32bit version ... It was in the reply.
CVH wrote:
Thu Jul 14, 2022 3:22 am
Installed the second issue of QCADUtilities-3.1.8-win32.zip.
MikeJ wrote:
Thu Jul 14, 2022 9:30 am
The Tablet Grid doesn't do just dxf, but scripts, other tablets, commands, and extended scripts (like the pipe fittings).
Library items can be scripts too. :wink:

Regards,
CVH
Last edited by CVH on Sun Oct 30, 2022 10:54 am, edited 1 time in total.

User avatar
Husky
Moderator/Drawing Help/Testing
Posts: 4935
Joined: Wed May 11, 2011 9:25 am
Location: USA

Re: QCAD Utilities

Post by Husky » Thu Jul 14, 2022 9:41 pm

Hallo MikeJ,

after testing your scripts here my personal assessment.

Looks to me you know what you are doing! However - you tackled areas which are already covered by the QCAD' developer team. Fortunately for us they know why and how things are done in certain ways or with other words - no need to reinvent the wheel again.

I would suggest that you get more familiar with QCAD, pick then one topic which isn't covered by QCAD like a "Wall tool" and concentrate on one tool at the time to make it a perfect add-on. Just between us - it will never be perfect. However - I'm sure many Architects are waiting for such a tool and if you like to share your scripts on this forum I'm certain other user are happy to help you with any ideas on the development.

This said - I'm going to de-install your Utility add-on for now and wait and see what happens next. Thank you for investing your time and experience in a software development to make a already good CAD application even better.
Work smart, not hard: QCad Pro
Win10/64, QcadPro, QcadCam version: Current.
If a thread is considered as "solved" please change the title of the first post to "[solved] Title..."

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

Re: QCAD Utilities

Post by CVH » Mon Jul 25, 2022 7:54 am

MikeJ,
MikeJ wrote:
Thu Jul 14, 2022 9:42 am
The problem is with the RLabelPlugin.dll that is required to extend the QLabel control to allow for mouse movement and double-clicking. I'll have to install the 32 bit version and test out the dll.
Any progress with this issue?

What eludes me is that me (3.27.0 32bit) and Pete (3.27.6 64bit) have both reported the same error while Husky can run it.

Regards,
CVH

MikeJ
Junior Member
Posts: 16
Joined: Mon Feb 15, 2021 9:29 am

Re: QCAD Utilities

Post by MikeJ » Tue Jul 26, 2022 11:02 am

CVH wrote:
Mon Jul 25, 2022 7:54 am
MikeJ,
MikeJ wrote:
Thu Jul 14, 2022 9:42 am
The problem is with the RLabelPlugin.dll that is required to extend the QLabel control to allow for mouse movement and double-clicking. I'll have to install the 32 bit version and test out the dll.
Any progress with this issue?

What eludes me is that me (3.27.0 32bit) and Pete (3.27.6 64bit) have both reported the same error while Husky can run it.

Regards,
CVH
I found that when I rebuilt the 64bit on my machine it stopped working as well. I've since got it working and am doing testing as well as some upgrades atm. thanks :)

MikeJ
Junior Member
Posts: 16
Joined: Mon Feb 15, 2021 9:29 am

Re: QCAD Utilities

Post by MikeJ » Fri Jul 29, 2022 9:57 am

Ok, I've updated the installs so they should work now and copied them to the original post.

I've removed the menu's so now everything is through the Tablet Grid only. I had added the menu's just before I posted them and shouldn't of. Because some of the utilities can only be used within Tablet Grid that left items missing from the menu's so was confusing to users.

If anyone wants to use these then please do and hope you find value in it.

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

Re: QCAD Utilities

Post by CVH » Sat Jul 30, 2022 7:03 am

MikeJ wrote:
Fri Jul 29, 2022 9:57 am
Ok, I've updated the installs so they should work now and copied them to the original post.
Ran QCADUtilities-3.1.9-win32.msi
Windows returned:
This installation package is not supported by this processor type.

Running Win 7 pro 32 bit on a Intel(R) Core(TM) i7-2600K CPU @ 3.40Ghz.

Regards,
CVH

User avatar
Husky
Moderator/Drawing Help/Testing
Posts: 4935
Joined: Wed May 11, 2011 9:25 am
Location: USA

Re: QCAD Utilities

Post by Husky » Sat Jul 30, 2022 10:56 am

@ MikeJ,

I tested in a mm unit drawing the Architecture / Window feature. With a scale of 1, a 24 by 8 window turns out to be 609.6 by 203.2 in size. That is 25.4 times larger than it should be. Why is it scaled with an inch factor?
Work smart, not hard: QCad Pro
Win10/64, QcadPro, QcadCam version: Current.
If a thread is considered as "solved" please change the title of the first post to "[solved] Title..."

Post Reply

Return to “QCAD Programming, Script Programming and Contributing”