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!
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 »

dan-miel wrote: Fri Jul 12, 2019 1:47 pm Can the mates that fail be highlighted in the tree or perhaps a list of the mates be made so that we can easily see which mates we need to fix?
Hi Dan,
IMHO this is not possible. A2plus only detects numerical value divergation summed up over all constraints. So it is extremly difficult to say which constraint is failing.

Greetings, 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
dan-miel
Posts: 391
Joined: Thu Sep 13, 2018 12:29 am
Location: Spokane WA. USA

Re: Another approach to assembly solver (A2plus)

Post by dan-miel »

kbwbe wrote: Fri Jul 12, 2019 4:48 pm IMHO this is not possible. A2plus only detects numerical value divergation summed up over all constraints. So it is extremly difficult to say which constraint is failing.
Thanks for the response Kbwbe.
Dan.
User avatar
AIMEDSOLUTIONS
Posts: 83
Joined: Sun Sep 02, 2018 12:33 pm
Location: Karachi Pakistan
Contact:

Re: Another approach to assembly solver (A2plus)

Post by AIMEDSOLUTIONS »

Bundle of thanks for all.
I am working on several CADs from last 19 years. In some CADs its never happened and in some others we need to redefine constraint and/or just re select the geometry associated with constraint.
I know you all working so hard to make FC workable and I appreciate your efforts. I am trying but I have to learn C++ and Python fist that I am failing to manage right now.
Let see what happened next.
User avatar
AIMEDSOLUTIONS
Posts: 83
Joined: Sun Sep 02, 2018 12:33 pm
Location: Karachi Pakistan
Contact:

Re: Another approach to assembly solver (A2plus)

Post by AIMEDSOLUTIONS »

I try to make datum points to use for constraints but those are not visible in a2plus. Even LCS are not visible. Any approach to create constraints that I can make features after that? I am starting a new project and want to use FC but Its required huge assembly. Any solution???
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 »

AIMEDSOLUTIONS wrote: Thu Jul 18, 2019 5:23 am I try to make datum points to use for constraints but those are not visible in a2plus. Even LCS are not visible.
This is not possible yet and it requires a heavy rebuild of A2plus. So this will not come soon.

AIMEDSOLUTIONS wrote: Thu Jul 18, 2019 5:23 am Any approach to create constraints that I can make features after that?
As told some post before: Activate the option "use experimental topological naming" within the preferences page. This reduces the number of broken constraints after applying new features to parts.
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
Zolko
Veteran
Posts: 2213
Joined: Mon Dec 17, 2018 10:02 am

Re: Another approach to assembly solver (A2plus)

Post by Zolko »

AIMEDSOLUTIONS wrote: Thu Jul 18, 2019 5:23 am I am starting a new project and want to use FC but Its required huge assembly. Any solution???
How big is your assembly going to be ? In the assembly below there are ~300 parts, in sub-assemblies and sub-sub-assembies, all positioned according to LCS:

Lego_House+Garden.png
Lego_House+Garden.png (482.01 KiB) Viewed 2138 times
try the Assembly4 workbench for FreCAD — tutorials here and here
User avatar
AIMEDSOLUTIONS
Posts: 83
Joined: Sun Sep 02, 2018 12:33 pm
Location: Karachi Pakistan
Contact:

Re: Another approach to assembly solver (A2plus)

Post by AIMEDSOLUTIONS »

Bundle of thanks Zolko
My assembly will remains to 100 or 120 parts so far. I will try what you told me. What assembly WB you are using???
User avatar
AIMEDSOLUTIONS
Posts: 83
Joined: Sun Sep 02, 2018 12:33 pm
Location: Karachi Pakistan
Contact:

Re: Another approach to assembly solver (A2plus)

Post by AIMEDSOLUTIONS »



As told some post before: Activate the option "use experimental topological naming" within the preferences page. This reduces the number of broken constraints after applying new features to parts.
I am using it but no luck.
User avatar
Zolko
Veteran
Posts: 2213
Joined: Mon Dec 17, 2018 10:02 am

Re: Another approach to assembly solver (A2plus)

Post by Zolko »

AIMEDSOLUTIONS wrote: Thu Jul 18, 2019 10:03 am What assembly WB you are using???
Assembly 4
try the Assembly4 workbench for FreCAD — tutorials here and here
Gibbl
Posts: 3
Joined: Sun Apr 14, 2019 8:34 am

Re: Another approach to assembly solver (A2plus)

Post by Gibbl »

Hello,

So I'm using FreeCAD recently and got myself on the Asm2plus WB because I want to start with assemblies in FreeCAD.

As far as I understand in Asm2plus you have to convert parts to Asm2plus objetcs but those are static and can't updated via the Update parts function. But Asm2plus objects are needed to work with more complex constraints. Actually I run very early in unconstrained error messages unless I changed the parts into Asm2plus objects. But how are those Asm2plus parts updated? Do I have to re-import them all the time after I did a small change to them? I think I'm missing something here.
Post Reply