01 / 概要
倒角的作用与适用范围
通过当前 B-Rep 上的邻近参考点恢复目标边,再结合可选定向、距离和角度执行倒角。
02 / 基础结构
字段结构
ChamferStep
├─ near_points: point3[]
├─ plane?: vector3
├─ dist: number
├─ angle?: number
└─ operation: "Chamfer"字段类型说明
near_points有限三维点数组定位待倒角的边;每个点应能唯一定位预期边界。
plane可选有限三维数组可选倒角定向参数。
dist正有限数值倒角距离,单位为毫米。
angle可选有限数值倒角角度,单位为度。
operation字符串固定为 Chamfer。
03 / 样例数据
完整结构化 JSON 样例
{
"near_points": [[0.0, 10.0, 10.0]],
"plane": [1.0, 0.0, 0.0],
"dist": 1.5,
"angle": 30.0,
"operation": "Chamfer"
}