Another approach to assembly solver (A2plus)

Discussion about the development of the Assembly workbench.
kbwbe
Posts: 572
Joined: Tue Apr 10, 2018 3:12 pm
Location: Germany, near Köln (Cologne)

Re: Another approach to assembly solver (A2plus)

Postby kbwbe » Thu Nov 08, 2018 9:36 pm

herbk wrote:
Thu Nov 08, 2018 8:56 pm
Hi kbwbe,
about the BOM: One thing whold be great: If a screw with it's Data could be automaticly writen to the BOM...
Hi Herbert,
even it is only a screw (you like fasteners-WB, i know ;) ), the job is not trivial. BOM was designed to read out a information spreadsheet from a sourcefile of an imported part. If fasteners WB is used, there exists no valid sourcefile. Also converting to A2p does not help. The only way at moment is to create a small library with some screws which you often need and add the partinfo spreadsheet to each file. On another thread, i saw, you are a teacher. Perhaps your pupils can do this as a exercise at home. :mrgreen:

With a clean library, imported screws are written to the BOM.
KBWBE

https://github.com/kbwbe/A2plus
latest release: v0.1.8, installable via FreeCAD's addon manager
Tutorials:
Paul Randall: https://youtu.be/mnkecA9S7kc
anisim (deutsch): https://www.youtube.com/watch?v=vDcaFq6IEJM
herbk
Posts: 1074
Joined: Mon Nov 03, 2014 3:45 pm
Location: Windsbach, Bavarya (Germany)

Re: Another approach to assembly solver (A2plus)

Postby herbk » 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
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
Posts: 572
Joined: Tue Apr 10, 2018 3:12 pm
Location: Germany, near Köln (Cologne)

Re: Another approach to assembly solver (A2plus)

Postby kbwbe » Thu Nov 08, 2018 10:46 pm

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.1.8, installable via FreeCAD's addon manager
Tutorials:
Paul Randall: https://youtu.be/mnkecA9S7kc
anisim (deutsch): https://www.youtube.com/watch?v=vDcaFq6IEJM
triplus
Posts: 7609
Joined: Mon Dec 12, 2011 4:45 pm

Re: Another approach to assembly solver (A2plus)

Postby triplus » Thu Nov 08, 2018 11:28 pm

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
Posts: 572
Joined: Tue Apr 10, 2018 3:12 pm
Location: Germany, near Köln (Cologne)

Re: Another approach to assembly solver (A2plus)

Postby kbwbe » Sun Nov 11, 2018 3:34 pm

.
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.1.8, installable via FreeCAD's addon manager
Tutorials:
Paul Randall: https://youtu.be/mnkecA9S7kc
anisim (deutsch): https://www.youtube.com/watch?v=vDcaFq6IEJM
kbwbe
Posts: 572
Joined: Tue Apr 10, 2018 3:12 pm
Location: Germany, near Köln (Cologne)

Re: Another approach to assembly solver (A2plus)

Postby kbwbe » Sun Nov 11, 2018 4:06 pm

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.1.8, installable via FreeCAD's addon manager
Tutorials:
Paul Randall: https://youtu.be/mnkecA9S7kc
anisim (deutsch): https://www.youtube.com/watch?v=vDcaFq6IEJM
herbk
Posts: 1074
Joined: Mon Nov 03, 2014 3:45 pm
Location: Windsbach, Bavarya (Germany)

Re: Another approach to assembly solver (A2plus)

Postby herbk » Sun Nov 11, 2018 9:22 pm

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
Posts: 7609
Joined: Mon Dec 12, 2011 4:45 pm

Re: Another approach to assembly solver (A2plus)

Postby triplus » Mon Nov 12, 2018 10:45 am

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: 238
Joined: Sun Nov 10, 2013 4:18 pm
Location: France, Châteauroux

Re: Another approach to assembly solver (A2plus)

Postby jbe » Mon Nov 12, 2018 7:25 pm

Can we use Datumplane in A2plus, to make contraint ?
Best regard
kbwbe
Posts: 572
Joined: Tue Apr 10, 2018 3:12 pm
Location: Germany, near Köln (Cologne)

Re: Another approach to assembly solver (A2plus)

Postby kbwbe » Wed Nov 14, 2018 8:53 pm

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.1.8, installable via FreeCAD's addon manager
Tutorials:
Paul Randall: https://youtu.be/mnkecA9S7kc
anisim (deutsch): https://www.youtube.com/watch?v=vDcaFq6IEJM