Skip to content

Commit

Permalink
YOYO NEW API SPEC!
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Jun 6, 2024
1 parent 7625da9 commit 57716d1
Showing 1 changed file with 67 additions and 0 deletions.
67 changes: 67 additions & 0 deletions spec.json
Original file line number Diff line number Diff line change
Expand Up @@ -15364,6 +15364,25 @@
"updated_at"
]
},
"CutType": {
"description": "What kind of cut to do",
"oneOf": [
{
"description": "Round off an edge.",
"type": "string",
"enum": [
"fillet"
]
},
{
"description": "Cut away an edge.",
"type": "string",
"enum": [
"chamfer"
]
}
]
},
"DefaultCameraFocusOn": {
"description": "The response from the `DefaultCameraFocusOn` command.",
"type": "object"
Expand Down Expand Up @@ -18761,6 +18780,45 @@
"type"
]
},
{
"description": "Command for revolving a solid 2d.",
"type": "object",
"properties": {
"face_ids": {
"description": "Which faces to remove, leaving only the shell.",
"type": "array",
"items": {
"type": "string",
"format": "uuid"
}
},
"object_id": {
"description": "Which Solid3D is being shelled.",
"type": "string",
"format": "uuid"
},
"shell_thickness": {
"description": "How thick the shell should be. Smaller values mean a thinner shell.",
"allOf": [
{
"$ref": "#/components/schemas/LengthUnit"
}
]
},
"type": {
"type": "string",
"enum": [
"solid3d_shell_face"
]
}
},
"required": [
"face_ids",
"object_id",
"shell_thickness",
"type"
]
},
{
"description": "Command for revolving a solid 2d about a brep edge",
"type": "object",
Expand Down Expand Up @@ -20036,6 +20094,15 @@
"description": "Fillets the given edge with the specified radius.",
"type": "object",
"properties": {
"cut_type": {
"description": "How to apply the cut.",
"default": "fillet",
"allOf": [
{
"$ref": "#/components/schemas/CutType"
}
]
},
"edge_id": {
"description": "Which edge you want to fillet.",
"type": "string",
Expand Down

0 comments on commit 57716d1

Please sign in to comment.