Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to install on FreeCad 0.18 #63

Open
jf1452 opened this issue Dec 16, 2020 · 8 comments · May be fixed by #85
Open

Unable to install on FreeCad 0.18 #63

jf1452 opened this issue Dec 16, 2020 · 8 comments · May be fixed by #85

Comments

@jf1452
Copy link

jf1452 commented Dec 16, 2020

I cannot find freecad.gears on Addon Manager, I tried using PIP to install which seemed to complete successfully, but after running FreeCad and going into Part Design; I am unable to find the newly installed Gear tool. Any advice please?

@iotricity
Copy link

Having the same problems after reinstalling Windows 10 Pro. Installed FreeCAD 0.18 rev. 4 (10/22/2019). The macro is not available in the list. Tried installing manually as described in the Wiki, restarted FreeCAD, checked if the workbench wasn't disabled. The workbench doesn't show up.

@stefan123t
Copy link

stefan123t commented Jan 2, 2021

I could install it using the recipe given in the following feedback thread for FCGears:
https://forum.freecadweb.org/viewtopic.php?f=8&t=27626&start=30#p332138

i.e. on my Linux box:

cd .Freecad/Mod/
wget https://github.com/looooo/FCGear/archive/master.zip
unzip master.zip
# wget will unpack into .Freecad/Mod/freecad.gears-master/ 
git clone https://github.com/looooo/freecad.gears.git
# while git clone resulted in .Freecad/Mod/FCGears/
# but both worked equally well

After (re)starting freecad 0.18.4-2019-11-10, I could use File > New, View > Workbench > Gear W, 6 to activate the FCGear Workbench and create Gears. Thanks for providing the precious parts.

@jf1452
Copy link
Author

jf1452 commented Jan 3, 2021

Thank you stefan123t; I used the same approach on Windows 10 and it now working; thank you.

@looooo
Copy link
Owner

looooo commented Jan 5, 2021

There will be a freecad 0.18.5 release which should target the addon manager issue. But not sure what the status of the 0.18.5 release is @sgrogan.

@stefan123t
Copy link

Dear Lorenz @looooo, thanks for the clarification. I have tried to apply the patch on the AddonManager.py as suggested in the forum thread with no success. But since then I also installed the AppImage for 18.5 which allows installing the FCGears workbench from the Addons Dialog as described.
Kind regards, Stefan

@GeoffGMartin
Copy link

Thanks for this! I had the same problem on a Mac (OS 11.1 Big Sur - which can't run FreeCad 0.19, unfortunately...)

Some minor variations were necessary to get it running on my machine (in case it helps).

  • downloaded the file at https://github.com/looooo/FCGear/archive/master.zip via a browser
  • expanded the .zip in my Documents directory
  • Go to the FreeCad.app in the Applications folder, right-click or Ctrl-click and select "Open Package Contents" This will open a directory called "Contents"
  • Move the directory called "freecad.gears-master" from Downloads to
    Contents/Resources/Mod
  • Close the window.
  • Boot FreeCad, create a new file, and go to View > Workbench > Gear W, 6, as described by stefan123t, above.

Thanks again!

@uDude
Copy link

uDude commented Oct 28, 2021

It has a version check in the code (features.py line 119). It checks for >= 19...

uDude pushed a commit to uDude/freecad.gears that referenced this issue Oct 28, 2021
Fix looooo#63 by change version check from 19 to 18 (required for Mac users according to issue).
@jbaehr
Copy link
Contributor

jbaehr commented Nov 2, 2021

It has a version check in the code (features.py line 119). It checks for >= 19...

Yes, because the API changed there (ref). This is unrelated to not being able to install. An error in this check would result in a runtime error when trying to create a gear object, like #84.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

7 participants