走刀添加板厚参数
This commit is contained in:
		@@ -15219,13 +15219,13 @@ exports.Production = void 0;
 | 
			
		||||
    }
 | 
			
		||||
    Production.Get3DModeing = Get3DModeing;
 | 
			
		||||
    function GetChaiDanFeedingPath(data) {
 | 
			
		||||
        const { thickness, boardContour, dir, addLen, addWidth, addDepth, knifeRadius } = data;
 | 
			
		||||
        const { thickness, boardContour, dir, addLen, addWidth, addDepth, knifeRadius, brThickness } = data;
 | 
			
		||||
        let brContour = Data2Polyline(boardContour);
 | 
			
		||||
        const tool = FeedingToolPath.GetInstance();
 | 
			
		||||
        const outline = Contour.CreateContour(Data2Polyline(data.outline));
 | 
			
		||||
        const holes = data.holes.map(h => Contour.CreateContour(Data2Polyline(h)));
 | 
			
		||||
        let shape = new Shape(outline, holes);
 | 
			
		||||
        const paths = tool.GetModelFeedPath({ Thickness: thickness, ContourCurve: brContour }, {
 | 
			
		||||
        const paths = tool.GetModelFeedPath({ Thickness: brThickness, ContourCurve: brContour }, {
 | 
			
		||||
            shape,
 | 
			
		||||
            thickness,
 | 
			
		||||
            dir, knifeRadius, addLen, addWidth, addDepth
 | 
			
		||||
 
 | 
			
		||||
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							@@ -1049,7 +1049,7 @@ class UserConfig {
 | 
			
		||||
        this.Init();
 | 
			
		||||
    }
 | 
			
		||||
    Init() {
 | 
			
		||||
      
 | 
			
		||||
       
 | 
			
		||||
    }
 | 
			
		||||
    set RenderType(t) {
 | 
			
		||||
        if (t !== this._renderType) {
 | 
			
		||||
@@ -15214,13 +15214,13 @@ var Production;
 | 
			
		||||
    }
 | 
			
		||||
    Production.Get3DModeing = Get3DModeing;
 | 
			
		||||
    function GetChaiDanFeedingPath(data) {
 | 
			
		||||
        const { thickness, boardContour, dir, addLen, addWidth, addDepth, knifeRadius } = data;
 | 
			
		||||
        const { thickness, boardContour, dir, addLen, addWidth, addDepth, knifeRadius, brThickness } = data;
 | 
			
		||||
        let brContour = Data2Polyline(boardContour);
 | 
			
		||||
        const tool = FeedingToolPath.GetInstance();
 | 
			
		||||
        const outline = Contour.CreateContour(Data2Polyline(data.outline));
 | 
			
		||||
        const holes = data.holes.map(h => Contour.CreateContour(Data2Polyline(h)));
 | 
			
		||||
        let shape = new Shape(outline, holes);
 | 
			
		||||
        const paths = tool.GetModelFeedPath({ Thickness: thickness, ContourCurve: brContour }, {
 | 
			
		||||
        const paths = tool.GetModelFeedPath({ Thickness: brThickness, ContourCurve: brContour }, {
 | 
			
		||||
            shape,
 | 
			
		||||
            thickness,
 | 
			
		||||
            dir, knifeRadius, addLen, addWidth, addDepth
 | 
			
		||||
 
 | 
			
		||||
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							@@ -1 +1 @@
 | 
			
		||||
{"version":3,"file":"DXFLoad.d.ts","sourceRoot":"","sources":["../../../src/Add-on/DXFLoad.ts"],"names":[],"mappings":"AAmBA,qBAAa,iBAAiB;IAEpB,IAAI;IAuHV,OAAO,CAAC,cAAc;IA4CtB,OAAO,CAAC,aAAa;CAaxB"}
 | 
			
		||||
{"version":3,"file":"DXFLoad.d.ts","sourceRoot":"","sources":["../../../src/Add-on/DXFLoad.ts"],"names":[],"mappings":"AAoBA,qBAAa,iBAAiB;IAEpB,IAAI;IAuHV,OAAO,CAAC,cAAc;IA4CtB,OAAO,CAAC,aAAa;CAaxB"}
 | 
			
		||||
							
								
								
									
										1
									
								
								types/Production/Product.d.ts
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								types/Production/Product.d.ts
									
									
									
									
										vendored
									
									
								
							@@ -121,6 +121,7 @@ export interface IOriginModelingData {
 | 
			
		||||
}
 | 
			
		||||
interface IChaiDanFeedingData extends IOriginModelingData {
 | 
			
		||||
    boardContour: IContourData;
 | 
			
		||||
    brThickness: number;
 | 
			
		||||
}
 | 
			
		||||
export declare namespace Production {
 | 
			
		||||
    /**获取板件拆单数据 */
 | 
			
		||||
 
 | 
			
		||||
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							
		Reference in New Issue
	
	Block a user