FreeCAD / FreeCAD/FreeCAD

Assembly: Cylindrical joints break when moving (dragging) parts

Open
#16,055 9 comments 2 reactions 1 assignee Claimed by @PaddleStroke View on GitHub
Mod: Assembly Status: Confirmed Type: Bug
Dominant language
C++
Stars
33.6k
Forks
6k
Avg merge
3d 15h
Merged PRs (30d)
196

Description

### Is there an existing issue for this?

- [X] I have searched the existing issues

### Problem description

Cylindrical joints in the assembly can break when moving parts of the assembly.
The attached example file contains several cylindrical joints on three assembly parts. Initially, movement of the wheel centre will be normal and the concentric alignment will be maintained. Though moving the wheel centre further distances, or moving it rapidly will beak the control alignment and the parts will rotate. If movement is continued after the alignment break, some errors can be generated and also the fixed part can end up moving/rotating.

Example:
![Assembly-Cylindrical Joint Move Failure 3](https://github.com/user-attachments/assets/7edb3d48-db2d-483c-a53c-5880aa4f6426)

### Full version info

```shell
OS: Windows 11 build 22631
Word size of FreeCAD: 64-bit
Version: 0.22.0dev.38506 (Git)
Build type: Release
Branch: main
Hash: ebf02483af225b502fccfa7111499dfde33999fd
Python 3.11.9, Qt 5.15.13, Coin 4.0.2, Vtk 9.2.6, OCC 7.7.2
Locale: English/United Kingdom (en_GB)
Installed mods:
* 3DfindIT 1.2.0
* CurvedShapes 1.0.9
* Curves 0.6.45
* sheetmetal 0.4.24
```

### Subproject(s) affected?

Assembly

### Anything else?

Some of the error messages (may not be helpful):
16:07:14 Unhandled std exception in ViewProvider::eventCallback: invalid vector subscript
(Event type: SoLocation2Event, object type: AssemblyGui::ViewProviderAssembly)
16:07:15 Unhandled std exception in ViewProvider::eventCallback: invalid vector subscript
(Event type: SoMouseButtonEvent, object type: AssemblyGui::ViewProviderAssembly)

FreeCAD File:
[LawnMower Wheel V2 (Assembly Git Issue).zip](https://github.com/user-attachments/files/16740970/LawnMower.Wheel.V2.Assembly.Git.Issue.zip)

### Code of Conduct

- [X] I agree to follow this project's Code of Conduct

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.