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!
Koemi
Posts: 150
Joined: Thu Dec 28, 2017 11:13 am
Location: The Netherlands

Re: Another approach to assembly solver (A2plus)

Post by Koemi »

manuelkrause wrote: Tue Sep 11, 2018 2:00 pm
You don't need any part to be converted to A2plus at all.
Just import parts via the A2plus WB into a new file as an assembly file and constrain them.

Manuel
Ok. Thanks Manuel. This takes some worries away.

Because I use a fresh A2Plus AND a fresh FC_V0.17 I think the rest of my questions are more linked to the PartDesign (Next) WB... There I can see a Part- ('yellow stairs') and a Body- ('blue stairs') feature. :| This is where the puzzle starts...

I found this: https://forum.freecadweb.org/viewtopic.php?f=9&t=15269 This explains a few. But one thing is noticeable:
Part. A part is not related to PartDesign but is a new general FreeCAD element. It provides a local coordinate system and can be used to group any kind of FreeCAD stuff and move it as one unit. This will be the future basis for assemblies.
So it seems that a part will become an assembly... :?: :?: headache in progress...

And a 100 pages are reached... :mrgreen: who will reach the post nr. 1000?
Last edited by Koemi on Tue Sep 11, 2018 2:42 pm, edited 1 time in total.
Jee-Bee
Veteran
Posts: 2566
Joined: Tue Jun 16, 2015 10:32 am
Location: Netherlands

Re: Another approach to assembly solver (A2plus)

Post by Jee-Bee »

@ kbwbe off cours!!
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 »

Koemi wrote: Tue Sep 11, 2018 1:46 pm What does 'Convert Part to A2Plus form' do exactly?
Hi Koemi,
if you put e.g. a fastener from fasteners WB to A2plus file, at first moment it is no correct A2p import part. You can select the new fastener, hit the "convert" button and the fastener turns to be a A2p part. From this point on, you can correctly set constraints to it and do all usual A2p operations.
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
manuelkrause
Posts: 442
Joined: Thu Jul 05, 2018 7:16 pm

Re: Another approach to assembly solver (A2plus)

Post by manuelkrause »

kbwbe wrote: Tue Sep 11, 2018 3:14 pm
Koemi wrote: Tue Sep 11, 2018 1:46 pm What does 'Convert Part to A2Plus form' do exactly?
Hi Koemi,
if you put e.g. a fastener from fasteners WB to A2plus file, at first moment it is no correct A2p import part. You can select the new fastener, hit the "convert" button and the fastener turns to be a A2p part. From this point on, you can correctly set constraints to it and do all usual A2p operations.
I don't get the point atm.

If I dont convert the imported part I'm as well able to make A2plus assembly constraints.

Why and when is "convert" an advantage?

Thanks folr clarifying !
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 »

manuelkrause wrote: Tue Sep 11, 2018 4:01 pm
kbwbe wrote: Tue Sep 11, 2018 3:14 pm
Koemi wrote: Tue Sep 11, 2018 1:46 pm What does 'Convert Part to A2Plus form' do exactly?
Hi Koemi,
if you put e.g. a fastener from fasteners WB to A2plus file, at first moment it is no correct A2p import part. You can select the new fastener, hit the "convert" button and the fastener turns to be a A2p part. From this point on, you can correctly set constraints to it and do all usual A2p operations.
I don't get the point atm.

If I dont convert the imported part I'm as well able to make A2plus assembly constraints.

Why and when is "convert" an advantage?

Thanks folr clarifying !
Hi Manuel,
simple: you do not need a sourcefile for import of a fastener. Just use fasteners WB, place fastener directly to assembly and convert it. Ready.
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
Turro75
Posts: 179
Joined: Mon Aug 15, 2016 10:23 pm

Re: Another approach to assembly solver (A2plus)

Post by Turro75 »

kbwbe wrote: Tue Sep 11, 2018 4:30 pm
manuelkrause wrote: Tue Sep 11, 2018 4:01 pm
kbwbe wrote: Tue Sep 11, 2018 3:14 pm
Koemi wrote: Tue Sep 11, 2018 1:46 pm What does 'Convert Part to A2Plus form' do exactly?
Hi Koemi,
if you put e.g. a fastener from fasteners WB to A2plus file, at first moment it is no correct A2p import part. You can select the new fastener, hit the "convert" button and the fastener turns to be a A2p part. From this point on, you can correctly set constraints to it and do all usual A2p operations.
I don't get the point atm.

If I dont convert the imported part I'm as well able to make A2plus assembly constraints.

Why and when is "convert" an advantage?

Thanks folr clarifying !
Hi Manuel,
simple: you do not need a sourcefile for import of a fastener. Just use fasteners WB, place fastener directly to assembly and convert it. Ready.
I think Manuel asked why the need of importing/converting as constraints are working even on not properly imported/converted parts.
ATM there are some parameters such as fixedpositin and subassembly which are needed, may be it can be evaluated to avoid the need of specific importing by inserting a specific python object containing all required info.
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 »

Turro75 wrote: Tue Sep 11, 2018 4:44 pm I think Manuel asked why the need of importing/converting as constraints are working even on not properly imported/converted parts.
ATM there are some parameters such as fixedpositin and subassembly which are needed, may be it can be evaluated to avoid the need of specific importing by inserting a specific python object containing all required info.
Hi Turro,
without converting the tree-view could be damaged.
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 »

Turro75 wrote: ping
Hi Turro,
one question: Is it possible for you to do a PR with the two solver solution to devel branch next days ? Or do we have to merge manually ?
Important: the PR should only include your core modifications so that there is no big impact to current devel state. Our standard solver should keep on working as 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
Turro75
Posts: 179
Joined: Mon Aug 15, 2016 10:23 pm

Re: Another approach to assembly solver (A2plus)

Post by Turro75 »

kbwbe wrote: Tue Sep 11, 2018 8:42 pm
Turro75 wrote: ping
Hi Turro,
one question: Is it possible for you to do a PR with the two solver solution to devel branch next days ? Or do we have to merge manually ?
Important: the PR should only include your core modifications so that there is no big impact to current devel state. Our standard solver should keep on working as before.
let me try
Turro75
Posts: 179
Joined: Mon Aug 15, 2016 10:23 pm

Re: Another approach to assembly solver (A2plus)

Post by Turro75 »

Turro75 wrote: Tue Sep 11, 2018 9:10 pm
kbwbe wrote: Tue Sep 11, 2018 8:42 pm
Turro75 wrote: ping
Hi Turro,
one question: Is it possible for you to do a PR with the two solver solution to devel branch next days ? Or do we have to merge manually ?
Important: the PR should only include your core modifications so that there is no big impact to current devel state. Our standard solver should keep on working as before.
let me try
PR sent
Post Reply