开发:清理,文档

pull/2367/MERGE
ChenX 1 year ago
parent 30e8542822
commit 829759c1cd

File diff suppressed because one or more lines are too long

@ -327,7 +327,7 @@ export class OffsetPolyline
tp = SelectNearP(tPts, refP);
else //补圆弧 或者尝试连接
{
if (iPts.length > 0 && !this._ToolPath && this.IsSharpCorner(curveResNow, curveResNext, refP))//非加工刀路 并且尖角化
if (iPts.length > 0 && !this._ToolPath && this.IsSharpCorner(curveResNow, curveResNext))//非加工刀路 并且尖角化(谷)
{
//设置新的连接点,并且备份旧点
let oldp: Vector3;
@ -428,7 +428,15 @@ export class OffsetPolyline
}
}
private IsSharpCorner(curveResNow: IOffsetResult, curveResNext: IOffsetResult, refP: Vector3): boolean
/**
* 线
*
* 1.线,
* 2.,
* ,,,.
* , #I7WKKG
*/
private IsSharpCorner(curveResNow: IOffsetResult, curveResNext: IOffsetResult): boolean
{
let v1 = this._SubCurves[curveResNow.index].GetFistDeriv(1);
let v2 = this._SubCurves[curveResNext.index].GetFistDeriv(0);

Loading…
Cancel
Save