移除代码修正圆弧和圆弧有交点时倒角错误的问题.

pull/198/MERGE
ChenX 6 years ago
parent 2c2bf1051b
commit 99e601f6c4

@ -112,8 +112,6 @@ export class FilletUtils
let fRadius = this.m_FilletRadius;
if (enRes1.Entity instanceof Arc && enRes2.Entity instanceof Arc)
return this.FilletArcAndArc(enRes1, enRes2);
let res: FilletRes = { cu1: splitedCu1.Curve, cu2: splitedCu2.Curve, arc: undefined };
@ -147,7 +145,9 @@ export class FilletUtils
if (!offCu1 || !offCu2)
return;
// //测试绘制
// JigUtils.Draw(new Line(iPt, iPt.clone().add(c1Derv.clone().multiplyScalar(10)))).ColorIndex = 1;
// JigUtils.Draw(new Line(iPt, iPt.clone().add(c2Derv.clone().multiplyScalar(10)))).ColorIndex = 2;
// JigUtils.Draw(new Line(iPt, iPt.clone().add(bisectorVec))).ColorIndex = 3;
// offCu1.ColorIndex = 6;
// offCu2.ColorIndex = 6;
// JigUtils.Draw(offCu1.Clone());

Loading…
Cancel
Save