Update api spec (#261)
* 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
f32a32d1bc
commit
d2e9b0b865
@ -100,7 +100,7 @@ class revolve(BaseModel):
|
||||
|
||||
|
||||
class solid3d_shell_face(BaseModel):
|
||||
"""Command for revolving a solid 2d."""
|
||||
"""Command for shelling a solid3d face"""
|
||||
|
||||
face_ids: List[str]
|
||||
|
||||
@ -131,6 +131,24 @@ class revolve_about_edge(BaseModel):
|
||||
model_config = ConfigDict(protected_namespaces=())
|
||||
|
||||
|
||||
class loft(BaseModel):
|
||||
"""Command for lofting sections to create a solid"""
|
||||
|
||||
base_curve_index: Optional[int] = None
|
||||
|
||||
bez_approximate_rational: bool
|
||||
|
||||
section_ids: List[str]
|
||||
|
||||
tolerance: LengthUnit
|
||||
|
||||
type: Literal["loft"] = "loft"
|
||||
|
||||
v_degree: int
|
||||
|
||||
model_config = ConfigDict(protected_namespaces=())
|
||||
|
||||
|
||||
class close_path(BaseModel):
|
||||
"""Closes a path, converting it to a 2D solid."""
|
||||
|
||||
@ -1287,6 +1305,7 @@ ModelingCmd = RootModel[
|
||||
revolve,
|
||||
solid3d_shell_face,
|
||||
revolve_about_edge,
|
||||
loft,
|
||||
close_path,
|
||||
camera_drag_start,
|
||||
camera_drag_move,
|
||||
|
Reference in New Issue
Block a user