@ -1,6 +1,6 @@
|
||||
from typing import Literal, Union
|
||||
|
||||
from pydantic import BaseModel, Field, RootModel
|
||||
from pydantic import BaseModel, ConfigDict, Field, RootModel
|
||||
from typing_extensions import Annotated
|
||||
|
||||
from ..models.center_of_mass import CenterOfMass
|
||||
@ -42,6 +42,8 @@ class empty(BaseModel):
|
||||
|
||||
type: Literal["empty"] = "empty"
|
||||
|
||||
model_config = ConfigDict(protected_namespaces=())
|
||||
|
||||
|
||||
class export(BaseModel):
|
||||
"""The response from the ` ` command."""
|
||||
@ -50,6 +52,8 @@ class export(BaseModel):
|
||||
|
||||
type: Literal["export"] = "export"
|
||||
|
||||
model_config = ConfigDict(protected_namespaces=())
|
||||
|
||||
|
||||
class select_with_point(BaseModel):
|
||||
"""The response from the ` ` command."""
|
||||
@ -58,6 +62,8 @@ class select_with_point(BaseModel):
|
||||
|
||||
type: Literal["select_with_point"] = "select_with_point"
|
||||
|
||||
model_config = ConfigDict(protected_namespaces=())
|
||||
|
||||
|
||||
class highlight_set_entity(BaseModel):
|
||||
"""The response from the ` ` command."""
|
||||
@ -66,6 +72,8 @@ class highlight_set_entity(BaseModel):
|
||||
|
||||
type: Literal["highlight_set_entity"] = "highlight_set_entity"
|
||||
|
||||
model_config = ConfigDict(protected_namespaces=())
|
||||
|
||||
|
||||
class entity_get_child_uuid(BaseModel):
|
||||
"""The response from the ` ` command."""
|
||||
@ -74,6 +82,8 @@ class entity_get_child_uuid(BaseModel):
|
||||
|
||||
type: Literal["entity_get_child_uuid"] = "entity_get_child_uuid"
|
||||
|
||||
model_config = ConfigDict(protected_namespaces=())
|
||||
|
||||
|
||||
class entity_get_num_children(BaseModel):
|
||||
"""The response from the ` ` command."""
|
||||
@ -82,6 +92,8 @@ class entity_get_num_children(BaseModel):
|
||||
|
||||
type: Literal["entity_get_num_children"] = "entity_get_num_children"
|
||||
|
||||
model_config = ConfigDict(protected_namespaces=())
|
||||
|
||||
|
||||
class entity_get_parent_id(BaseModel):
|
||||
"""The response from the ` ` command."""
|
||||
@ -90,6 +102,8 @@ class entity_get_parent_id(BaseModel):
|
||||
|
||||
type: Literal["entity_get_parent_id"] = "entity_get_parent_id"
|
||||
|
||||
model_config = ConfigDict(protected_namespaces=())
|
||||
|
||||
|
||||
class entity_get_all_child_uuids(BaseModel):
|
||||
"""The response from the ` ` command."""
|
||||
@ -98,6 +112,8 @@ class entity_get_all_child_uuids(BaseModel):
|
||||
|
||||
type: Literal["entity_get_all_child_uuids"] = "entity_get_all_child_uuids"
|
||||
|
||||
model_config = ConfigDict(protected_namespaces=())
|
||||
|
||||
|
||||
class select_get(BaseModel):
|
||||
"""The response from the ` ` command."""
|
||||
@ -106,6 +122,8 @@ class select_get(BaseModel):
|
||||
|
||||
type: Literal["select_get"] = "select_get"
|
||||
|
||||
model_config = ConfigDict(protected_namespaces=())
|
||||
|
||||
|
||||
class get_entity_type(BaseModel):
|
||||
"""The response from the ` ` command."""
|
||||
@ -114,6 +132,8 @@ class get_entity_type(BaseModel):
|
||||
|
||||
type: Literal["get_entity_type"] = "get_entity_type"
|
||||
|
||||
model_config = ConfigDict(protected_namespaces=())
|
||||
|
||||
|
||||
class entity_get_distance(BaseModel):
|
||||
"""The response from the ` ` command."""
|
||||
@ -122,6 +142,8 @@ class entity_get_distance(BaseModel):
|
||||
|
||||
type: Literal["entity_get_distance"] = "entity_get_distance"
|
||||
|
||||
model_config = ConfigDict(protected_namespaces=())
|
||||
|
||||
|
||||
class entity_linear_pattern(BaseModel):
|
||||
"""The response from the ` ` command."""
|
||||
@ -130,6 +152,8 @@ class entity_linear_pattern(BaseModel):
|
||||
|
||||
type: Literal["entity_linear_pattern"] = "entity_linear_pattern"
|
||||
|
||||
model_config = ConfigDict(protected_namespaces=())
|
||||
|
||||
|
||||
class solid3d_get_all_edge_faces(BaseModel):
|
||||
"""The response from the ` ` command."""
|
||||
@ -138,6 +162,8 @@ class solid3d_get_all_edge_faces(BaseModel):
|
||||
|
||||
type: Literal["solid3d_get_all_edge_faces"] = "solid3d_get_all_edge_faces"
|
||||
|
||||
model_config = ConfigDict(protected_namespaces=())
|
||||
|
||||
|
||||
class solid3d_get_all_opposite_edges(BaseModel):
|
||||
"""The response from the ` ` command."""
|
||||
@ -146,6 +172,8 @@ class solid3d_get_all_opposite_edges(BaseModel):
|
||||
|
||||
type: Literal["solid3d_get_all_opposite_edges"] = "solid3d_get_all_opposite_edges"
|
||||
|
||||
model_config = ConfigDict(protected_namespaces=())
|
||||
|
||||
|
||||
class solid3d_get_opposite_edge(BaseModel):
|
||||
"""The response from the ` ` command."""
|
||||
@ -154,6 +182,8 @@ class solid3d_get_opposite_edge(BaseModel):
|
||||
|
||||
type: Literal["solid3d_get_opposite_edge"] = "solid3d_get_opposite_edge"
|
||||
|
||||
model_config = ConfigDict(protected_namespaces=())
|
||||
|
||||
|
||||
class solid3d_get_prev_adjacent_edge(BaseModel):
|
||||
"""The response from the ` ` command."""
|
||||
@ -162,6 +192,8 @@ class solid3d_get_prev_adjacent_edge(BaseModel):
|
||||
|
||||
type: Literal["solid3d_get_prev_adjacent_edge"] = "solid3d_get_prev_adjacent_edge"
|
||||
|
||||
model_config = ConfigDict(protected_namespaces=())
|
||||
|
||||
|
||||
class solid3d_get_next_adjacent_edge(BaseModel):
|
||||
"""The response from the ` ` command."""
|
||||
@ -170,6 +202,8 @@ class solid3d_get_next_adjacent_edge(BaseModel):
|
||||
|
||||
type: Literal["solid3d_get_next_adjacent_edge"] = "solid3d_get_next_adjacent_edge"
|
||||
|
||||
model_config = ConfigDict(protected_namespaces=())
|
||||
|
||||
|
||||
class mouse_click(BaseModel):
|
||||
"""The response from the ` ` command."""
|
||||
@ -178,6 +212,8 @@ class mouse_click(BaseModel):
|
||||
|
||||
type: Literal["mouse_click"] = "mouse_click"
|
||||
|
||||
model_config = ConfigDict(protected_namespaces=())
|
||||
|
||||
|
||||
class curve_get_type(BaseModel):
|
||||
"""The response from the ` ` command."""
|
||||
@ -186,6 +222,8 @@ class curve_get_type(BaseModel):
|
||||
|
||||
type: Literal["curve_get_type"] = "curve_get_type"
|
||||
|
||||
model_config = ConfigDict(protected_namespaces=())
|
||||
|
||||
|
||||
class curve_get_control_points(BaseModel):
|
||||
"""The response from the ` ` command."""
|
||||
@ -194,6 +232,8 @@ class curve_get_control_points(BaseModel):
|
||||
|
||||
type: Literal["curve_get_control_points"] = "curve_get_control_points"
|
||||
|
||||
model_config = ConfigDict(protected_namespaces=())
|
||||
|
||||
|
||||
class take_snapshot(BaseModel):
|
||||
"""The response from the ` ` command."""
|
||||
@ -202,6 +242,8 @@ class take_snapshot(BaseModel):
|
||||
|
||||
type: Literal["take_snapshot"] = "take_snapshot"
|
||||
|
||||
model_config = ConfigDict(protected_namespaces=())
|
||||
|
||||
|
||||
class path_get_info(BaseModel):
|
||||
"""The response from the ` ` command."""
|
||||
@ -210,6 +252,8 @@ class path_get_info(BaseModel):
|
||||
|
||||
type: Literal["path_get_info"] = "path_get_info"
|
||||
|
||||
model_config = ConfigDict(protected_namespaces=())
|
||||
|
||||
|
||||
class path_get_curve_uuids_for_vertices(BaseModel):
|
||||
"""The response from the ` ` command."""
|
||||
@ -220,6 +264,8 @@ class path_get_curve_uuids_for_vertices(BaseModel):
|
||||
"path_get_curve_uuids_for_vertices"
|
||||
] = "path_get_curve_uuids_for_vertices"
|
||||
|
||||
model_config = ConfigDict(protected_namespaces=())
|
||||
|
||||
|
||||
class path_get_vertex_uuids(BaseModel):
|
||||
"""The response from the ` ` command."""
|
||||
@ -228,6 +274,8 @@ class path_get_vertex_uuids(BaseModel):
|
||||
|
||||
type: Literal["path_get_vertex_uuids"] = "path_get_vertex_uuids"
|
||||
|
||||
model_config = ConfigDict(protected_namespaces=())
|
||||
|
||||
|
||||
class plane_intersect_and_project(BaseModel):
|
||||
"""The response from the ` ` command."""
|
||||
@ -236,6 +284,8 @@ class plane_intersect_and_project(BaseModel):
|
||||
|
||||
type: Literal["plane_intersect_and_project"] = "plane_intersect_and_project"
|
||||
|
||||
model_config = ConfigDict(protected_namespaces=())
|
||||
|
||||
|
||||
class curve_get_end_points(BaseModel):
|
||||
"""The response from the ` ` command."""
|
||||
@ -244,6 +294,8 @@ class curve_get_end_points(BaseModel):
|
||||
|
||||
type: Literal["curve_get_end_points"] = "curve_get_end_points"
|
||||
|
||||
model_config = ConfigDict(protected_namespaces=())
|
||||
|
||||
|
||||
class import_files(BaseModel):
|
||||
"""The response from the ` ` command."""
|
||||
@ -252,6 +304,8 @@ class import_files(BaseModel):
|
||||
|
||||
type: Literal["import_files"] = "import_files"
|
||||
|
||||
model_config = ConfigDict(protected_namespaces=())
|
||||
|
||||
|
||||
class mass(BaseModel):
|
||||
"""The response from the ` ` command."""
|
||||
@ -260,6 +314,8 @@ class mass(BaseModel):
|
||||
|
||||
type: Literal["mass"] = "mass"
|
||||
|
||||
model_config = ConfigDict(protected_namespaces=())
|
||||
|
||||
|
||||
class volume(BaseModel):
|
||||
"""The response from the ` ` command."""
|
||||
@ -268,6 +324,8 @@ class volume(BaseModel):
|
||||
|
||||
type: Literal["volume"] = "volume"
|
||||
|
||||
model_config = ConfigDict(protected_namespaces=())
|
||||
|
||||
|
||||
class density(BaseModel):
|
||||
"""The response from the ` ` command."""
|
||||
@ -276,6 +334,8 @@ class density(BaseModel):
|
||||
|
||||
type: Literal["density"] = "density"
|
||||
|
||||
model_config = ConfigDict(protected_namespaces=())
|
||||
|
||||
|
||||
class surface_area(BaseModel):
|
||||
"""The response from the ` ` command."""
|
||||
@ -284,6 +344,8 @@ class surface_area(BaseModel):
|
||||
|
||||
type: Literal["surface_area"] = "surface_area"
|
||||
|
||||
model_config = ConfigDict(protected_namespaces=())
|
||||
|
||||
|
||||
class center_of_mass(BaseModel):
|
||||
"""The response from the ` ` command."""
|
||||
@ -292,6 +354,8 @@ class center_of_mass(BaseModel):
|
||||
|
||||
type: Literal["center_of_mass"] = "center_of_mass"
|
||||
|
||||
model_config = ConfigDict(protected_namespaces=())
|
||||
|
||||
|
||||
class get_sketch_mode_plane(BaseModel):
|
||||
"""The response from the ` ` command."""
|
||||
@ -300,6 +364,8 @@ class get_sketch_mode_plane(BaseModel):
|
||||
|
||||
type: Literal["get_sketch_mode_plane"] = "get_sketch_mode_plane"
|
||||
|
||||
model_config = ConfigDict(protected_namespaces=())
|
||||
|
||||
|
||||
OkModelingCmdResponse = RootModel[
|
||||
Annotated[
|
||||
|
Reference in New Issue
Block a user