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)
Good job @fc_tofu one the menu work.
Re: Another approach to assembly solver (A2plus)
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.
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: 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 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.
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.
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: 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 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 94 times
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
-
- Posts: 115
- Joined: Wed May 30, 2018 6:59 pm
Re: Another approach to assembly solver (A2plus)
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
Re: Another approach to assembly solver (A2plus)
There were some discussions in the past, but AFAIK currently App::Link doesn't support linking to Sketcher geometry from an external docment.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?
Re: Another approach to assembly solver (A2plus)
Hi Michele,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.
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.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)
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.
P.S. Ask first, develop latter.
-
- Posts: 115
- Joined: Wed May 30, 2018 6:59 pm
Re: Another approach to assembly solver (A2plus)
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
Reason: fixed broken bbcode
Re: Another approach to assembly solver (A2plus)
This is a useful enhancement for bottom-up modelling.
I am not so familiar with A2plus. Is it possible to also create all of the parts/bodies and final assembly in the same file similar to Assembly4 ?
That approach is critically necessary for top-down, in-context modelling, especially for larger more complicated assemblies.
"It is a poor workman who blames his tools..."