01 / 概要
螺旋扫掠的作用与适用范围
沿螺旋轴生成实体;螺距、圈数与旋向共同定义螺旋形态,草图相对轴线的垂直距离决定螺旋半径。
02 / 基础结构
字段结构
HelicalSweepStep
├─ coordinate_system: CoordinateSystem
├─ sketch: Sketch
├─ constraints: Constraints
├─ axis: Axis3
├─ pitch: number
├─ turns: number
├─ handedness: "Right" | "Left"
└─ operation: "NewBody" | "Join" | "Cut" | "Intersect"字段类型说明
coordinate_system对象草图局部坐标系。
sketch非空对象必须能恢复为闭合轮廓的草图。
constraints对象当前草图的显式约束;无约束时写 {}。
axisAxis3[axis_point, axis_direction];方向向量必须非零。
pitch正有限数值旋转一圈沿轴向移动的距离。
turns正有限数值螺旋圈数。
handedness字符串旋向,只能为 Right 或 Left。
operation字符串NewBody、Join、Cut 或 Intersect。
03 / 样例数据
完整结构化 JSON 样例
{
"coordinate_system": {
"Euler Angles": [0.0, 0.0, 0.0],
"Translation Vector": [0.0, 0.0, 0.0]
},
"sketch": {
"circle_1": {"center": [5.0, 0.0], "radius": 1.5}
},
"constraints": {},
"axis": [[0.0, 0.0, 0.0], [0.0, 0.0, 1.0]],
"pitch": 5.0,
"turns": 10.0,
"handedness": "Right",
"operation": "NewBody"
}