Vendor Parts Workbench
Forum rules
Be nice to others! Read the FreeCAD code of conduct!
Be nice to others! Read the FreeCAD code of conduct!
Re: McMaster-Carr Workbench
As it is no longer bound to this company, Step Fetcher sounds good. Perhaps even more descriptive "Third Party Step Fetcher" or "Step Catalog".
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
Re: McMaster-Carr Workbench
How about Step-Download ?
Re: McMaster-Carr Workbench
Fetch-it.
Re: McMaster-Carr Workbench
I just tried again today with 0.20 and got the following:
For the record, the following does work when added to the Configure dialogue in Addon manager:
But, when attempting to select the workbench after restart:
Code: Select all
12:32:28 Debug: README not found at https://github.com/alexneufeld/FreeCAD_mcm_addon/tree/multivendor/blob/master/README.md
12:32:28 Debug: README not found at https://github.com/alexneufeld/FreeCAD_mcm_addon/tree/multivendor/blob/master/README.md
12:32:39 Traceback (most recent call last):
12:32:39 File "/home/mac/freecad-build/Mod/AddonManager/addonmanager_workers.py", line 770, in run
12:32:39 repo = git.Repo.clone_from(self.repos[idx][1], clonedir)
12:32:39 File "/home/mac/.local/lib/python3.7/site-packages/git/repo/base.py", line 1121, in clone_from
12:32:39 return cls._clone(git, url, to_path, GitCmdObjectDB, progress, multi_options, **kwargs)
12:32:39 File "/home/mac/.local/lib/python3.7/site-packages/git/repo/base.py", line 1059, in _clone
12:32:39 finalize_process(proc, stderr=stderr)
12:32:39 File "/home/mac/.local/lib/python3.7/site-packages/git/util.py", line 385, in finalize_process
12:32:39 proc.wait(**kwargs)
12:32:39 File "/home/mac/.local/lib/python3.7/site-packages/git/cmd.py", line 446, in wait
12:32:39 raise GitCommandError(remove_password_if_present(self.args), status, errstr)
12:32:39 git.exc.GitCommandError: Cmd('git') failed due to: exit code(128)
cmdline: git clone -v https://github.com/alexneufeld/FreeCAD_mcm_addon/tree/multivendor /home/mac/.FreeCAD//Mod/multivendor
stderr: 'Cloning into '/home/mac/.FreeCAD//Mod/multivendor'...
fatal: repository 'https://github.com/alexneufeld/FreeCAD_mcm_addon/tree/multivendor/' not found
Code: Select all
https://github.com/alexneufeld/FreeCAD_mcm_addon.git
Code: Select all
12:44:28 No module named 'PySide2.QtUiTools'
12:44:28 Traceback (most recent call last):
File "/home/mac/.FreeCAD/Mod/FreeCAD_mcm_addon/freecad/mcm_addon/init_gui.py", line 17, in Initialize
from freecad.mcm_addon import mcmtools
File "/home/mac/.FreeCAD/Mod/FreeCAD_mcm_addon/freecad/mcm_addon/mcmtools.py", line 1, in <module>
from PySide import QtGui, QtUiTools, QtCore
File "/home/mac/freecad-build/Ext/PySide/QtUiTools.py", line 1, in <module>
from PySide2.QtUiTools import *
Star Trek II: The Wrath of Khan: Spock: "...His pattern indicates two-dimensional thinking."
Re: McMaster-Carr Workbench
Thanks everyone for the rename suggestions. Will get the branches merged/tidied up this weekend maybe
----------------------------------------
E.G.:
----------------------------------------
I was kind of expecting that someone would have issues with pyside. Still trying to wrap my head around the different versions that are involved in this addon. Can you try to explicitly install pyside2 on your system?drmacro wrote: ↑Tue Sep 14, 2021 4:47 pm
But, when attempting to select the workbench after restart:Code: Select all
12:44:28 No module named 'PySide2.QtUiTools' 12:44:28 Traceback (most recent call last): File "/home/mac/.FreeCAD/Mod/FreeCAD_mcm_addon/freecad/mcm_addon/init_gui.py", line 17, in Initialize from freecad.mcm_addon import mcmtools File "/home/mac/.FreeCAD/Mod/FreeCAD_mcm_addon/freecad/mcm_addon/mcmtools.py", line 1, in <module> from PySide import QtGui, QtUiTools, QtCore File "/home/mac/freecad-build/Ext/PySide/QtUiTools.py", line 1, in <module> from PySide2.QtUiTools import *
E.G.:
Code: Select all
pip install PySide2
Re: McMaster-Carr Workbench
Feature Request
If possible, please add these resources to the addon
https://www.traceparts.com/en
https://www.3dcontentcentral.com/
If possible, please add these resources to the addon
https://www.traceparts.com/en
https://www.3dcontentcentral.com/
Re: McMaster-Carr Workbench
Berger if tou can store diferents sites on a selection list
Re: McMaster-Carr Workbench
Umm...sorry, last time I did that it took me 3 days to get my install working, let alone compiling.
I only use pip as an absolute last resort.
Star Trek II: The Wrath of Khan: Spock: "...His pattern indicates two-dimensional thinking."
-
- Veteran
- Posts: 5513
- Joined: Thu Apr 05, 2018 1:53 am
Re: McMaster-Carr Workbench
Just refer to PySide and it automatically uses PySide2. At least that's how I think it works.
Re: McMaster-Carr Workbench
thus it would work for example with this too https://www.3dfindit.com/ They have an own AddOn for FreeCAD available in the AddOn manager. Eventually since it nearly does the same both AddOns should be similar. https://forum.freecadweb.org/viewtopic.php?f=9&t=52616alex_55 wrote: ↑Sun Sep 12, 2021 8:32 pm Adapting to other websites is very easy. The addon doesn't actually know anything about the site it's pointed at. It just opens whatever URL you give it.
QtWebTools is almost suspiciously good at getting this exact job done. It handles download requests and creates the files for us. We even get a nice Qt signal when a file finishes downloading. The addon connects that signal to a function that can import step files into FreeCAD
I threw together a new branch that can autogenerate Gui commands for a list of website URLs: https://github.com/alexneufeld/FreeCAD_ ... ultivendor