diff --git a/modeling-cmds/src/ok_response.rs b/modeling-cmds/src/ok_response.rs index 214928f9..09ed25a5 100644 --- a/modeling-cmds/src/ok_response.rs +++ b/modeling-cmds/src/ok_response.rs @@ -84,26 +84,6 @@ define_ok_modeling_cmd_response_enum! { pub struct DefaultCameraPerspectiveSettings { } - /// The response from the `EntityMakeHelix` endpoint. - #[derive(Debug, Serialize, Deserialize, Clone, JsonSchema, ModelingCmdOutput)] - pub struct EntityMakeHelix { - } - - /// The response from the `EntityMakeHelixFromParams` endpoint. - #[derive(Debug, Serialize, Deserialize, Clone, JsonSchema, ModelingCmdOutput)] - pub struct EntityMakeHelixFromParams { - } - - /// The response from the `EntityMirror` endpoint. - #[derive(Debug, Serialize, Deserialize, Clone, JsonSchema, ModelingCmdOutput)] - pub struct EntityMirror { - } - - /// The response from the `EntityMirrorAcrossEdge` endpoint. - #[derive(Debug, Serialize, Deserialize, Clone, JsonSchema, ModelingCmdOutput)] - pub struct EntityMirrorAcrossEdge { - } - /// The response from the `SelectAdd` endpoint. #[derive(Debug, Serialize, Deserialize, Clone, JsonSchema, ModelingCmdOutput)] pub struct SelectAdd { @@ -755,6 +735,34 @@ define_ok_modeling_cmd_response_enum! { pub entity_ids: Vec, } + /// The response from the `EntityMirror` endpoint. + #[derive(Debug, Serialize, Deserialize, Clone, JsonSchema, ModelingCmdOutput)] + pub struct EntityMirror { + /// The UUIDs of the entities that were created. + pub entity_ids: Vec + } + + /// The response from the `EntityMirrorAcrossEdge` endpoint. + #[derive(Debug, Serialize, Deserialize, Clone, JsonSchema, ModelingCmdOutput)] + pub struct EntityMirrorAcrossEdge { + /// The UUIDs of the entities that were created. + pub entity_ids: Vec + } + + /// The response from the `EntityMakeHelix` endpoint. + #[derive(Debug, Serialize, Deserialize, Clone, JsonSchema, ModelingCmdOutput)] + pub struct EntityMakeHelix { + /// The UUID of the helix that was created. + pub helix_id: Uuid + } + + /// The response from the `EntityMakeHelixFromParams` endpoint. + #[derive(Debug, Serialize, Deserialize, Clone, JsonSchema, ModelingCmdOutput)] + pub struct EntityMakeHelixFromParams { + /// The UUID of the helix that was created. + pub helix_id: Uuid + } + /// Extrusion face info struct (useful for maintaining mappings between source path segment ids and extrusion faces) #[derive(Debug, Serialize, Deserialize, Clone, JsonSchema, ModelingCmdOutput)] pub struct Solid3dGetExtrusionFaceInfo {