Assembly3 preview

Discussion about the development of the Assembly workbench.
User avatar
jpg87
Posts: 414
Joined: Thu Mar 16, 2017 7:16 am
Location: Limoges - France
Contact:

Re: Assembly3 preview

Postby jpg87 » 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.
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 1386 times
plan.png
plan.png (23.98 KiB) Viewed 1386 times
DOF expected in the desired link (pivot):
01_piv.gif
01_piv.gif (105.06 KiB) Viewed 1386 times
pivot.png
pivot.png (45.6 KiB) Viewed 1386 times
To be continued ...
My website : http://help-freecad-jpg87.fr updated 2020/10/17
User avatar
jpg87
Posts: 414
Joined: Thu Mar 16, 2017 7:16 am
Location: Limoges - France
Contact:

Re: Assembly3 preview

Postby jpg87 » Thu Mar 15, 2018 10:16 pm

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

Re: Assembly3 preview

Postby jpg87 » Thu Mar 15, 2018 10:20 pm

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

Re: Assembly3 preview

Postby jpg87 » Thu Mar 15, 2018 10:24 pm

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

Re: Assembly3 preview

Postby triplus » Thu Mar 15, 2018 11:31 pm

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
Posts: 27938
Joined: Tue Mar 17, 2015 9:14 am

Re: Assembly3 preview

Postby chrisb » Mon Mar 19, 2018 11:34 am

I hadn't much interest in assembly until now, but this overview is really intriguing.
User avatar
Kunda1
Posts: 8411
Joined: Thu Jan 05, 2017 9:03 pm

Re: Assembly3 preview

Postby Kunda1 » Mon Mar 19, 2018 1:49 pm

marcin_ose wrote:ping
Check this thread out as well.
Want to contribute back to FC? Checkout:
#lowhangingfruit | Use the Source, Luke. | How to Help FreeCAD | How to report FC bugs and features
realthunder
Posts: 1750
Joined: Tue Jan 03, 2017 10:55 am

Re: Assembly3 preview

Postby realthunder » 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. 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 (latest version 0.11) along 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
Posts: 2905
Joined: Thu Jul 09, 2015 9:34 am

Re: Assembly3 preview

Postby easyw-fc » Thu Mar 22, 2018 10:25 am

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

Re: Assembly3 preview

Postby triplus » Thu Mar 22, 2018 10:53 pm

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!