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

cadquery and cadquery-ocp Dependencies Will Not Install Through Addon Manager #165

Open
jmwright opened this issue Jan 5, 2025 · 3 comments
Assignees

Comments

@jmwright
Copy link
Member

jmwright commented Jan 5, 2025

I keep getting an error when trying to install this workbench through the addon manager, although the workbench will still install. I have tried several things without success. I have posted a question about it on the FreeCAD forum here. Hopefully I will get an answer.

In the meantime, I have added manual installation options in the CadQuery menu, documented here.

@jmwright jmwright self-assigned this Jan 5, 2025
@ab12gu
Copy link

ab12gu commented Jan 6, 2025

Hey @jmwright i got the same error as u posted in the forum. But also couldn't get the manual installation to work? Like i move it to mod folder but in freecad I don't know how to make and run a script?? were you able to make scripts?

will try 1.0 shortly through manual install

Edit: Oh yeah, im on MacOS arm64, Sonoma 14.6.1

Edit: it worked on the usage side... didn't realize i had to run macro which makes sense, was thinking an editor like v1.0 that you posted on youtube would appear once installed. Sorry :). thanks for all the work you've put in :)!

@jmwright
Copy link
Member Author

jmwright commented Jan 7, 2025

@ab12gu I'm glad you got it working. As you discovered, that video is very out-of-date.

You can still name the script with a .py extension even though it is in the macro editor, and you can also start FreeCAD in the terminal and pass it the path to a CadQuery script and it should render the CadQuery model.

The goal with this reboot of the workbench is to fit as much into the standard FreeCAD workflow as possible. That meant using the built-in macro editor, but I also hope to add a file watcher that allows people to use an external editor too (i.e. VSCode).

@jmwright
Copy link
Member Author

According to a response from ickby on the forum, Python packages have to be added to a whitelist in FreeCAD's repository. So it's certainly not a quick fix. I will plan to make the installation options from the menu more prevalent in the readme.

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

No branches or pull requests

2 participants