How to avoid error: Joint Compute Failed - Some positions cannot be resolved due to joint conflicts

How to avoid error: Joint Compute Failed - Some positions cannot be resolved due to joint conflicts

dave5X6D9
Participant Participant
1,562 Views
6 Replies
Message 1 of 7

How to avoid error: Joint Compute Failed - Some positions cannot be resolved due to joint conflicts

dave5X6D9
Participant
Participant

See the attached simplified file. The joint shows an error: "Joint Compute Failed - Some positions cannot be resolved due to joint conflicts"... Why is this and how can I avoid this happening? 

 

My design is rather complex with several dozen joints. Whenever I change a parameter, many of the joints get this error... Deleting and recreating the joint removes the error, but it would take a long time to do this to several joints each time I update a parameter...

 

Screenshot 2021-03-14 at 22.47.06.png

0 Likes
1,563 Views
6 Replies
Replies (6)
Message 2 of 7

jeff_strater
Community Manager
Community Manager

thank you for the simplified model.  That effort is always much appreciated.  I see that the joint here is broken, and that editing it or even Compute All seems to fix it.  Can you tell me what parameter to modify to get it to break?  There are a lot of parameters there.  That will help us investigate to find the root cause.  Thanks!


Jeff Strater
Engineering Director
0 Likes
Message 3 of 7

dave5X6D9
Participant
Participant

Aaah yes you're right. Compute All fixes this, but it doesn't fix my non-simplified model. I'll try to do another simplified version that shows an error that Compute All can't fix!

0 Likes
Message 4 of 7

jeff_strater
Community Manager
Community Manager

thank you, yes, that would be helpful.  When you do, if you can, let us know what parameter change causes the problem.  


Jeff Strater
Engineering Director
0 Likes
Message 5 of 7

dave5X6D9
Participant
Participant

OK so take a look at the attached file. It's not quite as simplified as I'd like (I know how frustrating it is when people submit bugs with complicated examples!)

 

The timeline is divided into groups. Please just ignore all but the last two groups. I wanted to delete them, but deleting any of them triggers the error.

 

You can trigger the error by changing the "box_length_Ref" parameter to 6800 (I'm sure any value will do). This should adjust the overall length of the model, so should cause various things to change. As mentioned above, you can also trigger the error by deleting any of the timeline groups before the last two.

 

The last two groups are:

 

1) "Interior" - this is a sketch that is driven by a bunch of parameters. I've been using this as a master sketch to align all the interior sub-assemblies. The length is defined by that "box_length_Ref" parameter. It's positioned with a rigid joint to the global origin and some offset parameters.

 

2) "Bedroom steps" - this is a component inside the "Interior" which is aligned with a rigid joint to a point on the "Interior" sketch.

 

The "Interior" joint gets the red error "Compute Failed - Position calculation failed due to initialisation error" and the "Bedroom steps" joint gets the yellow warning "Compute Failed - Some positions cannot be resolved due to joint conflicts".

 

Screenshot 2021-03-15 at 09.46.09.png

Screenshot 2021-03-15 at 09.46.21.png

The "Compute All" command doesn't resolve this. Am I doing something wrong? If there some best practises for joints that I'm missing?

 

p.s. The parameters all have "_Ref" appended because I'm using an external parameters file with al by sub-assemblies... However I've removed all the external links in this simplified example and it doesn't seem to be related to the error.

0 Likes
Message 6 of 7

dave5X6D9
Participant
Participant

So I spent a couple of hours going through my design deleting components until I isolated four joints that were somehow corrupted. After deleting the joints and recreating them, it works fine. I'm still at a loss to explain why the design was corrupted. Each time I've tried to recreate the joints in a simpler design, it works fine. Did you have any luck analysing the attached file? I would really like to get to the bottom of this because my entire project has been on hold for the last few days trying to get the design working again. As my design gets more and more complex, debugging a similar problem is going to be more and more work... 

0 Likes
Message 7 of 7

dave5X6D9
Participant
Participant

Having the same problem again today: 

 

Screenshot 2021-04-02 at 19.28.29.png

0 Likes