Update api spec (#226)

* 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:
zoo-github-actions-auth[bot]
2024-06-04 09:38:51 -07:00
committed by GitHub
parent 60c42befdf
commit 213c4d681c
3 changed files with 726 additions and 672 deletions

File diff suppressed because it is too large Load Diff

View File

@ -97,6 +97,20 @@ class revolve(BaseModel):
model_config = ConfigDict(protected_namespaces=()) model_config = ConfigDict(protected_namespaces=())
class solid3d_shell_face(BaseModel):
"""Command for revolving a solid 2d."""
face_ids: List[str]
object_id: str
shell_thickness: LengthUnit
type: Literal["solid3d_shell_face"] = "solid3d_shell_face"
model_config = ConfigDict(protected_namespaces=())
class revolve_about_edge(BaseModel): class revolve_about_edge(BaseModel):
"""Command for revolving a solid 2d about a brep edge""" """Command for revolving a solid 2d about a brep edge"""
@ -1209,6 +1223,7 @@ ModelingCmd = RootModel[
extend_path, extend_path,
extrude, extrude,
revolve, revolve,
solid3d_shell_face,
revolve_about_edge, revolve_about_edge,
close_path, close_path,
camera_drag_start, camera_drag_start,

View File

@ -18761,6 +18761,45 @@
"type" "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", "description": "Command for revolving a solid 2d about a brep edge",
"type": "object", "type": "object",