Assembly3 preview

Discussion about the development of the Assembly workbench.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
User avatar
jpg87
Posts: 809
Joined: Thu Mar 16, 2017 7:16 am
Location: Limoges - France
Contact:

Re: Assembly3 preview

Post by jpg87 »

Hello,

Warning :
This expresses the results of my tests. I hope that my English translation will be understandable.
I tried to find out if the existing constraints could meet my needs.
Note :
The first reflex of the designer is to use pairs of surfaces to constrain: it would be interesting for the solver to ignore Dof deleted twice (or more).

DOF expected in the desired link (support plane):
10_pl.gif
10_pl.gif (52.28 KiB) Viewed 3105 times
plan.png
plan.png (23.98 KiB) Viewed 3105 times
DOF expected in the desired link (pivot):
01_piv.gif
01_piv.gif (105.06 KiB) Viewed 3105 times
pivot.png
pivot.png (45.6 KiB) Viewed 3105 times
To be continued ...
My website : http://help-freecad-jpg87.fr updated 2023/11/06
User avatar
jpg87
Posts: 809
Joined: Thu Mar 16, 2017 7:16 am
Location: Limoges - France
Contact:

Re: Assembly3 preview

Post by jpg87 »

...
DOF expected in the desired link (sliding pivot) :
03_piv_gli.gif
03_piv_gli.gif (83.06 KiB) Viewed 3104 times
piv_gli.png
piv_gli.png (28.44 KiB) Viewed 3104 times
DOF expected in the desired link (slide) :
02_gliss.gif
02_gliss.gif (24.66 KiB) Viewed 3104 times
gliss.png
gliss.png (66.17 KiB) Viewed 3104 times
To be continued ...
My website : http://help-freecad-jpg87.fr updated 2023/11/06
User avatar
jpg87
Posts: 809
Joined: Thu Mar 16, 2017 7:16 am
Location: Limoges - France
Contact:

Re: Assembly3 preview

Post by jpg87 »

...
DOF expected in the desired link (punctual) :
09_ponct.gif
09_ponct.gif (340.62 KiB) Viewed 3103 times
ponct.png
ponct.png (30.73 KiB) Viewed 3103 times
DOF expected in the desired link (straight linear) :
08_lin_rect.gif
08_lin_rect.gif (302.12 KiB) Viewed 3103 times
lin_rect.png
lin_rect.png (35.07 KiB) Viewed 3103 times
...
My website : http://help-freecad-jpg87.fr updated 2023/11/06
User avatar
jpg87
Posts: 809
Joined: Thu Mar 16, 2017 7:16 am
Location: Limoges - France
Contact:

Re: Assembly3 preview

Post by jpg87 »

...
DOF expected in the desired link (spherical) :
06_sph.gif
06_sph.gif (400.61 KiB) Viewed 3101 times
spher.png
spher.png (30.8 KiB) Viewed 3101 times
DOF expected in the desired link (helical) :
04_heli.gif
04_heli.gif (141.47 KiB) Viewed 3101 times
helico.png
helico.png (29.62 KiB) Viewed 3101 times
My website : http://help-freecad-jpg87.fr updated 2023/11/06
triplus
Veteran
Posts: 9471
Joined: Mon Dec 12, 2011 4:45 pm

Re: Assembly3 preview

Post by triplus »

jpg87 wrote: Thu Mar 15, 2018 10:12 pm Hello,

Warning :
This expresses the results of my tests. I hope that my English translation will be understandable.
I tried to find out if the existing constraints could meet my needs.
Nice overview. Once things mature likely having such examples in the documentation would make much sense.

P.S. Before that happens i feel that this is still the missing part. That will likely change things drastically.
realthunder wrote: Fri Mar 09, 2018 2:33 am Because composite constraint removes multiple DOFs, multiple composite constraints of similar types on the same pair of parts (which have at most 6 Dof between them) will definitely lead to overconstraint. I'll add code to detect that and downgrade or (if appropriate) simply ignore extra composites.
chrisb
Veteran
Posts: 54192
Joined: Tue Mar 17, 2015 9:14 am

Re: Assembly3 preview

Post by chrisb »

I hadn't much interest in assembly until now, but this overview is really intriguing.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: Assembly3 preview

Post by Kunda1 »

marcin_ose wrote:ping
Check this thread out as well.
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
realthunder
Veteran
Posts: 2190
Joined: Tue Jan 03, 2017 10:55 am

Re: Assembly3 preview

Post by realthunder »

I am back from the topo naming thing. I've upgraded the entire Part WB with new topo naming, and It's about to be ready for testing. But before that, let's fix something here first.

It turns out that SolveSpace allows redundant constraints. I just need to ignore the return status when it reports redundant. And once I've done that, plane constraint works much better now, although it still fails occasionally. Also, multiple plane coincidence has a much lower success rate. I may still need to add my own logic to deal with this in the end of the day.

The following screencast showed a few things,

* Multiple plane alignment now works
* SolveSpace does not care about orientation, you may have to occasionally flip the object yourself. I'm not sure if there is a solution for this.
* Negative offset now works as expected
* I have added 3D view preselection on mouse over tree view item. This is a core feature, and works in other workbench as well. To turn on/off it, use tree view context menu, 'Tree view options' -> 'Pre-selection'

Image
Try Assembly3 with my custom build of FreeCAD at here.
And if you'd like to show your support, you can donate through patreon, liberapay, or paypal
User avatar
easyw-fc
Veteran
Posts: 3633
Joined: Thu Jul 09, 2015 9:34 am

Re: Assembly3 preview

Post by easyw-fc »

realthunder wrote: Thu Mar 22, 2018 10:16 am I am back from the topo naming thing. I've upgraded the entire Part WB with new topo naming, and It's about to be ready for testing.
Very nice though!
This A3 stuff will be a great enhancement for all mechanical workflow!

:D
triplus
Veteran
Posts: 9471
Joined: Mon Dec 12, 2011 4:45 pm

Re: Assembly3 preview

Post by triplus »

realthunder wrote: Thu Mar 22, 2018 10:16 am It turns out that SolveSpace allows redundant constraints.
Now plane alignment indeed works more Assembly 2 plane constraint alike. I only did a few quick tests for now. Will have more time to try out more use cases in a day or two. I can already say the amount of use cases, where before solver just failed, has reduced substantially now!
Post Reply