FreeCAD / FreeCAD/FreeCAD

Sketcher: Cannot create an arc with a large radius

Open
#10,411 10 comments 0 reactions 0 assignees View on GitHub
Mod: Sketcher Status: Confirmed Topic: GCS Topic: User Interface Type: Bug
Dominant language
C++
Stars
33.6k
Forks
6k
Avg merge
3d 17h
Merged PRs (30d)
196

Description

### Is there an existing issue for this?

- [X] I have searched the existing issues

### Full version info

```shell
OS: Windows 11 build 22621
Word size of FreeCAD: 64-bit
Version: 0.21.0.33668 +7 (Git)
Build type: Release
Branch: (HEAD detached at 0.21)
Hash: 41b058e2087de60dc8fef3d3e68c7d0129e13abf
Python 3.8.10, Qt 5.15.2, Coin 4.0.1, Vtk 8.2.0, OCC 7.6.3
Locale: English/United States (en_US)
```

### Subproject(s) affected?

Sketcher

### Problem description

When I do the following:

1) Start a new FreeCad project
2) Change to the sketcher workbench
3) Create a new sketch on the XY-Plane
4) Create a new arc (doesn't matter which option I select center and end points or end points and rim points)
5) Add a radius constraint on the arc of 901 m.
6) Use fit all to zoom out
7) Attempt to move the arc.

What I see in the console is:
```shell
12:04:13 Traceback (most recent call last):
File "", line 1, in
: Not able to move point with the id and type: (0, 0)
12:04:13 App.getDocument('Unnamed').getObject('Sketch').movePoint(0,0,App.Vector(31228.166016,327418.750000,0),0)
12:04:13 Drag curve: Not able to move point with the id and type: (0, 0)
```

I am no longer able to fully constrain this arc in any way. For example if I attempt to fully constrain this arc in any way by adding distance, point constraints, and reference lines with angle constraints, I get the same error as above. Issues seem to start somewhere around 900 m.

### Anything else?

The issue was brought up as part of this discussion: https://forum.freecad.org/viewtopic.php?p=702591 in the FreeCAD forum. I narrowed my initial description down to the above scenario to narrow in on and simplify the problem.

![Screenshot 2023-08-28 091144](https://github.com/FreeCAD/FreeCAD/assets/7637326/720b12bf-4ac2-432e-befe-7e63701a559f)

### 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.