|
|
|
@ -471,6 +471,10 @@ export class BoardFindModify implements Command
|
|
|
|
|
{
|
|
|
|
|
if (isChangeHole)
|
|
|
|
|
SetRectHighDrill(br, drillOption);
|
|
|
|
|
|
|
|
|
|
//避免板件变0长度后,不能还原成正常的板
|
|
|
|
|
if (br.ContourCurve.EndParam < 4)
|
|
|
|
|
br.ConverToRectSolid();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
br.AutoUpdate = oldAutoUpdate;
|
|
|
|
@ -557,7 +561,7 @@ export class BoardFindModify implements Command
|
|
|
|
|
}
|
|
|
|
|
if (removeType === EFindType.RemoveModelingAndSpecial || removeType === EFindType.RemoveSpecialShape)
|
|
|
|
|
{
|
|
|
|
|
if (br.IsSpecialShape)
|
|
|
|
|
if (br.IsSpecialShape || br.ContourCurve.EndParam < 4)//0长度的板会造成是矩形,但是终点参数小于4的问题
|
|
|
|
|
br.ConverToRectSolid();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|