|
|
|
@ -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;
|
|
|
|
|
}
|
|
|
|
|
//获得排钻移动距离表
|
|
|
|
|