export_physical_connection_layer_json_rpath
类型: 函数
领域: 物理连接
推荐导入: from cadflow import export_physical_connection_layer_json_rpath
签名
def export_physical_connection_layer_json_rpath(layer: 'PhysicalConnectionLayer', path: 'str | Path', *, indent: 'Optional[int]' = 2) -> 'Path'
功能说明
export_physical_connection_layer_json_rpath 是 CadFlow 物理连接领域的公共函数。
其他公共导入路径
from cadflow.physical import export_physical_connection_layer_json_rpath
参数
| 名称 | 类型 | 必需 | 默认值 | 源码说明 |
|---|---|---|---|---|
layer | 'PhysicalConnectionLayer' | 是 | - | 源码 Docstring 未单独说明。 |
path | 'str | Path' | 是 | - | 源码 Docstring 未单独说明。 |
indent | 'Optional[int]' | 否 | 2 | 源码 Docstring 未单独说明。 |
返回值
类型: 'Path'
源码 Docstring 未声明更多返回语义。
异常
源码 Docstring 未声明更窄的异常契约。类型、数值、所有权、路径或后端状态无效时,仍可能抛出相应公共异常。
行为与约束
- 该操作会写入外部产物。交付前应验证返回路径或输出文件。
- 序列化数据应保持 JSON-safe;跨越信任边界时应执行 Schema 验证。
导入检查
from cadflow import export_physical_connection_layer_json_rpath