Assembly 3 - no solver backend... (solved)

Discussion about the development of the Assembly workbench.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
User avatar
bambuko
Veteran
Posts: 2185
Joined: Thu Oct 24, 2019 12:53 pm
Location: UK, England, North Devon

Re: Assembly 3 - no solver backend...

Post by bambuko »

adrianinsaval wrote: Wed Apr 07, 2021 3:08 am I got it working on 0.19 by copying the workbench from linkstage3 package...
Just a quick follow up and thank you!
In the end I did exactly as you suggested and copied asm3 folder from Link Branch version and it all works fine now.
I have Assembly 3 workbench in all three versions of FreeCAD (0.19 and 0.20 and LinkBranch).

I like assembly 3 ;)
I am using Link branch and Assembly3
you can also download ... and try it here
excellent Assembly3 tutorials here
pk_rulz
Posts: 4
Joined: Sat Apr 02, 2016 12:34 pm

Re: Assembly 3 - no solver backend... (solved)

Post by pk_rulz »

Can you please specify what exactly do you do.
Copying asm3 folder from unzipped Linkstage 3 ie after unzipping file FreeCAD-asm3-Stable-Win64-Py3-Qt5-20210519.7z
available at https://github.com/realthunder/FreeCAD_ ... 3/releases to
C:\Users\<NAME>\AppData\Roaming\FreeCAD\Mod
in FreeCAD official version 0.19.2 did not solve the problem from me and I still continue to get no solver backend warning

Also FreeCAD-asm3-Stable-Win64-Py3-Qt5-20210519.7z when unzipped contained this
Asm3Struct.png
Asm3Struct.png (27.7 KiB) Viewed 3060 times
C_h_o_p_i_n
Posts: 225
Joined: Fri Apr 26, 2019 3:14 pm

Re: Assembly 3 - no solver backend... (solved)

Post by C_h_o_p_i_n »

Hi,

I might be wrong ...

.. this might be caused due to @realthunder uses a kind of external solver in his linkstage3 branch which is not part of the "default" freecad master branch distribution ?!

regards,
Stefan
pk_rulz
Posts: 4
Joined: Sat Apr 02, 2016 12:34 pm

Re: Assembly 3 - no solver backend... (solved)

Post by pk_rulz »

Yes but @bambuko specifically mentioned that he got it working with 0.19 ... I assume 0.19.1 since 0.19.2 was not released till them.
User avatar
sgrogan
Veteran
Posts: 6499
Joined: Wed Oct 22, 2014 5:02 pm

Re: Assembly 3 - no solver backend... (solved)

Post by sgrogan »

pk_rulz wrote: Thu May 27, 2021 9:24 am Yes but @bambuko specifically mentioned that he got it working with 0.19 ... I assume 0.19.1 since 0.19.2 was not released till them.
0.19.1 or 0.19.2 shouldn't make a difference (or any 0.20 dev version)
You need to install py_slvs python package so FreeCAD can find it.
See the installation instructions here: https://github.com/realthunder/FreeCAD_assembly3
specifically
For Windows, open a command prompt window, change directory to your FreeCAD installation directory, e.g. cd c:\Program Files\FreeCAD\bin. And install the solver by running command python.exe -m pip install py_slvs
If you still have problems, please specify the path to your FreeCAD installation. i.e. did you install for all users, single user, or portable version.
"fight the good fight"
User avatar
bambuko
Veteran
Posts: 2185
Joined: Thu Oct 24, 2019 12:53 pm
Location: UK, England, North Devon

Re: Assembly 3 - no solver backend... (solved)

Post by bambuko »

Yes, it was 19.1 that I used.
It shouldn't make difference, but there was someone else reporting that what I did, didn't work for 19.2
I didn't need to install py_solvs python package to make it work, although there are confusing instructions about it and I tried it as well.

I have moved on since, and use either 20.0 version or Link branch - both work fine without any faffing around...
I am using Link branch and Assembly3
you can also download ... and try it here
excellent Assembly3 tutorials here
pk_rulz
Posts: 4
Joined: Sat Apr 02, 2016 12:34 pm

Re: Assembly 3 - no solver backend... (solved)

Post by pk_rulz »

Thank you for your reply bambuko.

However sgrogan's reply did it. Thank you sgrogan.
I somehow missed that it needed install of pyslvs separately in FreeCAD bin. Now works like a charm

Assembly 3 is really great to work with. Kudos to realthunder. Freecad has come closer to commercial variants with it and soon will be a formidable competitor.
canarygsr
Posts: 1
Joined: Tue Mar 14, 2023 10:16 am

Re: Assembly 3 - no solver backend... (solved)

Post by canarygsr »

I was having a similar issue with debian
If I tried to install python3 -m pip install py_slvs
I would get
Requirement already satisfied: py_slvs in ~/.local/lib/python3.9/site-packages (1.0.5)

I then noticed that the readme had the file should be in
`/home/<your_user_name>/.FreeCAD/Mod`

turns out it was installing py_slvs to ~/home/.local so I just copied it to .FreeCad/Mod
Post Reply