Is there an area in the FC data structure that A2p could write data into?
Another approach to assembly solver (A2plus)
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Be nice to others! Respect the FreeCAD code of conduct!
Re: Another approach to assembly solver (A2plus)
What data are you thinking about to write ?
All A2p objects are scripted objects based on "Part::featurepython" . So we have full access to their entries and even can add new ones, if they are considered to be useful.
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
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
- AIMEDSOLUTIONS
- Posts: 83
- Joined: Sun Sep 02, 2018 12:33 pm
- Location: Karachi Pakistan
- Contact:
Re: Another approach to assembly solver (A2plus)
HI Guys
Every time I am trying to involve myself in FC development, I got busy as hell. Now I am trying to work on some project and check the issues and solutions in FC.
I tried to read whole discussion but its too long and I lose my patience.
You people handling a hell lot of issues right now. IMO, very first problem is inconsistent constraints. If this will solve, we can design a lot of things in FC. But only because of this, I specially cant work as I have to deal with assemblies and need to refine the project until it get finalized. I want to design this fixture in FC only but I cant just because of assy constraints fails every time.
If we only get this issue solve we can work even with a lot of other issues but this is the foundation stone of an assy.
Every time I am trying to involve myself in FC development, I got busy as hell. Now I am trying to work on some project and check the issues and solutions in FC.
I tried to read whole discussion but its too long and I lose my patience.
You people handling a hell lot of issues right now. IMO, very first problem is inconsistent constraints. If this will solve, we can design a lot of things in FC. But only because of this, I specially cant work as I have to deal with assemblies and need to refine the project until it get finalized. I want to design this fixture in FC only but I cant just because of assy constraints fails every time.
If we only get this issue solve we can work even with a lot of other issues but this is the foundation stone of an assy.
- Attachments
-
- 1.PNG (116.64 KiB) Viewed 2281 times
Re: Another approach to assembly solver (A2plus)
Hi,
with this description of your problem it will be hard to help you.
Please give more information.
- your freecad version
- your A2plus version
- a description which constraint fails and when it does this
- a sample file for testing.
Usually most of the constraints work well. Failing of constraints can also be caused by a design, where some parts do not really fit together.
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
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
- AIMEDSOLUTIONS
- Posts: 83
- Joined: Sun Sep 02, 2018 12:33 pm
- Location: Karachi Pakistan
- Contact:
Re: Another approach to assembly solver (A2plus)
HI Kbwbe (i dont know your name or what I can call you)
I think I didnt clearly mentioned my problem. Constaint doesnt fail when I apply. its fails when we make a change in component.
I am using FC 0.18 and 0.19, A2P4.24
I think I didnt clearly mentioned my problem. Constaint doesnt fail when I apply. its fails when we make a change in component.
I am using FC 0.18 and 0.19, A2P4.24
- Attachments
-
- FREE.rar
- (106.28 KiB) Downloaded 63 times
Re: Another approach to assembly solver (A2plus)
probably the classical topological naming problem of FreeCAD : when creating any object, FreeCAD gives it a name, and when you assemble those objects the constraints apply to the name of the object, not the visual of the object. When you modify the object, FreeCAD may - or may not - attribute a new name to the object, but the constraint doesn't know this, and thus the constraint applies to inexistant - or wrong - objects.AIMEDSOLUTIONS wrote: ↑Fri Jul 12, 2019 7:08 am Constraint doesn't fail when I apply. It fails when we make a change in component.
This problem exists in all CAD systems, more or less severe, and in FreeCAD it's very severe.
As far as I understood, Asm2+ is very good for assembling finished (frozen) parts, but less well suited to assemble evolving parts (which are modified after having been assembled).
Assembly 4 doesn't have this issue because constraints apply to coordinate systems which are explicit objects, not implicit ones like an edge, thus you can give a name to the coordinate system and not let FreeCAD decide what name to attribute it. Also, if something does go wrong - because word censored happens - you can re-define the mapping/placement of the coordinate system and everything falls back into place. This exact issue was my motivation to develop the assembly without solver, which became Asm4. But you need realthunder's FreeCAD-asm3 branch for it (actually you only need the App::Link of FreeCAD-LinkStage3)
Re: Another approach to assembly solver (A2plus)
AIMEDSOLUTIONS wrote: ↑Fri Jul 12, 2019 7:08 am I think I didnt clearly mentioned my problem. Constaint doesnt fail when I apply. its fails when we make a change in component.
Hi @Klaus,
any news on Datum Plane in A2+?
Re: Another approach to assembly solver (A2plus)
I think the main reason that FreeCAD's seems so severe is that the error message just says to delete the last mate. In many cases the last mate may have caused the error but it may not be the mate that you want to delete. In this case it would be nice to know which mates are failing.
Hi Kbwbe. 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?
Thanks.
Dan
Re: Another approach to assembly solver (A2plus)
Hi @AIMEDSOLUTIONS,AIMEDSOLUTIONS wrote: ↑Fri Jul 12, 2019 7:08 am HI Kbwbe (i dont know your name or what I can call you)
I think I didnt clearly mentioned my problem. Constaint doesnt fail when I apply. its fails when we make a change in component.
thank you for the additional information. As @Zolko wrote correctly, you have been running into the infamous topological naming issue of FC. During modifications of parts FC very often renumbers the vertexes, edges and faces. But the constraints refer to the original numbering before the modifications.
To improve this situation, A2plus offers an option within preferences: "use experimental topological naming". If activating this (before placing the very first part into an assembly), the constraints will break much less. But it helps not always. Best way then is to delete all constraints of the modified part and define them again. (Sorry for no better way at moment).
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
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
Re: Another approach to assembly solver (A2plus)
Hi Maurice,
nothing new at moment. I am bound to some big projects at job and there will be not any time at all within next 2-3 month. I hope the situation will improve after that.
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
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