Vendor Parts Workbench

Have some feature requests, feedback, cool stuff to share, or want to know where FreeCAD is going? This is the place.
Forum rules
Be nice to others! Read the FreeCAD code of conduct!
User avatar
alex_55
Posts: 62
Joined: Mon May 11, 2020 1:50 am

Re: Vendor Parts Workbench

Post by alex_55 »

New version is available.
The addon is now vendor agnostic. Available catalogues in the toolbar are controlled by a user editable list (text file)

renamed github repository:
https://github.com/alexneufeld/FreeCAD_vendor_parts

Preferences page:
Image
Bance
Veteran
Posts: 4185
Joined: Wed Feb 11, 2015 3:00 pm
Location: London

Re: Vendor Parts Workbench

Post by Bance »

Thank you for your work. :D
drmacro
Veteran
Posts: 8862
Joined: Sun Mar 02, 2014 4:35 pm

Re: Vendor Parts Workbench

Post by drmacro »

I think this is a great addition...unfortunately I installed it from gihub and when I choose the workbench I get the Pyside2 load error...
:(
Star Trek II: The Wrath of Khan: Spock: "...His pattern indicates two-dimensional thinking."
User avatar
alex_55
Posts: 62
Joined: Mon May 11, 2020 1:50 am

Re: Vendor Parts Workbench

Post by alex_55 »

drmacro wrote: Sat Sep 25, 2021 7:48 pm I think this is a great addition...unfortunately I installed it from gihub and when I choose the workbench I get the Pyside2 load error...
:(
I rechecked my work and realized I don't actually need to import "QtUiTools". pushed a one liner fix. see if that gets you a different error msg
drmacro
Veteran
Posts: 8862
Joined: Sun Mar 02, 2014 4:35 pm

Re: Vendor Parts Workbench

Post by drmacro »

alex_55 wrote: Sat Sep 25, 2021 8:08 pm
drmacro wrote: Sat Sep 25, 2021 7:48 pm I think this is a great addition...unfortunately I installed it from gihub and when I choose the workbench I get the Pyside2 load error...
:(
I rechecked my work and realized I don't actually need to import "QtUiTools". pushed a one liner fix. see if that gets you a different error msg
Hmm...went to Mod directory, removed the directory FreeCAD_vendor_parts, then did a "git clone https://github.com/alexneufeld/FreeCAD_vendor_parts.git"

Then launched FC and selected the workbench:

Code: Select all

cannot import name 'QtWebEngineWidgets' from 'PySide2' (/usr/lib/python3/dist-packages/PySide2/__init__.py)
09:38:45  Traceback (most recent call last):
  File "/home/mac/.FreeCAD/Mod/FreeCAD_vendor_parts/freecad/vendor_parts/init_gui.py", line 28, in Initialize
    from freecad.vendor_parts import vendorpartstools
  File "/home/mac/.FreeCAD/Mod/FreeCAD_vendor_parts/freecad/vendor_parts/vendorpartstools.py", line 4, in <module>
    from PySide2 import QtWebEngineWidgets

OS: Debian GNU/Linux 10 (buster) (XFCE/lightdm-xsession)
Word size of FreeCAD: 64-bit
Version: 0.20.25844 (Git)
Build type: Release
Branch: master
Hash: 1b20118dfa3fb9f127f0e4fb122701f7fcdaa9fc
Python version: 3.7.3
Qt version: 5.11.3
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/UnitedStates (en_US)
Star Trek II: The Wrath of Khan: Spock: "...His pattern indicates two-dimensional thinking."
LHC
Posts: 321
Joined: Thu Sep 17, 2020 4:21 pm
Location: Canadian Coffee Shop

Re: Vendor Parts Workbench

Post by LHC »

This is a great addition to Freecad. Thanks very much for your efforts.
LHC
Posts: 321
Joined: Thu Sep 17, 2020 4:21 pm
Location: Canadian Coffee Shop

Re: Vendor Parts Workbench

Post by LHC »

I've just upgraded to the latest version and seem to be getting an error when I try to launch the workbench.
VPFailure.JPG
VPFailure.JPG (86.7 KiB) Viewed 2863 times



OS: Windows 10 (10.0)
Word size of FreeCAD: 64-bit
Version: 0.20.25844 (Git)
Build type: Release
Branch: master
Hash: 1b20118dfa3fb9f127f0e4fb122701f7fcdaa9fc
Python version: 3.8.12
Qt version: 5.12.9
Coin version: 4.0.0
OCC version: 7.5.2
Locale: English/United States (en_US)
TheMarkster
Veteran
Posts: 5505
Joined: Thu Apr 05, 2018 1:53 am

Re: Vendor Parts Workbench

Post by TheMarkster »

alex_55 wrote: Sat Sep 25, 2021 6:19 pm New version is available.
I have submitted a PR to fix the removeprefix() issue.
LHC
Posts: 321
Joined: Thu Sep 17, 2020 4:21 pm
Location: Canadian Coffee Shop

Re: Vendor Parts Workbench

Post by LHC »

TheMarkster wrote: Wed Sep 29, 2021 2:44 am
alex_55 wrote: Sat Sep 25, 2021 6:19 pm New version is available.
I have submitted a PR to fix the removeprefix() issue.
Thanks Mark !
drmacro
Veteran
Posts: 8862
Joined: Sun Mar 02, 2014 4:35 pm

Re: Vendor Parts Workbench

Post by drmacro »

LHC wrote: Wed Sep 29, 2021 1:36 pm
TheMarkster wrote: Wed Sep 29, 2021 2:44 am
alex_55 wrote: Sat Sep 25, 2021 6:19 pm New version is available.
I have submitted a PR to fix the removeprefix() issue.
Thanks Mark !
Is this merged?

I just did a completely fresh git pull... :(

Code: Select all

cannot import name 'QtWebEngineWidgets' from 'PySide2' (/usr/lib/python3/dist-packages/PySide2/__init__.py)
09:45:02  Traceback (most recent call last):
  File "/home/mac/.FreeCAD/Mod/FreeCAD_vendor_parts/freecad/vendor_parts/init_gui.py", line 28, in Initialize
    from freecad.vendor_parts import vendorpartstools
  File "/home/mac/.FreeCAD/Mod/FreeCAD_vendor_parts/freecad/vendor_parts/vendorpartstools.py", line 4, in <module>
    from PySide2 import QtWebEngineWidgets
OS: Debian GNU/Linux 10 (buster) (XFCE/lightdm-xsession)
Word size of FreeCAD: 64-bit
Version: 0.20.25910 (Git)
Build type: Release
Branch: master
Hash: d06bee745bf6619c5c6d2d4fdf8a3ff5be65b5a8
Python version: 3.7.3
Qt version: 5.11.3
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/UnitedStates (en_US)
Star Trek II: The Wrath of Khan: Spock: "...His pattern indicates two-dimensional thinking."
Post Reply