diff --git a/modeling-cmds/openapi/api.json b/modeling-cmds/openapi/api.json index ac1a173c..ffe9d574 100644 --- a/modeling-cmds/openapi/api.json +++ b/modeling-cmds/openapi/api.json @@ -1576,6 +1576,27 @@ "type" ] }, + { + "description": "A uuid referencing a helix.", + "type": "object", + "properties": { + "helix_id": { + "description": "Id of the helix object.", + "type": "string", + "format": "uuid" + }, + "type": { + "type": "string", + "enum": [ + "helix" + ] + } + }, + "required": [ + "helix_id", + "type" + ] + }, { "description": "A uuid referencing an edge on a solid2d (profile) - used for raw sketch/profile edges. This is distinct from the face-based Edge reference which is used for BRep/swept body edges.", "type": "object", diff --git a/modeling-cmds/src/shared.rs b/modeling-cmds/src/shared.rs index 9a6c6cf4..6a9fd825 100644 --- a/modeling-cmds/src/shared.rs +++ b/modeling-cmds/src/shared.rs @@ -127,6 +127,11 @@ pub enum EntityReference { #[serde(default, skip_serializing_if = "Option::is_none")] topology_fallback: Option, }, + /// A uuid referencing a helix. + Helix { + /// Id of the helix object. + helix_id: Uuid, + }, /// A uuid referencing an edge on a solid2d (profile) - used for raw sketch/profile edges. /// This is distinct from the face-based Edge reference which is used for BRep/swept body edges. Solid2dEdge {