!3070 修复:优化其中一边是木梢判断通孔时类型被修改问题

pull/3069/MERGE
黄诗津 4 weeks ago
parent 59714923fc
commit 2b2d1f8045

@ -1293,8 +1293,8 @@ export class DrawDrillingTool extends Singleton
&& isParallelTo(p2, ZAxis, 0.01)
&& isIntersect(0, en.Height, Math.min(p2.z, p2End.z), Math.max(p2.z, p2End.z), 1e-2))
{
//判断通孔 木梢不修改Type和半径
if (en.Type !== GangDrillType.Wood)
//判断通孔 木梢不修改Type和半径(两边都不是木销)
if (en.Type !== GangDrillType.Wood && refEn.Type !== GangDrillType.Wood)
{
//预埋件类型改为通孔
//除了偏移并且不是偏移0的情况均为通孔类型

Loading…
Cancel
Save