From 1c5e652819064908637e5c2c82db8bfc6a7d35c4 Mon Sep 17 00:00:00 2001 From: ChenX Date: Tue, 14 Nov 2023 16:24:04 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96:=E5=9C=A8=E6=8E=92=E9=92=BB?= =?UTF-8?q?=E5=A4=B1=E8=B4=A5=E6=97=B6(=E6=97=A0=E6=B3=95=E6=89=BE?= =?UTF-8?q?=E5=88=B0=E6=8E=92=E9=92=BB=E8=A7=84=E5=88=99)=E6=97=B6,?= =?UTF-8?q?=E6=8F=90=E7=A4=BA=E5=93=AA=E4=BA=9B=E6=9D=BF=E6=97=A0=E6=B3=95?= =?UTF-8?q?=E6=89=BE=E5=88=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Add-on/DrawDrilling/DrawDrillingTool.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Add-on/DrawDrilling/DrawDrillingTool.ts b/src/Add-on/DrawDrilling/DrawDrillingTool.ts index e003a38f4..5cfffc312 100644 --- a/src/Add-on/DrawDrilling/DrawDrillingTool.ts +++ b/src/Add-on/DrawDrilling/DrawDrillingTool.ts @@ -1095,7 +1095,7 @@ export class DrawDrillingTool extends Singleton let suitableOptions = this.GetRuleByFace(f); if (suitableOptions.length === 0) { - app.Editor.Prompt("长度" + f.Length + "没有合适的规则,或者当前配置不存在" + f.DrillType + "类型排钻", LogType.Error); + app.Editor.Prompt("长度" + f.Length + "没有合适的规则,或者当前配置不存在" + f.DrillType + "类型排钻", LogType.Error, [f.LocalBoard, f.InterBoard].filter(e => e)); return; } for (let suitableOption of suitableOptions) @@ -1121,7 +1121,7 @@ export class DrawDrillingTool extends Singleton { if (totalDist >= f.Length) { - Log("起始距离超过碰撞范围", LogType.Warning); + Log("起始距离超过碰撞范围", LogType.Warning, [f.LocalBoard, f.InterBoard].filter(e => e)); continue; } } @@ -1153,7 +1153,7 @@ export class DrawDrillingTool extends Singleton } if (this.drillEnts.length === 0 && this.woodPins.length === 0) { - Log("没排钻并且没木销", LogType.Error); + Log("没排钻并且没木销", LogType.Error, [f.LocalBoard, f.InterBoard].filter(e => e)); return; } //获得排钻移动距离表