Another approach to assembly solver (A2plus)

Discussion about the development of the Assembly workbench.
User avatar
Kunda1
Posts: 8413
Joined: Thu Jan 05, 2017 9:03 pm

Re: Another approach to assembly solver (A2plus)

Postby Kunda1 » Thu Sep 06, 2018 1:37 pm

manuelkrause wrote:
Thu Sep 06, 2018 12:44 pm
7) BOM to spreadsheet
BOM (Bill Of Materials) function : https://forum.freecadweb.org/viewtopic.php?f=8&t=23592
Want to contribute back to FC? Checkout:
#lowhangingfruit | Use the Source, Luke. | How to Help FreeCAD | How to report FC bugs and features
User avatar
manuelkrause
Posts: 442
Joined: Thu Jul 05, 2018 7:16 pm

Re: Another approach to assembly solver (A2plus)

Postby manuelkrause » Thu Sep 06, 2018 1:49 pm

Koemi wrote:
Thu Sep 06, 2018 1:02 pm
...
@Koemi, and @Turro75,

I've added your first wishes, citing your forum texts, to the A2plus feature wishlist.
https://github.com/kbwbe/A2plus/issues/88

If you disagree with that, please let me know. It'll be removed immediately.
User avatar
wandererfan
Posts: 4078
Joined: Tue Nov 06, 2012 5:42 pm

Re: Another approach to assembly solver (A2plus)

Postby wandererfan » Thu Sep 06, 2018 1:55 pm

easyw-fc wrote:
Thu Sep 06, 2018 12:47 pm
this is working if I switch the WB to A2p before opening the FC file.
If I open it without having loaded A2p WB before, the icons are not displayed.
I get the same result:
iconTest.png
iconTest.png (186.88 KiB) Viewed 536 times
Our resources are loaded in InitGui.py so they are not available until A2p is initialized. Maybe there is a better place to put the Resources?
User avatar
wandererfan
Posts: 4078
Joined: Tue Nov 06, 2012 5:42 pm

Re: Another approach to assembly solver (A2plus)

Postby wandererfan » Thu Sep 06, 2018 2:02 pm

manuelkrause wrote:
Thu Sep 06, 2018 12:44 pm
Some things depend on the existence of topological naming, so that parts' sub-objects are identified reliably across (sub-)assemblies.
@kbwbe: You did successful work on this earlier, is it allowed to read the code? And @wandererfan: You recently also added code related to it. Do you make progress?
Some progress, but very slow still. I've learned how to create a "family tree" for parts and built a structure for "fingerprinting", but I can't do anything with the results yet.
User avatar
manuelkrause
Posts: 442
Joined: Thu Jul 05, 2018 7:16 pm

Re: Another approach to assembly solver (A2plus)

Postby manuelkrause » Thu Sep 06, 2018 2:22 pm

wandererfan wrote:
Thu Sep 06, 2018 2:02 pm
manuelkrause wrote:
Thu Sep 06, 2018 12:44 pm
Some things depend on the existence of topological naming, so that parts' sub-objects are identified reliably across (sub-)assemblies.
@kbwbe: You did successful work on this earlier, is it allowed to read the code? And @wandererfan: You recently also added code related to it. Do you make progress?
Some progress, but very slow still. I've learned how to create a "family tree" for parts and built a structure for "fingerprinting", but I can't do anything with the results yet.
That essentially means: Progress! Keep up your work!
I'm still a python newbie.
With "fingerprinting", do you mean a method to clearly identify and re-identify parts? With what item do you begin to make it clearly named for 3D? Point0, axes, nearest faces, or such? For me it remains really interesting, as and although I don't understand all underlying math.
kbwbe
Posts: 957
Joined: Tue Apr 10, 2018 3:12 pm
Location: Germany, near Köln (Cologne)

Re: Another approach to assembly solver (A2plus)

Postby kbwbe » Thu Sep 06, 2018 3:59 pm

Turro75 wrote: ping
wandererfan wrote: ping
manuelkrause wrote: ping
project4 wrote: ping
Hi Guy's !
Master-branch has been merged with devel.
The only thing missing is the release tag V0.1 :mrgreen:
Please test finally.

If the only issue is "alien green standard icons" in some cases, this will be stuff for the next bugfix version.

Please vote for:
- Go to first "official" release !
- Please wait !
KBWBE

https://github.com/kbwbe/A2plus
latest release: v0.4.47e, 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
manuelkrause
Posts: 442
Joined: Thu Jul 05, 2018 7:16 pm

Re: Another approach to assembly solver (A2plus)

Postby manuelkrause » Thu Sep 06, 2018 4:20 pm

manuelkrause wrote:
Thu Sep 06, 2018 12:22 pm
kbwbe wrote:
Thu Sep 06, 2018 10:25 am
easyw-fc wrote:
Wed Sep 05, 2018 8:23 pm
Hi to all devs! Very nice team work! :D
BTW I cannot display the icons of the constraints...
what I get is similar to the @Turro75 image I'm attaching
Thanks in advance
Hi Maurice,
i changed the iconpath for the viewproviders (devel branch). With doing fresh assemblies, the problem should be gone.
Please find attached a sample file. It should open on your machine with correct icons.
Hi Klaus,

this works well for me on my linux system.

BTW, can we have the recently changed "print detailed DOF informations to console" as either a WB icon click-able function or an on/off option in-there? IMO, hiding it in the menu is not really useful for me.

Regards,
Manuel
Hi Klaus,

regarding the above: My Second Point: Can you please reinstate something usable?

Many Thanks!
User avatar
manuelkrause
Posts: 442
Joined: Thu Jul 05, 2018 7:16 pm

Re: Another approach to assembly solver (A2plus)

Postby manuelkrause » Thu Sep 06, 2018 4:37 pm

I notice a need of FC to recompute after one or two A2plus operations. (Top icon shows it and tree view icons with check markers.)
Can't identify clearly, so far.
Maybe only a one-liner needed (e.g. to recompute each time upon part addition).
Attachments
Screenshot_20180906_183819.png
Screenshot_20180906_183819.png (78.29 KiB) Viewed 490 times
kbwbe
Posts: 957
Joined: Tue Apr 10, 2018 3:12 pm
Location: Germany, near Köln (Cologne)

Re: Another approach to assembly solver (A2plus)

Postby kbwbe » Thu Sep 06, 2018 4:56 pm

manuelkrause wrote:
Thu Sep 06, 2018 4:37 pm
I notice a need of FC to recompute after one or two A2plus operations. (Top icon shows it and tree view icons with check markers.)
Can't identify clearly, so far.
Maybe only a one-liner needed (e.g. to recompute each time upon part addition).
Hi Manuel, i will have look for...
KBWBE

https://github.com/kbwbe/A2plus
latest release: v0.4.47e, 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
manuelkrause
Posts: 442
Joined: Thu Jul 05, 2018 7:16 pm

Re: Another approach to assembly solver (A2plus)

Postby manuelkrause » Thu Sep 06, 2018 5:07 pm

kbwbe wrote:
Thu Sep 06, 2018 4:56 pm
manuelkrause wrote:
Thu Sep 06, 2018 4:37 pm
I notice a need of FC to recompute after one or two A2plus operations. (Top icon shows it and tree view icons with check markers.)
Can't identify clearly, so far.
Maybe only a one-liner needed (e.g. to recompute each time upon part addition).
Hi Manuel, i will have look for...
@kbwbe:
Hi Klaus,
please just don't feel any time pressure!
Like @Turro75 said yesterday or so,
"it's ready, when it's ready." Period.
I like him for this expression!