1.0.11 • Published 9 months ago
tuo-toolpath-evaluator v1.0.11
刀路估价计算库
createToolPath 执行开粗刀路的评估计算
function createToolPath(
geometry: BufferGeometry, //将要评估的几何体
direction: 'px'|'nx'|'py'|'ny'|'pz'|'nz', //加工方向
startDepth: number, //起始高度
endDepth: number, //终点高度
layerHeight: number, //层厚
toolDiameter: number, //刀径
cutRatio: number, //平面切削比例
toolRadius: number, //刀头半径
wallTol: number, //切削边余量
bottomTol: number, //底部余量
mask: Object3D | undefined //切削面罩
)