Measurement: impossible to measure thread pitch (distance)
- Dominant language
- C++
- Stars
- 33.6k
- Forks
- 6k
- Avg merge
- 3d 15h
- Merged PRs (30d)
- 196
Description
### Problem description
The measurement tool cannot measure the pitch of the thread, for instance by selecting two consecutive peaks.
### Workbench affected?
None
### Steps to reproduce
Open the attached file. I have used the hole feature with thread.
Start the measurement tool and use distance function with two consecutive peaks. A zero distance measurement is calculated.
[Unnamed.zip](https://github.com/user-attachments/files/25374935/Unnamed.zip)
### Expected behavior
to get the pitch distance
### Actual behavior
a 0 distance is measured
### Development version About Info (in Safe Mode)
```shell
OS: Windows 10 build 19045
Architecture: x86_64
Version: 1.2.0dev.20260210 (Git shallow)
Build date: 2026/02/10 18:10:36
Build type: Release
Branch: (HEAD detached at ecbe21ca0)
Hash: ecbe21ca03a59723c90ce5a677ae7ccea06ebc12
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: English/United Kingdom (en_GB)
Navigation Style/Orbit Style/Rotation Mode: CAD/Rounded Arcball/Window center
Stylesheet/Theme/QtStyle: FreeCAD.qss/FreeCAD Light/
Logical DPI/Physical DPI/Pixel Ratio: 96/141.951/1
Installed mods:
* Fasteners Workbench 0.5.44
```
### Last known good version (optional)
```shell
```
Contributor guide
Assessment
This issue has not been assessed yet.