!2882 修复:双击板件界面槽加长、加宽、加深和刀半径表达式数值校验

pull/2881/MERGE
林三 3 months ago
parent f540be520e
commit 5df5f35074

@ -352,7 +352,7 @@ function CreateTemplateParam(template: TemplateRecord, size: Vector3, opt: Layer
AppendTemplateParam(template, "S", 0, opt.calcSpaceSize, "空间距离"); //板件空间距离
AppendTemplateParam(template, "R", 3, grooveOption?.exprKnifeRadius ?? "3", "刀半径"); //刀半径
AppendTemplateParam(template, "AL", 0, grooveOption?.exprGrooveAddLength ?? "3", "槽加长"); //槽加长
AppendTemplateParam(template, "AD", 0, grooveOption?.exprGrooveAddDepth ?? "3", "槽加深"); //槽加深
AppendTemplateParam(template, "AW", 0, grooveOption?.exprGrooveAddWidth ?? "3", "槽加宽"); //槽加宽
AppendTemplateParam(template, "AL", 0, grooveOption?.exprGrooveAddLength ?? "0", "槽加长"); //槽加长
AppendTemplateParam(template, "AD", 0, grooveOption?.exprGrooveAddDepth ?? "0", "槽加深"); //槽加深
AppendTemplateParam(template, "AW", 0, grooveOption?.exprGrooveAddWidth ?? "0", "槽加宽"); //槽加宽
}

@ -273,6 +273,9 @@ export namespace CheckoutValid
case "rotateX":
case "rotateY":
case "rotateZ":
case "grooveAddLength":
case "grooveAddDepth":
case "grooveAddWidth":
case "back":
{
let val = safeEval(v);

Loading…
Cancel
Save