Another approach to assembly solver (A2plus)

Discussion about the development of the Assembly workbench.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
User avatar
roerich_64
Veteran
Posts: 1465
Joined: Thu May 21, 2015 7:00 pm
Location: Ostfriesland

Re: Another approach to assembly solver (A2plus)

Post by roerich_64 »

Hi Klaus,

thanks for the fast update :)

After i have delete the complete A2Plus folders and i maked a new installation with the addonmanager, it works.
Tested with:

Code: Select all

OS: Windows 7
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.16065 (Git)
Build type: Release
Branch: master
Hash: 8f58abfd4961c645b3b4d7ffeea65fd551b7159b
Python version: 2.7.14
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.2.0
Locale: German/Germany (de_DE)

Code: Select all

OS: Windows 7
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.16093 (Git)
Build type: Release
Branch: releases/FreeCAD-0-18
Hash: 690774c0effe4fd7b8d2b5e2fb2b8c8d145e21ce
Python version: 3.6.6
Qt version: 5.6.2
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: German/Germany (de_DE)

BR
Walter
Die Liebe wird siegen, denn sie ist unzerstörbar :) ;)
User avatar
manuelkrause
Posts: 442
Joined: Thu Jul 05, 2018 7:16 pm

Re: Another approach to assembly solver (A2plus)

Post by manuelkrause »

kbwbe wrote: Mon Apr 01, 2019 9:43 am ...The newly released FC0.18 stable does not provide a build number and breaks the FC version check of A2plus. Starting A2plus, an error "list index out of range" is thrown.

This is fixed with version V0.4.12. Please update your A2plus WB.
Hi Klaus,
many thanks for your continued valuable work on A2plus!
I hope that the version check doesn't inhibit the work of A2plus: Reason to write this, is that openSUSE Tumbleweed (unstable science repo) never shipped with either a subversion nor a commit number (third value == UNKNOWN).
Now they're going with FC's development progress with 0.19-pre, what I haven't tested so far.

Best regards
User avatar
roerich_64
Veteran
Posts: 1465
Joined: Thu May 21, 2015 7:00 pm
Location: Ostfriesland

Re: Another approach to assembly solver (A2plus)

Post by roerich_64 »

Hi,

to open an assembly it needs a huge time now (~2min) after the update.

Will open an assembly file with 3 parts.
One of them an alu profile, two of them a FreeCAD file with an included STL.

Have build a ZIP. Who should i send it?

BR
Walter
Die Liebe wird siegen, denn sie ist unzerstörbar :) ;)
kbwbe
Veteran
Posts: 1052
Joined: Tue Apr 10, 2018 3:12 pm
Location: Germany, near Köln (Cologne)

Re: Another approach to assembly solver (A2plus)

Post by kbwbe »

roerich_64 wrote: Mon Apr 01, 2019 7:27 pm
Hi Walter,
nothing related to performance of A2plus should have been changed during it's last updates. You can send your test assembly to me. I will check it with different FC versions.

BR, Klaus
KBWBE

https://github.com/kbwbe/A2plus
latest release: v0.4.56, installable via FreeCAD's addon manager
Tutorial: gripper assembly https://www.youtube.com/watch?v=QMxcQ5tssWk
Documentation: https://www.freecadweb.org/wiki/A2plus_Workbench
User avatar
roerich_64
Veteran
Posts: 1465
Joined: Thu May 21, 2015 7:00 pm
Location: Ostfriesland

Re: Another approach to assembly solver (A2plus)

Post by roerich_64 »

Hi Klaus,
thanks for the fast response.

Have done more testing.
i think files with STL's have the most problem to open. Here an example screenshot. I will open a file with a ballscrew and his two ball-bearing after 10min...:
Volle Rechenleistung von vier Kernen und große Nutzung des Arbeitsspeichers.jpg
Volle Rechenleistung von vier Kernen und große Nutzung des Arbeitsspeichers.jpg (754.61 KiB) Viewed 1411 times
BR
Walter
Die Liebe wird siegen, denn sie ist unzerstörbar :) ;)
kbwbe
Veteran
Posts: 1052
Joined: Tue Apr 10, 2018 3:12 pm
Location: Germany, near Köln (Cologne)

Re: Another approach to assembly solver (A2plus)

Post by kbwbe »

roerich_64 wrote: Mon Apr 01, 2019 9:33 pm i think files with STL's have the most problem to open.
Hi Walter,
this explains the performance problems. STL's create huge numbers of geometry elements, killing the performance completely. Much better is importing the parts from step files e.g.

BR, Klaus
KBWBE

https://github.com/kbwbe/A2plus
latest release: v0.4.56, installable via FreeCAD's addon manager
Tutorial: gripper assembly https://www.youtube.com/watch?v=QMxcQ5tssWk
Documentation: https://www.freecadweb.org/wiki/A2plus_Workbench
User avatar
roerich_64
Veteran
Posts: 1465
Joined: Thu May 21, 2015 7:00 pm
Location: Ostfriesland

Re: Another approach to assembly solver (A2plus)

Post by roerich_64 »

Another interesting effect:
The framerates of the lowest file (1) are very fast. In this is the STL of the DB_9 plug imported.
The framerates of (2) and (3) are very low.
STL-Files.jpg
STL-Files.jpg (443.64 KiB) Viewed 1401 times

Here we see the 'display mode' of all files in 'shaded' mode:
STL-Files_I.jpg
STL-Files_I.jpg (411.42 KiB) Viewed 1401 times
(1) is ok
(2) the db_9 plug are hidden
(3) the db_9 plug are in wireframe and colored green as it would be selected...
Die Liebe wird siegen, denn sie ist unzerstörbar :) ;)
User avatar
roerich_64
Veteran
Posts: 1465
Joined: Thu May 21, 2015 7:00 pm
Location: Ostfriesland

Re: Another approach to assembly solver (A2plus)

Post by roerich_64 »

kbwbe wrote: Mon Apr 01, 2019 9:59 pm
roerich_64 wrote: Mon Apr 01, 2019 9:33 pm i think files with STL's have the most problem to open.
Hi Walter,
this explains the performance problems. STL's create huge numbers of geometry elements, killing the performance completely. Much better is importing the parts from step files e.g.

BR, Klaus
Before the update there were no problems with the STL ;)
Die Liebe wird siegen, denn sie ist unzerstörbar :) ;)
kbwbe
Veteran
Posts: 1052
Joined: Tue Apr 10, 2018 3:12 pm
Location: Germany, near Köln (Cologne)

Re: Another approach to assembly solver (A2plus)

Post by kbwbe »

roerich_64 wrote: Mon Apr 01, 2019 10:14 pm Before the update there were no problems with the STL ;)
Both screenshots above, view (1):
View (1) has nothing to do with A2plus, but fps goes from 40,2 in first screenshot to 16,3 in second one. fps seems to depend heavily on view modes.

Both screenshots above, view (2):
Second screenshot should have a higher frame rate, as the connector is invisible. But it changes from 0,5 fps to 0,1 fps and is much slower. (but you also changed the view mode to shaded)

It seems to me that perhaps the newer FC causes some performance problems.

P.S.: I just tested some bigger assemblies on my side. I cannot see so low frame rates as shown in your screenshots. Strange. I tested with newest and fresh compiled FC0.19

P.S.-II: The frame rates are showing complete nonsense, as heavily depending on pauses between moves. The values are not constant.
Last edited by kbwbe on Mon Apr 01, 2019 11:17 pm, edited 2 times in total.
KBWBE

https://github.com/kbwbe/A2plus
latest release: v0.4.56, installable via FreeCAD's addon manager
Tutorial: gripper assembly https://www.youtube.com/watch?v=QMxcQ5tssWk
Documentation: https://www.freecadweb.org/wiki/A2plus_Workbench
User avatar
roerich_64
Veteran
Posts: 1465
Joined: Thu May 21, 2015 7:00 pm
Location: Ostfriesland

Re: Another approach to assembly solver (A2plus)

Post by roerich_64 »

I dont think that is an global FC issue.

https://www.youtube.com/watch?v=9Irh9UF ... e=youtu.be
Die Liebe wird siegen, denn sie ist unzerstörbar :) ;)
Post Reply