CadQuery / CadQuery/cadquery

Sketch Angle, ArcAngle constraints are reversed

Open
#959 1 comment 0 reactions 0 assignees View on GitHub
sketching
Dominant language
Python
Stars
5.8k
Forks
541
Avg merge
3d 2h
Merged PRs (30d)
5

Description

I find ArcAngle results are in the reversed sense.

For example, the results of the following Sketch with or without solve is expected to be the same.

```
s = (
cq.Sketch()
.arc((0,0), 1, 30, 120, "arc1")
.constrain("arc1", "FixedPoint", 0)
.constrain("arc1", "ArcAngle", 120)
#.solve()
)
```
Without solve:
![image](https://user-images.githubusercontent.com/16394272/149629459-3cb31f9f-3a30-4b91-8335-8ad088cbbe10.png)

With solve (not expected):
![image](https://user-images.githubusercontent.com/16394272/149629470-ef1d1f60-6332-4a8f-85f0-a36c678528d9.png)

Angle constraint is likewise reversed. I'll plan to open a PR shortly.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.