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

windows CQ-editor release does not support assembly.solve() #415

Open
ShadowGuan opened this issue Nov 27, 2023 · 3 comments
Open

windows CQ-editor release does not support assembly.solve() #415

ShadowGuan opened this issue Nov 27, 2023 · 3 comments

Comments

@ShadowGuan
Copy link

ShadowGuan commented Nov 27, 2023

please refer to the red error: plugin ipopt is not found.

image
image
image

The build was downloaded from the github CQ-editor latest build.
https://github.com/CadQuery/CQ-editor/releases/tag/nightly

I am running the sample assembly code in cadquery official webpage.
https://cadquery.readthedocs.io/en/latest/assy.html

And, for any type of assembly, the calling on solve() will lead to the same issue.

@ShadowGuan
Copy link
Author

it looks like some python modules are missing.
But have you guys ever tested the window exe?

I tried it on my two different PCs and both got the same issue.

@lorenzncode
Copy link
Member

I can reproduce the issue.

To workaround the problem, edit the run.bat. Add the second line to append to PATH:

@echo off
set PATH=%~dp0\Library\bin;%PATH%
start /B Scripts/CQ-editor.exe

@ShadowGuan
Copy link
Author

I can reproduce the issue.

To workaround the problem, edit the run.bat. Add the second line to append to PATH:

@echo off
set PATH=%~dp0\Library\bin;%PATH%
start /B Scripts/CQ-editor.exe

so great! The workaround works.

Thank you, @lorenzncode

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