Library Browser

Use this forum for all posts and questions about the free QCAD Community Edition version 3

Moderator: andrew

Post Reply
Matfie
Active Member
Posts: 37
Joined: Tue Aug 30, 2016 8:46 am

Library Browser

Post by Matfie » Sat Apr 01, 2023 8:55 am

Hello
3.28.0 (2023/03/28)
  • Library Browser
    • Retired SQL DB based Library Browser
    QCAD Professional:
    • Add refactored and improved file system based Library Browser:
do I understand that the feature of library browser is now removed from the open source version?

is there a way to insert parts?

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

Re: Library Browser

Post by CVH » Sat Apr 01, 2023 10:17 am

Matfie wrote:
Sat Apr 01, 2023 8:55 am
do I understand that the feature of library browser is now removed from the open source version?
Yes I think so ...
Matfie wrote:
Sat Apr 01, 2023 8:55 am
is there a way to insert parts?
Yes, menu File .. Import or simply drag and drop from any OS file viewer list.

Regards,
CVH

Matfie
Active Member
Posts: 37
Joined: Tue Aug 30, 2016 8:46 am

Re: Library Browser

Post by Matfie » Wed Apr 05, 2023 9:02 pm

inserting a dxf seems to work, but the involute gear generator I wrote does disappointingly seem out of reach now

User avatar
andrew
Site Admin
Posts: 9036
Joined: Fri Mar 30, 2007 6:07 am

Re: Library Browser

Post by andrew » Wed Apr 05, 2023 9:10 pm

Matfie: Try dragging the JS file into the drawing area. That should work as the library browser does exactly the same.

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

Re: Library Browser

Post by Husky » Wed Apr 05, 2023 10:12 pm

@Matfie
andrew wrote:
Wed Apr 05, 2023 9:10 pm
Matfie: Try dragging the JS file into the drawing area. That should work as the library browser does exactly the same.
You could also consider to stick a while with QCAD CE 3.27.9 ...
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..."

Matfie
Active Member
Posts: 37
Joined: Tue Aug 30, 2016 8:46 am

Re: Library Browser

Post by Matfie » Thu Apr 06, 2023 9:24 am

andrew, thanks for the response but I think "dragging the file" is something that requires a desktop environment/file manager to provide some external functionality? I'm a bit old-school and only use a window manager. What does this action do, can I do this from the QCAD console or the ECMAScript Shell ?

User avatar
andrew
Site Admin
Posts: 9036
Joined: Fri Mar 30, 2007 6:07 am

Re: Library Browser

Post by andrew » Thu Apr 06, 2023 11:03 am

Matfie wrote:
Thu Apr 06, 2023 9:24 am
I'm a bit old-school and only use a window manager.
OK, that's not a scenario that is supported. You'd need a file manager with drag and drop support, such as "Nautilus" ("Files").

You can have a look at the action that inserts a script item at:
https://github.com/qcad/qcad/blob/maste ... iptItem.js

And how it is called at:
https://github.com/qcad/qcad/blob/maste ... tWidget.js
-> EventHandler.prototype.drop
Matfie wrote:
Thu Apr 06, 2023 9:24 am
What does this action do, can I do this from the QCAD console or the ECMAScript Shell ?
Yes, should be doable (see above).

Post Reply

Return to “QCAD Community Edition”