make_threaded_rod_rsolid
类型: 函数
领域: 建模与几何
推荐导入: from cadflow import make_threaded_rod_rsolid
签名
def make_threaded_rod_rsolid(thread_diameter=8.0, thread_length=20.0, total_length=30.0, thread_pitch=1.25, thread_start_position=0.0, chamfer_size=0.5) -> cadflow._engine.geometry.core.Solid
功能说明
make_threaded_rod_rsolid 是 CadFlow 建模与几何领域的公共函数。
原始 API 说明
Create a threaded rod with configurable rod length, thread span, and pitch. The top center is placed at the origin and the rod extends in -Z.
参数
| 名称 | 类型 | 必需 | 默认值 | 源码说明 |
|---|---|---|---|---|
thread_diameter | Any | 否 | 8.0 | 源码 Docstring 未单独说明。 |
thread_length | Any | 否 | 20.0 | 源码 Docstring 未单独说明。 |
total_length | Any | 否 | 30.0 | 源码 Docstring 未单独说明。 |
thread_pitch | Any | 否 | 1.25 | 源码 Docstring 未单独说明。 |
thread_start_position | Any | 否 | 0.0 | 源码 Docstring 未单独说明。 |
chamfer_size | Any | 否 | 0.5 | 源码 Docstring 未单独说明。 |
返回值
类型: cadflow._engine.geometry.core.Solid
源码 Docstring 未声明更多返回语义。
异常
源码 Docstring 未声明更窄的异常契约。类型、数值、所有权、路径或后端状态无效时,仍可能抛出相应公共异常。
行为与约束
- 该操作会读取外部数据,并可能拒绝缺失、格式错误或不受支持的输入。
导入检查
from cadflow import make_threaded_rod_rsolid