Update api spec (#217)
* YOYO NEW API SPEC! * I have generated the latest API! --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
b3eeaef41d
commit
cc0bb86a53
File diff suppressed because it is too large
Load Diff
@ -22,7 +22,7 @@ class line(BaseModel):
|
|||||||
|
|
||||||
|
|
||||||
class arc(BaseModel):
|
class arc(BaseModel):
|
||||||
"""A circular arc segment."""
|
"""A circular arc segment. Arcs can be drawn clockwise when start > end."""
|
||||||
|
|
||||||
center: Point2d
|
center: Point2d
|
||||||
|
|
||||||
@ -68,7 +68,7 @@ class tangential_arc(BaseModel):
|
|||||||
|
|
||||||
|
|
||||||
class tangential_arc_to(BaseModel):
|
class tangential_arc_to(BaseModel):
|
||||||
"""Adds a tangent arc from current pen position to the new position."""
|
"""Adds a tangent arc from current pen position to the new position. Arcs will choose a clockwise or counter-clockwise direction based on the arc end position."""
|
||||||
|
|
||||||
angle_snap_increment: Optional[Angle] = None
|
angle_snap_increment: Optional[Angle] = None
|
||||||
|
|
||||||
|
@ -23374,7 +23374,7 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"description": "A circular arc segment.",
|
"description": "A circular arc segment. Arcs can be drawn clockwise when start > end.",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
"center": {
|
"center": {
|
||||||
@ -23481,7 +23481,7 @@
|
|||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
"offset": {
|
"offset": {
|
||||||
"description": "Offset of the arc.",
|
"description": "Offset of the arc. Negative values will arc clockwise.",
|
||||||
"allOf": [
|
"allOf": [
|
||||||
{
|
{
|
||||||
"$ref": "#/components/schemas/Angle"
|
"$ref": "#/components/schemas/Angle"
|
||||||
@ -23510,7 +23510,7 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"description": "Adds a tangent arc from current pen position to the new position.",
|
"description": "Adds a tangent arc from current pen position to the new position. Arcs will choose a clockwise or counter-clockwise direction based on the arc end position.",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
"angle_snap_increment": {
|
"angle_snap_increment": {
|
||||||
|
Reference in New Issue
Block a user