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!
herbk
Veteran
Posts: 2661
Joined: Mon Nov 03, 2014 3:45 pm
Location: Windsbach, Bavarya (Germany)

Re: Another approach to assembly solver (A2plus)

Post by herbk »

It's not a big prob, Fasteners WB creates a "BOF" (bill of fasteners) by it's own, but having only one "paper" for all would be nice to :D
BOM was designed to read out a information spreadsheet from a sourcefile of an imported part.
The button for that i moved to my personal toolbar of Part WB. ;)
On another thread, i saw, you are a teacher.
Not realy... Basicly i'm a machine builder, i give only a few hours per week with the goal to bring a little bit practice into school... :lol:
Gruß Herbert
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 »

herbk wrote: Thu Nov 08, 2018 10:16 pm It's not a big prob, Fasteners WB creates a "BOF" (bill of fasteners) by it's own, but having only one "paper" for all would be nice to :D
I should do a closer look at Fasteners WB next time ! 8-)
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
triplus
Veteran
Posts: 9471
Joined: Mon Dec 12, 2011 4:45 pm

Re: Another approach to assembly solver (A2plus)

Post by triplus »

kbwbe wrote: Thu Nov 08, 2018 10:46 pm I should do a closer look at Fasteners WB next time ! 8-)
You're really missing out!
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 »

.
Hi all,

a new release of A2plus is out: V0.1.6. What has been changed ?:
- old code has been messed out
- some minor bugfixes
- topological naming for designs done with Part WB had to be changed. (Unfortunately!)

Important note:
If you used A2plus with activated toponaming on Part WB designs, you should switch toponaming to OFF on preferences page for these projects. Otherwise all constraints are recognized as broken. For new projects, it works now better than before.
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
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 »

herbk wrote: Thu Nov 08, 2018 10:16 pm It's not a big prob, Fasteners WB creates a "BOF" (bill of fasteners) by it's own, but having only one "paper" for all would be nice to :D
Hi Herbert,
i did some tests with fasteners WB and had a quick look at it's code. For the purpose, it has been designed, it is a very fine piece of software. Perhaps it can be integrated to A2plus, but this is nothing which can be done "during an afternoon". There are several difficulties.

- fasteners WB uses it's own placement code (very logical, as it was there before A2plus)
- Like many other software for/of FC, it is vulnerable by the unfamous topological naming issues (screws jump arround after editing of parts)
- chamfers for countersunk screws are not compatible with A2plus-shells (these shells are hollow) and should not be used.
- there is a new userinterface necessary, if it should be integrated, to make it working in a proper way within A2plus.

So this would be a bigger project for it's own. Don't know if it is the most important one at this moment. OK, having all screws with one click in an assembly WB, would be fine.
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
herbk
Veteran
Posts: 2661
Joined: Mon Nov 03, 2014 3:45 pm
Location: Windsbach, Bavarya (Germany)

Re: Another approach to assembly solver (A2plus)

Post by herbk »

Hi kbwbe,
kbwbe wrote: Sun Nov 11, 2018 4:06 pm Don't know if it is the most important one at this moment.
certainly not. :lol:

May be there is the need for i little explanation what im thinking about...
In my mind a well working assambly WB is a very important part of a CAD Software to get a professional standard. Part, PartDesign and some other WBs are the base, a base where a each single part can an should be created. - not less but also not more. Putting parts together, here is the Assembly WB the place for.
For a prof. way to assembly single parts, there is the need for sevaral things more: You need fasteners (of course ;) ) and a lot of things which we buy somewhere: Bearings, gears (i know we have a gears WB, but for a assembly with gears i usualy buy the gears and get a CAD file from the supplier) profiles and so on.
For bearings, gears and other "buy parts" assembly should be able to import and handle .stp (or other usual formats) like at FreeCAD created parts.
For profiles i'm thinking about something like fasteners WB work: Just import a profile (e.g. a L) and set all dimensions after importing it.
If the assembly is finished should it be possible use something like the Animation WB to check if the assembly somewhere "jams", all needed constraints allready existing at an assembly.

But that are just some thoughts... ;)
Gruß Herbert
triplus
Veteran
Posts: 9471
Joined: Mon Dec 12, 2011 4:45 pm

Re: Another approach to assembly solver (A2plus)

Post by triplus »

Combining Fasteners and A2plus workbenches doesn't make all that much sense in my opinion. At least not now. A2plus will hopefully focus on improving solver robustness and introduce new sensible relations. As for TopoNaming and multi-document management. I like the improvements in A2plus. But somehow feel this two areas might end up migrating to functionality introduced in Assembly 3 effort. That is in A2plus multi-document management would likely improve in combination with the Link effort. Loading of documents to extract data could i guess improve. Now basically document side-loading is happening? In Link effort improvements were introduced in this area (making this more straightforward). But there are still some issues and hopefully all module developers providing solutions in this area will weight in (in FreeCAD 0.19 development cycle). As for TopoNaming i don't know yet. That will likely come after. When it comes to A2plus, i like the fact, it provides more relations, compared to Assembly2. When adding relations, at least for now, i feel it's more robust. When it comes to handling the initial conditions (the initial part position). Compared to Assembly3.
jbe
Posts: 367
Joined: Sun Nov 10, 2013 4:18 pm
Location: France, Châteauroux

Re: Another approach to assembly solver (A2plus)

Post by jbe »

Can we use Datumplane in A2plus, to make contraint ?
Best regard
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 »

jbe wrote: Mon Nov 12, 2018 7:25 pm Can we use Datumplane in A2plus, to make contraint ?
Hello JBE,
no, it's not possible. Datumplanes live within PartDesign, not within A2plus (or even Assembly 2).
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
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 »

.
Hi all,

there is an update of A2plus available, V0.1.7

What's new:
- a new constraint "axisParallelConstraint"

Two axis' are rotated to be parallel, but not moved to be coincident.
It works with linear edges and axis' of cylinder faces.

Have fun !
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
Post Reply