Assembly 3 issues with constrains

Discussion about the development of the Assembly workbench.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Post Reply
dammerel
Posts: 98
Joined: Sat Aug 09, 2014 2:15 am

Assembly 3 issues with constrains

Post by dammerel »

OS: Windows 10 Version 1903
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 2021.519.24301 +3553 (Git)
Build type: Release
Branch: LinkStage3
Hash: 8f888e0659636e547f06f1ffbfc4f12292e65a66
Python version: 3.8.6+
Qt version: 5.15.2
Coin version: 4.0.1
OCC version: 7.5.0
Locale: English/Australia (en_AU)

Hi all,
I am having issues trying to assemble these two parts. Basically trying to constrain the hinge part to the wall bracket using the PlaneCoincident and the wall bracket is locked. Any experts that could have a look and let me know if I am doing something wrong
thanks Andrew
c1.JPG
c1.JPG (40.87 KiB) Viewed 2419 times
c1.JPG
c1.JPG (40.87 KiB) Viewed 2419 times
Attachments
wall.FCStd
(74.88 KiB) Downloaded 58 times
hinge.FCStd
(38.5 KiB) Downloaded 62 times
asm3.FCStd
(11.97 KiB) Downloaded 64 times
c2.JPG
c2.JPG (24.32 KiB) Viewed 2419 times
User avatar
OficineRobotica
Posts: 433
Joined: Thu Feb 21, 2019 8:17 am
Contact:

Re: Assembly 3 issues with constrains

Post by OficineRobotica »

Haven't downloaded your file but ..... using one of asm3 mover tools move the hinge part as close as possible to the wall bracket while still leaving space to select the intended matching geometry. This will help the solver figure out your intentions.

If those two components are to be bolted together (0 degrees of freedom between them), it is advisable to use the asm3 attachment constraint as it saves on computational time.

Select first the the edge on the geometry that is already fixed in some way then the edge on the geometry that needs to snap in to place then hit the attachment constraint. The geometry should snap in to place. If it is rotated wrong expand the "attachment" entry in the tree view -> select (usually) the second "element" then EITHER right click on it -> flip element .....OR using the properties tab manipulate its rotation by changing the angle value.

In this simple case that should work. Let us know if it solved your problem.
Check out my Youtube channel at: https://www.youtube.com/@OficineRobotica
User avatar
mwlandolsi
Posts: 135
Joined: Sun Jan 31, 2021 10:49 pm

Re: Assembly 3 issues with constrains

Post by mwlandolsi »

this is the solution,
Hope it was helpful. It is so late, but I just passed away and find your post. Looks like you are familiar with SW. You made the assembly with the same logic of SW. Just Think FreeCAD, and you will feel the power of CAD.
I just removed the last constraint that you made. and moved the hinge part near to the hole of Wall.

Have a nice day.
Attachments
hinge.FCStd
(32.83 KiB) Downloaded 43 times
asm3.FCStd
(17.34 KiB) Downloaded 40 times
wall.FCStd
(74.88 KiB) Downloaded 36 times
Post Reply