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:
committed by
GitHub
parent
60c42befdf
commit
213c4d681c
File diff suppressed because it is too large
Load Diff
@ -97,6 +97,20 @@ class revolve(BaseModel):
|
||||
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):
|
||||
"""Command for revolving a solid 2d about a brep edge"""
|
||||
|
||||
@ -1209,6 +1223,7 @@ ModelingCmd = RootModel[
|
||||
extend_path,
|
||||
extrude,
|
||||
revolve,
|
||||
solid3d_shell_face,
|
||||
revolve_about_edge,
|
||||
close_path,
|
||||
camera_drag_start,
|
||||
|
39
spec.json
39
spec.json
@ -18761,6 +18761,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",
|
||||
|
Reference in New Issue
Block a user