Assembly: Inconsistent joint vizualization on spreadsheet update
- Dominant language
- C++
- Stars
- 33.6k
- Forks
- 6k
- Avg merge
- 3d 15h
- Merged PRs (30d)
- 196
Description
### Problem description
Inconsistent joint visualization on spreadsheet cell update. Joints are properly recalculated but these changes are partially(!) visualized.
Seems to be similar to https://github.com/FreeCAD/FreeCAD/issues/24336 but looks like the dedicated fix ( https://github.com/FreeCAD/FreeCAD/pull/25513 ) did not completely help (comparing to current 1.2.0dev the joints are properly recalculated at least), reproduced on build https://github.com/furgo16/FreeCAD/releases/tag/preview-asm-ref-change-2026-01-02
### Workbench affected?
Assembly
### Steps to reproduce
[bug-report.zip](https://github.com/user-attachments/files/24601194/bug-report.zip)
Steps to reproduce:
1. Unpack the provided ZIP archive into a single folder.
2. Open the file bug_report.FCStd.
3. In the Spreadsheet, change the value in cell A1 to 3.
4. Expected result: Both joints ("Distance C001-C002" and "Distance C001-C003") are recalculated automatically, moving both cubes.
5. Actual result: As expected. So far so good.
6. In the Spreadsheet, change the value in cell A1 back to 1.
7. Expected result: Both joints ("Distance C001-C002" and "Distance C001-C003") are recalculated automatically, moving both cubes back.
8. Result: Both joints ("Distance C001-C002" and "Distance C001-C003") are recalculated automatically but only first(!) cube moved back.
Issue visualisation:
### Expected behavior
Assembly joints are rendered properly according to calculated values
### Actual behavior
Spreadsheet change leads to properly recalculated joints but these changes are just partially(!) visualized
### Development version About Info (in Safe Mode)
```shell
An issue is reproduceable in Safe Mode.
OS: macOS 15.4.1
Architecture: arm64
Version: 1.2.0dev.20260102 (Git shallow)
Build date: 2026/01/02 07:16:43
Build type: Release
Branch: (HEAD detached at 07399df)
Hash: 07399df8ca95ca8dbffdb1d1b39301f6e6fb0e4b
Python 3.11.14, Qt 6.8.3, Coin 4.0.3, Vtk 9.3.1, boost 1_86, Eigen3 3.4.0, PySide 6.8.3
shiboken 6.8.3, xerces-c 3.3.0, IfcOpenShell 0.8.2, OCC 7.8.1
Locale: Russian/Russia (ru_RU)
Navigation Style/Orbit Style/Rotation Mode: CAD/Rounded Arcball/Window center
Stylesheet/Theme/QtStyle: FreeCAD.qss/FreeCAD Dark/
Logical DPI/Physical DPI/Pixel Ratio: 72/127.5/2
```
### Last known good version (optional)
```shell
```
Contributor guide
Assessment
This issue has not been assessed yet.