FreeCAD / FreeCAD/FreeCAD

Assembly: Single distance joint referencing LCSs results in over-constrained warning

Open
#27,889 6 comments 0 reactions 0 assignees View on GitHub
Mod: Assembly Status: Confirmed
Dominant language
C++
Stars
33.6k
Forks
6k
Avg merge
3d 17h
Merged PRs (30d)
196

Description

### Problem description

An assembly with two components, one grounded, and a single distance joint is considered over-constrained. That is not correct IMO. The distance joint is between an origin of a LCS and a plane of another LCS. Of the 6 degrees of freedom of the ungrounded component 5 should therefore remain: 3 axes of rotation and 2 axes of movement.

The fact that sub elements from LCSs are referenced seems to be a factor. If the distance joint is between a planar face and a vertex, 5 degrees of freedom are correctly reported.

Related forum post:
https://forum.freecad.org/viewtopic.php?t=103523#p875288

### Workbench affected?

Assembly

### Steps to reproduce

1. Open the attached [file](https://github.com/user-attachments/files/25577294/Over.Constrained._Not.really_Roy.FCStd.zip) (remove the .zip extension).
2. Delete the revolute joint.
3. Check the task panel.
4. Press the "Force recompute" button.
5. Over-constrained warning remains.

### Expected behavior

n/a

### Actual behavior

n/a

### Development version About Info (in Safe Mode)

```shell
OS: Ubuntu 22.04.5 LTS (ubuntu:GNOME/ubuntu/wayland)
Architecture: x86_64
Version: 1.2.0dev.20260224 (Git shallow) AppImage
Build date: 2026/02/24 18:54:53
Build type: Release
Branch: (HEAD detached at 34ae16cd0)
Hash: 34ae16cd01b179eb9e1801591276dbc5a38669b5
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: Dutch/Netherlands (nl_NL)
Navigation Style/Orbit Style/Rotation Mode: CAD/Turntable/Drag at cursor
Stylesheet/Theme/QtStyle: unset/FreeCAD Classic/
Logical DPI/Physical DPI/Pixel Ratio: 96/86.1283/1
Installed mods:
```

### Last known good version (optional)

```shell

```

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.