diff --git a/modeling-cmds/openapi/api.json b/modeling-cmds/openapi/api.json index ac1a173c..5ca5ab75 100644 --- a/modeling-cmds/openapi/api.json +++ b/modeling-cmds/openapi/api.json @@ -5636,6 +5636,10 @@ } ] }, + "tangent_chain": { + "description": "If true, also cut edges that are tangent to the selected edges.", + "type": "boolean" + }, "tolerance": { "description": "The maximum acceptable surface gap computed between the cut surfaces. Must be positive (i.e. greater than zero).", "allOf": [ @@ -5714,6 +5718,10 @@ } ] }, + "tangent_chain": { + "description": "If true, also cut edges that are tangent to the selected edges.", + "type": "boolean" + }, "tolerance": { "description": "The maximum acceptable surface gap computed between the cut surfaces. Must be positive (i.e. greater than zero).", "allOf": [ diff --git a/modeling-cmds/src/def_enum.rs b/modeling-cmds/src/def_enum.rs index 25ae4a6f..e58776e6 100644 --- a/modeling-cmds/src/def_enum.rs +++ b/modeling-cmds/src/def_enum.rs @@ -1469,6 +1469,10 @@ define_modeling_cmd_enum! { #[serde(default, skip_serializing_if = "EdgeCutVersion::is_default")] #[builder(default)] pub version: EdgeCutVersion, + /// If true, also cut edges that are tangent to the selected edges. + #[serde(default, skip_serializing_if = "super::is_false")] + #[builder(default)] + pub tangent_chain: bool, } /// Cut the list of given edges with the given cut parameters. @@ -1511,6 +1515,10 @@ define_modeling_cmd_enum! { #[serde(default, skip_serializing_if = "EdgeCutVersion::is_default")] #[builder(default)] pub version: EdgeCutVersion, + /// If true, also cut edges that are tangent to the selected edges. + #[serde(default, skip_serializing_if = "super::is_false")] + #[builder(default)] + pub tangent_chain: bool, } /// Determines whether a brep face is planar and returns its surface-local planar axes if so