Another approach to assembly solver (A2plus)

Discussion about the development of the Assembly workbench.
fc_tofu
Posts: 654
Joined: Sun Jan 05, 2020 4:56 pm

Re: Another approach to assembly solver (A2plus)

Postby fc_tofu » Sat Feb 01, 2020 8:50 pm

kbwbe wrote: Sat Feb 01, 2020 8:32 pm
fc_tofu wrote: Sat Feb 01, 2020 4:22 pm I made some menu and tooltip polish at A2plus 0.4.36 for personal use...
Hi @fc_tofu,
the structured menu really looks better. Please upload the InitGui.py file.
Thank you.
Sent already, receive with PM plz.
triplus
Posts: 9475
Joined: Mon Dec 12, 2011 4:45 pm

Re: Another approach to assembly solver (A2plus)

Postby triplus » Sat Feb 01, 2020 9:11 pm

Good job @fc_tofu one the menu work.
kbwbe
Posts: 1044
Joined: Tue Apr 10, 2018 3:12 pm
Location: Germany, near Köln (Cologne)

Re: Another approach to assembly solver (A2plus)

Postby kbwbe » Sat Feb 01, 2020 9:16 pm

Hi people,

i like to demonstrate how to use some new features of A2plus V0.42.

Now it is possible, to design things with A2p using the mastersketch approach. Everything is still within separate files.

phpBB [video]


The workflow was roughly this:
1) create a file "master.FCStd" and do sketch within this and save it.
2) create a file "Part-1". Import the sketch of the masterdoc by using this button:
icon.png
icon.png (1.19 KiB) Viewed 987 times
3) switch to PartDesign WB, create a body and use the imported sketch as basefeature
4) Design your part, having the geometry of the imported sketch as external geometrie. Save your part.
5) Do the same things for the second part
6) create an assembly file
7) import the sketch from the masterdoc with this command again
icon.png
icon.png (1.19 KiB) Viewed 987 times
8) Import the 2 parts and constraint them against the imported sketch
9) Assure that "master.FCStd" and "assembly.FCStd are opened.
10) start the script.

Very interesting is, that everything is in a separate file. The mastersketch can be used both for design of the parts and for the simulation.
P.S. The script animates the mastersketch. It's Shape is transferred by the script to the assembly. Solving the assembly moves the parts.

Have Fun.

Files are attached.
Attachments
a2p-master-sketch-approach.zip
(76.54 KiB) Downloaded 36 times
KBWBE

https://github.com/kbwbe/A2plus
latest release: v0.4.54b, 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
uwestoehr
Posts: 2741
Joined: Sun Jan 27, 2019 3:21 am
Location: Germany

Re: Another approach to assembly solver (A2plus)

Postby uwestoehr » Sat Feb 01, 2020 9:29 pm

kbwbe wrote: Sat Feb 01, 2020 9:16 pm Have Fun.
Cool! :+1:
Turro75
Posts: 176
Joined: Mon Aug 15, 2016 10:23 pm

Re: Another approach to assembly solver (A2plus)

Postby Turro75 » Sun Feb 02, 2020 12:10 pm

kbwbe wrote: Sat Feb 01, 2020 9:16 pm Hi people,

i like to demonstrate how to use some new features of A2plus V0.42.
Great! this is a powerful enhancement!
m.cavallerin
Posts: 104
Joined: Wed May 30, 2018 6:59 pm

Re: Another approach to assembly solver (A2plus)

Postby m.cavallerin » Mon Feb 03, 2020 8:01 pm

kbwbe wrote: Sat Feb 01, 2020 9:16 pm Now it is possible, to design things with A2p using the mastersketch approach. Everything is still within separate files.
Hi kbwbe,

that's for sure an useful tool, but it seems a clone of the "Link" function, am I wrong?
If the same functionality could be covered by Link, It would be useful to think this tool revisited with link functionalities.

That's only a suggestion, just for standardization; in any case you made a great work so far!

Regards.

Michele
triplus
Posts: 9475
Joined: Mon Dec 12, 2011 4:45 pm

Re: Another approach to assembly solver (A2plus)

Postby triplus » Mon Feb 03, 2020 8:17 pm

m.cavallerin wrote: Mon Feb 03, 2020 8:01 pm that's for sure an useful tool, but it seems a clone of the "Link" function, am I wrong?
There were some discussions in the past, but AFAIK currently App::Link doesn't support linking to Sketcher geometry from an external docment.
kbwbe
Posts: 1044
Joined: Tue Apr 10, 2018 3:12 pm
Location: Germany, near Köln (Cologne)

Re: Another approach to assembly solver (A2plus)

Postby kbwbe » Mon Feb 03, 2020 8:25 pm

m.cavallerin wrote: Mon Feb 03, 2020 8:01 pm that's for sure an useful tool, but it seems a clone of the "Link" function, am I wrong?
If the same functionality could be covered by Link, It would be useful to think this tool revisited with link functionalities.
Hi Michele,
before creating this tool, i tried to use links for that. But i didn't success. (Perhaps my lack of experience with links). I am wondering if standard FC0.19 (not Asm3) is capable to do the same example by using links. E.g. i was not able to use a linked sketch as basefeature for PartDesign. Any hint is appreciated.

Klaus

P.S. this post overlaped with @triplus' one.
KBWBE

https://github.com/kbwbe/A2plus
latest release: v0.4.54b, 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
Posts: 9475
Joined: Mon Dec 12, 2011 4:45 pm

Re: Another approach to assembly solver (A2plus)

Postby triplus » Mon Feb 03, 2020 8:32 pm

The way i see it App::Link was merged, that much is true, but only now use cases and feedback will come. Therefore hopefully development wont stop just yet and better to be vocal about your needs.

P.S. Ask first, develop latter. ;)
m.cavallerin
Posts: 104
Joined: Wed May 30, 2018 6:59 pm

Re: Another approach to assembly solver (A2plus)

Postby m.cavallerin » Mon Feb 03, 2020 8:51 pm

triplus wrote: Mon Feb 03, 2020 8:17 pm
There were some discussions in the past, but AFAIK currently App::Link doesn't support linking to Sketcher geometry from an external docment.
I knew there was a reason, but I didn't know the technical difficulties to get the result, now it's all clearer to me.

Thank you both.

Regards Michele.
Last edited by Kunda1 on Mon Feb 03, 2020 9:29 pm, edited 1 time in total.
Reason: fixed broken bbcode