CadQuery / CadQuery/cadquery

There is no sufficient document for Sketch's arc function.

Offen
#1,663 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
docs
Vorherrschende Sprache
Python
Sterne
5.8k
Forks
541
Ø Merge
3 T. 2 Std.
Gemergte PRs (30 T.)
5

Beschreibung

In the current master, there is no sufficient document for Sketch's arc function, especially for the overload function of
```
@arc.register
def arc(
self: T,
c: Point,
r: Real,
a: Real,
da: Real,
tag: Optional[str] = None,
forConstruction: bool = False,
) -> T:
```
Maybe variable "a" and variable "da" should be given more cares.

From the source code, I guess "a" should be the start angle, and "da" should be the angle value with direction included. If the arc is toward CW, the "da" should be negtive. Otherwise, the "da" should be positive.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.