功能:矩形槽走刀支持刀路冗余
This commit is contained in:
6
types/GraphicsSystem/OffsetPolyline.d.ts
vendored
6
types/GraphicsSystem/OffsetPolyline.d.ts
vendored
@@ -35,7 +35,7 @@ export declare class OffsetPolyline {
|
||||
_OffsetDist: number;
|
||||
_ToolPath: boolean;
|
||||
private _OffsetDistSq;
|
||||
private JoinType;
|
||||
private _JoinType;
|
||||
_CacheOCS: Matrix4;
|
||||
_Vertexs: Vector3[];
|
||||
_SubCurves: Curve[];
|
||||
@@ -56,10 +56,10 @@ export declare class OffsetPolyline {
|
||||
* @param _OffsetDist
|
||||
* @param [_ToolPath=false] 走刀模式(在这个模式下,我们会进行圆弧过渡(或者直线过渡)避免尖角过大)
|
||||
* @param [_OffsetDistSq=(_OffsetDist ** 2) * 2.1] 允许的最大尖角长度 默认值差不多是矩形的尖角大一点
|
||||
* @param [JoinType=PolylineJoinType.Round] 尖角的处理方式,默认是圆弧过渡,可以切换成直线过渡
|
||||
* @param [_JoinType=PolylineJoinType.Round] 尖角的处理方式,默认是圆弧过渡,可以切换成直线过渡
|
||||
*/
|
||||
constructor(_Polyline: Polyline, _OffsetDist: number, _ToolPath?: boolean, _OffsetDistSq?: number, //对直角走刀不进行圆弧过度
|
||||
JoinType?: PolylineJoinType);
|
||||
_JoinType?: PolylineJoinType);
|
||||
Do(): Polyline[];
|
||||
InitSubCurves(): this;
|
||||
protected GeneralCirclesAndVertexs(): void;
|
||||
|
Reference in New Issue
Block a user