CQ-editor icon indicating copy to clipboard operation
CQ-editor copied to clipboard

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

Open ShadowGuan opened this issue 1 year ago • 3 comments

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 avatar Nov 27 '23 14:11 ShadowGuan

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.

ShadowGuan avatar Nov 27 '23 14:11 ShadowGuan

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

lorenzncode avatar Nov 28 '23 00:11 lorenzncode

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

ShadowGuan avatar Nov 28 '23 08:11 ShadowGuan