CAM: Path.fromShapes(..., return_start=True)
- Dominant language
- C++
- Stars
- 33.6k
- Forks
- 6k
- Avg merge
- 3d 15h
- Merged PRs (30d)
- 196
Description
### Problem description
`Path.fromShapes()` can return end point of the path, if set argument `return_end=True`
To optimize **linking** and **sorting** will be useful also have argument `return_start=True` to return start point of the path
### Workbench affected?
CAM
### Steps to reproduce
---
### Expected behavior
```
pathParams = {}
...
pathParams["return_start"] = True
pathParams["return_end"] = True
pp, start_vector, end_vector = Path.fromShapes(**pathParams)
```
### Actual behavior
```
pathParams = {}
...
pathParams["return_end"] = True
pp, end_vector = Path.fromShapes(**pathParams)
```
### Development version About Info (in Safe Mode)
```shell
OS: Arch Linux (KDE/plasma/wayland)
Architecture: x86_64
Version: 1.2.0dev.46991 (Git)
Build date: 2026/05/23 04:46:06
Build type: Release
Branch: CAM3
Hash: 2174bf21b4b9d00e1e1034cf123380c4fea6ff80
Python 3.14.5, Qt 6.11.1, Coin 4.0.8, Vtk 9.6.2, boost 1_91, Eigen3 5.0.1, PySide 6.11.1
shiboken 6.11.1, SMESH 7.7.1.0, xerces-c 3.3.0, Clipper2 , OCC 7.9.3
Locale: English/United States (en_US)
Stylesheet/Theme/QtStyle: FreeCAD.qss/FreeCAD Dark/
Navigation Style/Orbit Style/Rotation Mode: Touchpad/Turntable/Object center
Logical DPI/Physical DPI/Pixel Ratio: 96/118.293/1
```
### Last known good version (optional)
```shell
```
Contributor guide
Assessment
This issue has not been assessed yet.