跳到主要内容

explain_tag

类型: 函数
领域: 建模与几何
推荐导入: from cadflow import explain_tag

签名

def explain_tag(shape: 'AnyShape', tag: 'str', scope: 'str | TagScope' = <TagScope.EFFECTIVE: 'effective'>) -> 'List[Dict[str, Any]]'

功能说明

explain_tag 是 CadFlow 建模与几何领域的公共函数。

原始 API 说明

Explain every visible binding that produces a tag token.

参数

名称类型必需默认值源码说明
shape'AnyShape'-源码 Docstring 未单独说明。
tag'str'-源码 Docstring 未单独说明。
scope'str | TagScope'&lt;TagScope.EFFECTIVE: 'effective'&gt;源码 Docstring 未单独说明。

返回值

类型: 'List[Dict[str, Any]]'

源码 Docstring 未声明更多返回语义。

异常

源码 Docstring 未声明更窄的异常契约。类型、数值、所有权、路径或后端状态无效时,仍可能抛出相应公共异常。

行为与约束

  • 以下契约由当前公共运行时签名生成;所有权与工作流限制见对应领域说明。

导入检查

from cadflow import explain_tag

相关内容