跳到主要内容

make_2d_cut_rface

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

签名

def make_2d_cut_rface(body: 'Face', tool: 'Face') -> 'Face'

功能说明

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

原始 API 说明

Subtract one 2D face from another (2D boolean difference).

Parameters ---------- body : Face The face to subtract from. tool : Face The face to subtract (the cutter).

Returns ------- Face The resulting face after subtraction. The result may contain inner wires (holes) if the tool was fully inside the body.

参数

名称类型必需默认值源码说明
body'Face'-源码 Docstring 未单独说明。
tool'Face'-源码 Docstring 未单独说明。

返回值

类型: 'Face'

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

异常

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

行为与约束

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

导入检查

from cadflow import make_2d_cut_rface

相关内容