realthunder/FreeCAD_assembly3

When using Axial alignment constraint things do not behave as expected

Closed this issue · 2 comments

Simple assembly.
Box with a round hole and round peg.
Two cylindrical faces used as elements.

ax_al_test1

OS: elementary OS 6.1 JAlnir (Pantheon/pantheon)
Word size of FreeCAD: 64-bit
Version: 2022.407.26244 +4693 (Git) AppImage
Build type: Release
Branch: LinkDaily
Hash: 9610830a8fd492b3b3d96f8328507c80f1437cda
Python version: 3.9.12
Qt version: 5.12.9
Coin version: 4.0.1
OCC version: 7.5.3
Locale: English/United Kingdom (en_GB)

File:
axial_alignment_test.FCStd.zip

but... when I try to use Axial Alignment constraint things do not behave as expected?
i.e.
ax_al_2

instead of:

like_so

What am I doing wrong, please?

I can reproduce the problem. It may fail or not depending on whether to select the box face first or the cylinder face. And when it is not moved correctly, there may either be warning message about redundant constraint or error message about inconsistent constraint. I think the problem is caused by the initial position of the parts being too far apart, and the solver is confused about what message to output. As a general 'solution' to this kind of problem, just manually move the parts a bit closer.

Thank you for the confirmation.
That was my understanding as well, but I was beginning to doubt my sanity after questions on the subject on main forum.