!2689 修复:存在角度的弧形板孔位信息错误问题

pull/2678/MERGE
林三 6 months ago
parent f65dab522e
commit 8f90bdbb79

@ -508,6 +508,10 @@ export namespace Production
let ContourCurve = br.Shape.Outline.Curve.Clone().ApplyMatrix(ArcBoardBuild.OCS2RotateMtx) as Polyline;
let brBoxSize = ContourCurve.BoundingBox.getSize(new Vector3);
let currentLength = 0;
if (br.SweepAngle)
offsetTanslation = offsetTanslation.clone().applyMatrix4(ArcBoardBuild.OCS2RotateMtx.clone().setPosition(0, 0, 0));
for (let cu of cus)
{
if (currentLength > brBoxSize.x) break;

Loading…
Cancel
Save