A2+ "Parts where not moved. They are not constrained to a fixed part!"

Discussion about the development of the Assembly workbench.
alx
Posts: 8
Joined: Tue Jun 25, 2019 10:28 pm

A2+ "Parts where not moved. They are not constrained to a fixed part!"

Postby alx » Wed Aug 07, 2019 1:59 am

I don't understand why I'm getting this message when I create any constraint in Assembly 2+:

"The highlighted parts where not moved. They are not constrained (also over constraint chains) to a fixed part!"

FC 18.3
A2+ 0.4.24
Last edited by alx on Wed Aug 07, 2019 8:18 pm, edited 1 time in total.
Jee-Bee
Posts: 2044
Joined: Tue Jun 16, 2015 10:32 am
Location: Netherlands

Re: A2+ Parts where not moved. They are not constrained to a fixed part!

Postby Jee-Bee » Wed Aug 07, 2019 5:13 am

Please add your model so we can check whats going on
alx
Posts: 8
Joined: Tue Jun 25, 2019 10:28 pm

Re: A2+ Parts where not moved. They are not constrained to a fixed part!

Postby alx » Wed Aug 07, 2019 5:12 pm

I created a simple example that gives me the same error.
Test Assembly2Plus.FCStd
(23.95 KiB) Downloaded 91 times
kbwbe
Posts: 953
Joined: Tue Apr 10, 2018 3:12 pm
Location: Germany, near Köln (Cologne)

Re: A2+ Parts where not moved. They are not constrained to a fixed part!

Postby kbwbe » Wed Aug 07, 2019 8:19 pm

alx wrote:
Wed Aug 07, 2019 5:12 pm
I created a simple example that gives me the same error.Test Assembly2Plus.FCStd
A2plus is designed to import parts, each one been designed in a separate file. If you import your single parts into a assemby file, you can apply constraints and this will work.

A2plus will not work if you apply constraints to part containers and bodies directly in a PartDesign file.
Please have a look at the tutorial links within my signature, to get the correct idea.
KBWBE

https://github.com/kbwbe/A2plus
latest release: v0.4.47a, installable via FreeCAD's addon manager
Tutorial: gripper assembly https://www.youtube.com/watch?v=QMxcQ5tssWk
Documentation: https://www.freecadweb.org/wiki/A2plus_Workbench
alx
Posts: 8
Joined: Tue Jun 25, 2019 10:28 pm

Re: A2+ "Parts where not moved. They are not constrained to a fixed part!"

Postby alx » Thu Aug 08, 2019 11:41 pm

Yes. It worked. Brilliant thanks. :)

I also got the same message when I forgot to make some planes coincident, so the solver had no idea what to do with a part.
botanicus
Posts: 5
Joined: Wed Jul 29, 2020 4:56 pm
Location: France

Re: A2+ "Parts where not moved. They are not constrained to a fixed part!"

Postby botanicus » Wed Jul 29, 2020 5:11 pm

Hello !
I have the same problem as alx. If I understood correctly, parts must be imported into separate files ....
As I have already created several (quite complex) bodies in the same FreeCad file, is it possible to copy them separately in several independent files in order to be able to assemble them later in A2 +? How to do ?
Thank you in advance for your help.
dan-miel
Posts: 147
Joined: Thu Sep 13, 2018 12:29 am
Location: Spokane WA. USA

Re: A2+ "Parts where not moved. They are not constrained to a fixed part!"

Postby dan-miel » Thu Jul 30, 2020 1:31 am

botanicus wrote:
Wed Jul 29, 2020 5:11 pm
As I have already created several (quite complex) bodies in the same FreeCad file, is it possible to copy them separately in several independent files in order to be able to assemble them later in A2 +? How to do ?
Basically the files need to be in separate files so if you have 5 bolts in an assembly the bom can report 5 bolts are used. if you upload a file perhaps we can take a look.
Dan
botanicus
Posts: 5
Joined: Wed Jul 29, 2020 4:56 pm
Location: France

Re: A2+ "Parts were not moved. They are not constrained to a fixed part!"

Postby botanicus » Thu Jul 30, 2020 8:21 pm

Hello,

Thank you for the answer !
Here is my file, consisting of 4 parts (bodies). "Pieces paralleles", "Bras 1" and "Bras 2" must be duplicated for assembly. I would like to assemble them and then animate the mechanism.

@+
Attachments
Dessin 2D.dxf
(142.97 KiB) Downloaded 5 times
Mécanisme articulé.FCStd
(132.32 KiB) Downloaded 5 times
dan-miel
Posts: 147
Joined: Thu Sep 13, 2018 12:29 am
Location: Spokane WA. USA

Re: A2+ "Parts where not moved. They are not constrained to a fixed part!"

Postby dan-miel » Fri Jul 31, 2020 2:36 am

botanicus wrote:
Thu Jul 30, 2020 8:21 pm
"Pieces paralleles", "Bras 1" and "Bras 2" must be duplicated for assembly. I would like to assemble them and then animate the mechanism.
Here are the parts back. To create the separate pieces I highlighted the three parts that I did not want and then did a "save as" with the file. I found out that there is not a way to line up the round parts in a slot so I made a rectangle with a hole in it and centered the bra to that. I made the rectangle the same width as the slot. None of the constraints are movable. I'm hoping between this example and the how to do videos you can make it work. When you put the first part in it is "fixed" in space. as long as you add a constraint to a part that has one constraint linked to the first part you should not get the cannot move error.
Dan
Attachments
DXF.zip
(299.14 KiB) Downloaded 4 times
botanicus
Posts: 5
Joined: Wed Jul 29, 2020 4:56 pm
Location: France

Re: A2+ "Parts where not moved. They are not constrained to a fixed part!"

Postby botanicus » Fri Jul 31, 2020 6:56 pm

Thanks for your help.
I have understood the principle of assemblies well with the constraints of coincidence between surfaces and holes, but I have errors with each action. It's by chance that I get there and in addition some constraints do not remain and I have to come back to them constantly. Now, I cannot position the missing screws: as soon as I validate a position or an angle, it returns to its initial value; impossible to do what I want. I am lost in this software which seemed efficient to me, and I am very disappointed!
Attached is the assembly that I cannot complete. The purpose of this assembly: bring the 2 side pieces together or separate them in parallel by acting on the spacing of the 2 central screws. I cannot fit the yellow ((M3x12-Screw which is too deep) and purple (M3x12-Screw001 which is upside down) screws.
On the other hand, I didn't understand how you saved the different pieces in different files.
Pierre
Attachments
Assemblage 1.FCStd
(154.61 KiB) Downloaded 5 times