Skip to content

Commit

Permalink
return helix id too
Browse files Browse the repository at this point in the history
  • Loading branch information
gserena committed Dec 18, 2024
1 parent abcf9e7 commit acd751e
Showing 1 changed file with 14 additions and 10 deletions.
24 changes: 14 additions & 10 deletions modeling-cmds/src/ok_response.rs
Original file line number Diff line number Diff line change
Expand Up @@ -84,16 +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 `SelectAdd` endpoint.
#[derive(Debug, Serialize, Deserialize, Clone, JsonSchema, ModelingCmdOutput)]
pub struct SelectAdd {
Expand Down Expand Up @@ -749,6 +739,20 @@ define_ok_modeling_cmd_response_enum! {
pub entity_ids: Vec<Uuid>
}

/// 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 {
Expand Down

0 comments on commit acd751e

Please sign in to comment.