diff --git a/src/processors/modelProcessPoints/modelProcessPoints.test.ts b/src/processors/modelProcessPoints/modelProcessPoints.test.ts index 1c57465..eaa5a5f 100644 --- a/src/processors/modelProcessPoints/modelProcessPoints.test.ts +++ b/src/processors/modelProcessPoints/modelProcessPoints.test.ts @@ -51,7 +51,7 @@ test('modelProcessPointsTest1', async () => { block: blockInput, targetPosition: block.placeStyle } - let context:ProcessorContext = { + let context: ProcessorContext = { input: input, params: conf, output: {} @@ -59,14 +59,74 @@ test('modelProcessPointsTest1', async () => { const proc = new ModelProcessPointsProc() await proc.exec(context) - console.log(`执行结束:${block.blockNo}`, - [context.input.block.models[0]?.pts[0].x,context.input.block.models[0]?.pts[0].y], - [context.output.block.models[0]?.pts[0].x,context.output.block.models[0]?.pts[0].y] - + console.log(`执行结束:${block.blockNo}`, + [context.input.block, context.input.block], + [context.output.block, context.output] ) + + // console.log(`执行结束:${block.blockNo}`, + // [context.input.block.models[0]?.pts[0].x,context.input.block.models[0]?.pts[0].y], + // [context.output.block.models[0]?.pts[0].x,context.output.block.models[0]?.pts[0].y] + // ) }) }) +test('test2', async () => { + let block = testBlock1 + let offsetInfo: OffsetInfo = { + left: block.orgSizeExpand.left, + right: block.orgSizeExpand.right, + top: block.orgSizeExpand.top, + bottom: block.orgSizeExpand.bottom + } + let models: ModelProcessItem[] = []; + + block.blockDetail.models.forEach(m => { + let temp: ModelProcessItem = { + id: `${block.blockNo}-${m.modelId}`, + pts: m.pointList.map(p => { + return { + x: p.pointX, + y: p.pointY + } + }), + buls: m.pointList.map(p => p.curve), + face: m.face + } + + models.push(temp) + }) + let blockInput: ModelProcessPointsInputBlock = { + id: block.blockNo, + x: block.placeX, + y: block.placeY, + length: block.length, + width: block.width, + models: models, + positionType: PositionType.FRONT, // 这里刚优化完 里面的加工坐标没转换 都是 基于 正面的数据 所以 设为正面 实际情况 这里 根据需求传入 + offsetInfo, + } + let input: ModelProcessPointsInput = { + block: blockInput, + targetPosition: block.placeStyle + } + let conf: ModelProcessPointsProcConfig = { + name: '', + version: '', + load: () => { }, + toJson: () => '' + } + let context: ProcessorContext = { + input: input, + params: conf, + output: {} + } + + const proc = new ModelProcessPointsProc() + await proc.exec(context) + console.log(context) +}); + /** 测试数据 矩形板 */ const data = { "sourceId": 0, @@ -51856,4 +51916,4782 @@ const data1 = { "isCreateRemainSpace": true, "hasModelOnLeft": false, "hasModelOnRight": false -} \ No newline at end of file +} + +/** 测试数据 小板 */ +const testBlock = { + "blockDetail": { + "organId": 0, + "blockId": "1920401452405096448", + "pointDetail": [], + "modelDetail": [], + "holeDetail": [], + "offsetX": 1, + "offsetY": 1, + "cutWidth": 398, + "cutLength": 598, + "points": [], + "orgPoints": [], + "orgContourData": { + "pts": [ + { + "x": 0, + "y": 0 + }, + { + "x": 398, + "y": 0 + }, + { + "x": 398, + "y": 598 + }, + { + "x": 0, + "y": 598 + } + ], + "buls": [ + 0, + 0, + 0, + 0 + ] + }, + "holes": [], + "holeListFaceA": [], + "holeListFaceB": [], + "holeListThrough": [], + "holeListSide": [], + "models": [ + { + "orderId": "", + "blockId": 0, + "modelId": 1, + "lineId": 1, + "face": 0, + "knifeName": "", + "knifeRadius": 3, + "depth": 10, + "canSpace": false, + "isRect": false, + "isTilt": false, + "type": "", + "knife": null, + "modelWidth": 0, + "modelLength": 0, + "modelStartPoint": null, + "modelEndPoint": null, + "originModeling": { + "knifeRadius": 3, + "thickness": 10, + "dir": 0, + "outline": [ + { + "pts": { + "x": 338.9999999999982, + "y": 532.0000000000009, + "z": 0 + }, + "buls": 0, + "radius": null + }, + { + "pts": { + "x": 288.9999999999991, + "y": 532.0000000000009, + "z": 0 + }, + "buls": 0.41421356237309503, + "radius": null + }, + { + "pts": { + "x": 195.9999999999991, + "y": 439.0000000000009, + "z": 0 + }, + "buls": 0, + "radius": null + }, + { + "pts": { + "x": 195.9999999999991, + "y": 159, + "z": 0 + }, + "buls": -0.41421356237309503, + "radius": null + }, + { + "pts": { + "x": 108.99999999999909, + "y": 72, + "z": 0 + }, + "buls": 0, + "radius": null + }, + { + "pts": { + "x": 58.99999999999909, + "y": 72, + "z": 0 + }, + "buls": 0, + "radius": null + }, + { + "pts": { + "x": 58.99999999999909, + "y": 66, + "z": 0 + }, + "buls": 0, + "radius": null + }, + { + "pts": { + "x": 108.99999999999909, + "y": 66, + "z": 0 + }, + "buls": 0.4142135623730951, + "radius": null + }, + { + "pts": { + "x": 201.9999999999991, + "y": 159, + "z": 0 + }, + "buls": 0, + "radius": null + }, + { + "pts": { + "x": 201.99999999999818, + "y": 439.0000000000009, + "z": 0 + }, + "buls": -0.41421356237309503, + "radius": null + }, + { + "pts": { + "x": 288.9999999999982, + "y": 526.0000000000009, + "z": 0 + }, + "buls": 0, + "radius": null + }, + { + "pts": { + "x": 338.9999999999982, + "y": 526.0000000000009, + "z": 0 + }, + "buls": 0, + "radius": null + }, + { + "pts": { + "x": 338.9999999999982, + "y": 532.0000000000009, + "z": 0 + }, + "buls": 0, + "radius": null + } + ], + "holes": [], + "addLen": 0, + "addWidth": 0, + "addDepth": 0, + "brThickness": 18, + "boardContour": { + "pts": [ + { + "x": 0, + "y": 0 + }, + { + "x": 398, + "y": 0 + }, + { + "x": 398, + "y": 598 + }, + { + "x": 0, + "y": 598 + } + ], + "buls": [ + 0, + 0, + 0, + 0 + ] + } + }, + "pointList": [ + { + "pointX": 336, + "pointY": 529, + "radius": null, + "depth": null, + "curve": 0 + }, + { + "pointX": 289, + "pointY": 529, + "radius": null, + "depth": null, + "curve": 0.41421356237309503 + }, + { + "pointX": 199, + "pointY": 439, + "radius": null, + "depth": null, + "curve": 0 + }, + { + "pointX": 199, + "pointY": 159, + "radius": null, + "depth": null, + "curve": -0.41421356237309503 + }, + { + "pointX": 109, + "pointY": 69, + "radius": null, + "depth": null, + "curve": 0 + }, + { + "pointX": 62, + "pointY": 69, + "radius": null, + "depth": null, + "curve": 0 + } + ], + "realKnifeRadius": 3, + "realPointList": [ + { + "pointX": 336, + "pointY": 529, + "radius": 0, + "depth": 10, + "curve": 0 + }, + { + "pointX": 289, + "pointY": 529, + "radius": 90, + "depth": 10, + "curve": 0.41421356237309503 + }, + { + "pointX": 199, + "pointY": 439, + "radius": 0, + "depth": 10, + "curve": 0 + }, + { + "pointX": 199, + "pointY": 159, + "radius": 90, + "depth": 10, + "curve": -0.41421356237309503 + }, + { + "pointX": 109, + "pointY": 69, + "radius": 0, + "depth": 10, + "curve": 0 + }, + { + "pointX": 62, + "pointY": 69, + "radius": 0, + "depth": 10, + "curve": 0 + } + ], + "realKnifeId": 1, + "isCncCanNotProcess": true, + "cncCanNotProcessType": "", + "isCutting": true, + "offsetList": [], + "VLines": [], + "offsetInfo": "" + } + ], + "modelListFaceA": [ + { + "orderId": "", + "blockId": 0, + "modelId": 1, + "lineId": 1, + "face": 0, + "knifeName": "", + "knifeRadius": 3, + "depth": 10, + "canSpace": false, + "isRect": false, + "isTilt": false, + "type": "", + "knife": null, + "modelWidth": 0, + "modelLength": 0, + "modelStartPoint": null, + "modelEndPoint": null, + "originModeling": { + "knifeRadius": 3, + "thickness": 10, + "dir": 0, + "outline": [ + { + "pts": { + "x": 338.9999999999982, + "y": 532.0000000000009, + "z": 0 + }, + "buls": 0, + "radius": null + }, + { + "pts": { + "x": 288.9999999999991, + "y": 532.0000000000009, + "z": 0 + }, + "buls": 0.41421356237309503, + "radius": null + }, + { + "pts": { + "x": 195.9999999999991, + "y": 439.0000000000009, + "z": 0 + }, + "buls": 0, + "radius": null + }, + { + "pts": { + "x": 195.9999999999991, + "y": 159, + "z": 0 + }, + "buls": -0.41421356237309503, + "radius": null + }, + { + "pts": { + "x": 108.99999999999909, + "y": 72, + "z": 0 + }, + "buls": 0, + "radius": null + }, + { + "pts": { + "x": 58.99999999999909, + "y": 72, + "z": 0 + }, + "buls": 0, + "radius": null + }, + { + "pts": { + "x": 58.99999999999909, + "y": 66, + "z": 0 + }, + "buls": 0, + "radius": null + }, + { + "pts": { + "x": 108.99999999999909, + "y": 66, + "z": 0 + }, + "buls": 0.4142135623730951, + "radius": null + }, + { + "pts": { + "x": 201.9999999999991, + "y": 159, + "z": 0 + }, + "buls": 0, + "radius": null + }, + { + "pts": { + "x": 201.99999999999818, + "y": 439.0000000000009, + "z": 0 + }, + "buls": -0.41421356237309503, + "radius": null + }, + { + "pts": { + "x": 288.9999999999982, + "y": 526.0000000000009, + "z": 0 + }, + "buls": 0, + "radius": null + }, + { + "pts": { + "x": 338.9999999999982, + "y": 526.0000000000009, + "z": 0 + }, + "buls": 0, + "radius": null + }, + { + "pts": { + "x": 338.9999999999982, + "y": 532.0000000000009, + "z": 0 + }, + "buls": 0, + "radius": null + } + ], + "holes": [], + "addLen": 0, + "addWidth": 0, + "addDepth": 0, + "brThickness": 18, + "boardContour": { + "pts": [ + { + "x": 0, + "y": 0 + }, + { + "x": 398, + "y": 0 + }, + { + "x": 398, + "y": 598 + }, + { + "x": 0, + "y": 598 + } + ], + "buls": [ + 0, + 0, + 0, + 0 + ] + } + }, + "pointList": [ + { + "pointX": 336, + "pointY": 529, + "radius": null, + "depth": null, + "curve": 0 + }, + { + "pointX": 289, + "pointY": 529, + "radius": null, + "depth": null, + "curve": 0.41421356237309503 + }, + { + "pointX": 199, + "pointY": 439, + "radius": null, + "depth": null, + "curve": 0 + }, + { + "pointX": 199, + "pointY": 159, + "radius": null, + "depth": null, + "curve": -0.41421356237309503 + }, + { + "pointX": 109, + "pointY": 69, + "radius": null, + "depth": null, + "curve": 0 + }, + { + "pointX": 62, + "pointY": 69, + "radius": null, + "depth": null, + "curve": 0 + } + ], + "realKnifeRadius": 3, + "realPointList": [ + { + "pointX": 336, + "pointY": 529, + "radius": 0, + "depth": 10, + "curve": 0 + }, + { + "pointX": 289, + "pointY": 529, + "radius": 90, + "depth": 10, + "curve": 0.41421356237309503 + }, + { + "pointX": 199, + "pointY": 439, + "radius": 0, + "depth": 10, + "curve": 0 + }, + { + "pointX": 199, + "pointY": 159, + "radius": 90, + "depth": 10, + "curve": -0.41421356237309503 + }, + { + "pointX": 109, + "pointY": 69, + "radius": 0, + "depth": 10, + "curve": 0 + }, + { + "pointX": 62, + "pointY": 69, + "radius": 0, + "depth": 10, + "curve": 0 + } + ], + "realKnifeId": 1, + "isCncCanNotProcess": true, + "cncCanNotProcessType": "", + "isCutting": true, + "offsetList": [], + "VLines": [], + "offsetInfo": "" + } + ], + "modelListFaceB": [], + "modelListThrough": [], + "modelListSide": [], + "thickness": 18, + "isUnRegular": false, + "bigHoleInFaceA": false, + "holeCountFront": 0, + "holeCountBack": 0, + "holeCountThrough": 0, + "holeCountSide": 0, + "holeCountLeft": 0, + "holeCountRight": 0, + "holeCountTop": 0, + "holeCountBottom": 0, + "holeCountBevelled": 0, + "modelCountFront": 1, + "modelCountBack": 0, + "modelCountThrough": 0, + "hasModelThrogh": false, + "isTwoFaceProcess": false, + "placeStyleFront": 0, + "placeStyleFrontReverse": 1, + "placeStyleBack": 4, + "placeStyleBackReverse": 7, + "labelPosX": -1, + "labelPosY": -1, + "isInited": false, + "isChecked": false, + "isOffsetRounding": false, + "offsetKnifeRadius": 3, + "isUseSameKnifeToHelpCut": false, + "useSameKnifeToHelpCutGap": 0, + "preMillingExpandSize": { + "left": 0, + "right": 0, + "top": 0, + "bottom": 0, + "width": 0, + "length": 0 + }, + "modelExpandSize": { + "left": 0, + "right": 0, + "top": 0, + "bottom": 0, + "width": 0, + "length": 0 + }, + "vKnifeModelExpandSize": { + "left": 0, + "right": 0, + "top": 0, + "bottom": 0, + "width": 0, + "length": 0 + }, + "sameKnifeHelpExpandSize": { + "left": 0, + "right": 0, + "top": 0, + "bottom": 0, + "width": 0, + "length": 0 + }, + "currentSizeExpand": { + "left": 3.005, + "right": 3.005, + "top": 3.005, + "bottom": 3.005, + "width": 6.01, + "length": 6.01 + }, + "borderContour": { + "placeStyle": 0, + "borderFinal": [ + { + "m_StartPoint": { + "m_X": 0, + "m_Y": 0 + }, + "m_EndPoint": { + "m_X": 400, + "m_Y": 0 + }, + "tagData": 1, + "m_Length": 400 + }, + { + "m_StartPoint": { + "m_X": 400, + "m_Y": 0 + }, + "m_EndPoint": { + "m_X": 400, + "m_Y": 600 + }, + "tagData": 1, + "m_Length": 600 + }, + { + "m_StartPoint": { + "m_X": 400, + "m_Y": 600 + }, + "m_EndPoint": { + "m_X": 0, + "m_Y": 600 + }, + "tagData": 1, + "m_Length": 400 + }, + { + "m_StartPoint": { + "m_X": 0, + "m_Y": 600 + }, + "m_EndPoint": { + "m_X": 0, + "m_Y": 0 + }, + "tagData": 1, + "m_Length": 600 + } + ], + "borderOrg": [ + { + "m_StartPoint": { + "m_X": 0, + "m_Y": 0 + }, + "m_EndPoint": { + "m_X": 398, + "m_Y": 0 + }, + "m_Length": 398 + }, + { + "m_StartPoint": { + "m_X": 398, + "m_Y": 0 + }, + "m_EndPoint": { + "m_X": 398, + "m_Y": 598 + }, + "m_Length": 598 + }, + { + "m_StartPoint": { + "m_X": 398, + "m_Y": 598 + }, + "m_EndPoint": { + "m_X": 0, + "m_Y": 598 + }, + "m_Length": 398 + }, + { + "m_StartPoint": { + "m_X": 0, + "m_Y": 598 + }, + "m_EndPoint": { + "m_X": 0, + "m_Y": 0 + }, + "m_Length": 598 + } + ], + "borderPreMilling": [ + { + "m_StartPoint": { + "m_X": 0, + "m_Y": 0 + }, + "m_EndPoint": { + "m_X": 398, + "m_Y": 0 + }, + "m_Length": 398 + }, + { + "m_StartPoint": { + "m_X": 398, + "m_Y": 0 + }, + "m_EndPoint": { + "m_X": 398, + "m_Y": 598 + }, + "m_Length": 598 + }, + { + "m_StartPoint": { + "m_X": 398, + "m_Y": 598 + }, + "m_EndPoint": { + "m_X": 0, + "m_Y": 598 + }, + "m_Length": 398 + }, + { + "m_StartPoint": { + "m_X": 0, + "m_Y": 598 + }, + "m_EndPoint": { + "m_X": 0, + "m_Y": 0 + }, + "m_Length": 598 + } + ], + "polylineOrg": { + "_isErase": false, + "IsEmbedEntity": false, + "OnlyRenderType": true, + "HasEdgeRenderType": false, + "HasPlaceFaceRenderType": false, + "HasBigHoleFaceRenderType": false, + "_CacheDrawObject": {}, + "_Color": 7, + "_Matrix": { + "elements": [ + 1, + 0, + 0, + 0, + 0, + 1, + 0, + 0, + 0, + 0, + 1, + 0, + 0, + 0, + 0, + 1 + ] + }, + "_SpaceOCS": { + "elements": [ + 1, + 0, + 0, + 0, + 0, + 1, + 0, + 0, + 0, + 0, + 1, + 0, + 0, + 0, + 0, + 1 + ] + }, + "_Visible": true, + "_VisibleInRender": true, + "_Freeze": false, + "_LockMaterial": false, + "__ProcessingGroupList": [], + "NeedUpdateFlag": 0, + "AutoUpdate": true, + "__UpdateVersion__": 1, + "_RoomName": "", + "_CabinetName": "", + "_LineData": [ + { + "pt": { + "x": 0, + "y": 0 + }, + "bul": 0 + }, + { + "pt": { + "x": 398, + "y": 0 + }, + "bul": 0 + }, + { + "pt": { + "x": 398, + "y": 598 + }, + "bul": 0 + }, + { + "pt": { + "x": 0, + "y": 598 + }, + "bul": 0 + } + ], + "_DisplayAccuracy": 0, + "_ClosedMark": true + }, + "border": [ + { + "m_StartPoint": { + "m_X": 0, + "m_Y": 0 + }, + "m_EndPoint": { + "m_X": 398, + "m_Y": 0 + }, + "m_Length": 398 + }, + { + "m_StartPoint": { + "m_X": 398, + "m_Y": 0 + }, + "m_EndPoint": { + "m_X": 398, + "m_Y": 598 + }, + "m_Length": 598 + }, + { + "m_StartPoint": { + "m_X": 398, + "m_Y": 598 + }, + "m_EndPoint": { + "m_X": 0, + "m_Y": 598 + }, + "m_Length": 398 + }, + { + "m_StartPoint": { + "m_X": 0, + "m_Y": 598 + }, + "m_EndPoint": { + "m_X": 0, + "m_Y": 0 + }, + "m_Length": 598 + } + ], + "borderSameKnifeHelpCut": null, + "cutLines": null, + "cutLinesSameKnifeHelpCut": null, + "borderMoving": null, + "borderModelThrough": [], + "borderModelThroughR": [], + "cutLinesModelThrough": [], + "borderInnerPlace": [], + "blockInnerSpace": [], + "blockOuterSpace": null, + "polylines2vModel": [], + "polylinesOutModel": [], + "placeContours": [] + }, + "remarkParams": {} + }, + "orderId": "1920401449485860864", + "goodsId": "SP202001031", + "roomId": 0, + "bodyId": 0, + "blockId": "1920401452405096448", + "oldBlockId": "1920401452405096448", + "blockNo": "250564995605", + "customPlateNo": "F002-R001-C001-P040", + "labelNo": "", + "blockName": "板(路径槽10)", + "plateRemark": "", + "remark1": "", + "remark2": "", + "remark3": "", + "remark4": "", + "remark5": "", + "extraRemark": {}, + "width": 400, + "length": 600, + "thickness": 18, + "area": 0.24, + "sealLeft": 1, + "sealRight": 1, + "sealTop": 1, + "sealBottom": 1, + "cutWidth": 398, + "cutLength": 598, + "cutArea": 0.238004, + "isAdditionalBlock": false, + "isRemainBlock": false, + "texture": 0, + "placeHole": 2, + "isUnRegular": false, + "isTurnFaceToPlace": true, + "isTwoFaceToPlace": false, + "isCurvedGroundLine": false, + "isPlaced": true, + "fullBoardId": 0, + "boardId": 3, + "placeId": 8, + "placeX": 407.015, + "placeY": 1211.025, + "placeStyle": 4, + "cutRegion": 0, + "cutOrder": 0, + "cutPointId": 0, + "placeWidth": 398, + "placeLength": 598, + "placeSealLeft": 1, + "placeSealRight": 1, + "placeSealTop": 1, + "placeSealBottom": 1, + "orgSizeExpand": { + "left": 0, + "right": 0, + "top": 0, + "bottom": 0, + "width": 0, + "length": 0 + }, + "placeOffX": 3.005, + "placeOffY": 3.005, + "isAutoPlaced": true, + "isOutBoard": false, + "isOverlap": false, + "placeDirection": "→", + "placeDirection_Length": "→", + "isDrilling": true, + "isModeling": true, + "overBlockFlag": 0, + "isCutOtherFace": false, + "isCutTurnOver": false, + "holeListFaceA": [], + "holeListFaceB": [], + "modelListFaceA": [], + "modelListFaceB": [ + { + "orderId": "", + "blockId": 0, + "modelId": 1, + "lineId": 1, + "face": 0, + "knifeName": "", + "knifeRadius": 3, + "depth": 10, + "canSpace": false, + "isRect": false, + "isTilt": false, + "type": "", + "knife": null, + "modelWidth": 0, + "modelLength": 0, + "modelStartPoint": null, + "modelEndPoint": null, + "originModeling": { + "knifeRadius": 3, + "thickness": 10, + "dir": 0, + "outline": [ + { + "pts": { + "x": 338.9999999999982, + "y": 532.0000000000009, + "z": 0 + }, + "buls": 0, + "radius": null + }, + { + "pts": { + "x": 288.9999999999991, + "y": 532.0000000000009, + "z": 0 + }, + "buls": 0.41421356237309503, + "radius": null + }, + { + "pts": { + "x": 195.9999999999991, + "y": 439.0000000000009, + "z": 0 + }, + "buls": 0, + "radius": null + }, + { + "pts": { + "x": 195.9999999999991, + "y": 159, + "z": 0 + }, + "buls": -0.41421356237309503, + "radius": null + }, + { + "pts": { + "x": 108.99999999999909, + "y": 72, + "z": 0 + }, + "buls": 0, + "radius": null + }, + { + "pts": { + "x": 58.99999999999909, + "y": 72, + "z": 0 + }, + "buls": 0, + "radius": null + }, + { + "pts": { + "x": 58.99999999999909, + "y": 66, + "z": 0 + }, + "buls": 0, + "radius": null + }, + { + "pts": { + "x": 108.99999999999909, + "y": 66, + "z": 0 + }, + "buls": 0.4142135623730951, + "radius": null + }, + { + "pts": { + "x": 201.9999999999991, + "y": 159, + "z": 0 + }, + "buls": 0, + "radius": null + }, + { + "pts": { + "x": 201.99999999999818, + "y": 439.0000000000009, + "z": 0 + }, + "buls": -0.41421356237309503, + "radius": null + }, + { + "pts": { + "x": 288.9999999999982, + "y": 526.0000000000009, + "z": 0 + }, + "buls": 0, + "radius": null + }, + { + "pts": { + "x": 338.9999999999982, + "y": 526.0000000000009, + "z": 0 + }, + "buls": 0, + "radius": null + }, + { + "pts": { + "x": 338.9999999999982, + "y": 532.0000000000009, + "z": 0 + }, + "buls": 0, + "radius": null + } + ], + "holes": [], + "addLen": 0, + "addWidth": 0, + "addDepth": 0, + "brThickness": 18, + "boardContour": { + "pts": [ + { + "x": 0, + "y": 0 + }, + { + "x": 398, + "y": 0 + }, + { + "x": 398, + "y": 598 + }, + { + "x": 0, + "y": 598 + } + ], + "buls": [ + 0, + 0, + 0, + 0 + ] + } + }, + "pointList": [ + { + "pointX": 336, + "pointY": 529, + "radius": null, + "depth": null, + "curve": 0 + }, + { + "pointX": 289, + "pointY": 529, + "radius": null, + "depth": null, + "curve": 0.41421356237309503 + }, + { + "pointX": 199, + "pointY": 439, + "radius": null, + "depth": null, + "curve": 0 + }, + { + "pointX": 199, + "pointY": 159, + "radius": null, + "depth": null, + "curve": -0.41421356237309503 + }, + { + "pointX": 109, + "pointY": 69, + "radius": null, + "depth": null, + "curve": 0 + }, + { + "pointX": 62, + "pointY": 69, + "radius": null, + "depth": null, + "curve": 0 + } + ], + "realKnifeRadius": 3, + "realPointList": [ + { + "pointX": 336, + "pointY": 529, + "radius": 0, + "depth": 10, + "curve": 0 + }, + { + "pointX": 289, + "pointY": 529, + "radius": 90, + "depth": 10, + "curve": 0.41421356237309503 + }, + { + "pointX": 199, + "pointY": 439, + "radius": 0, + "depth": 10, + "curve": 0 + }, + { + "pointX": 199, + "pointY": 159, + "radius": 90, + "depth": 10, + "curve": -0.41421356237309503 + }, + { + "pointX": 109, + "pointY": 69, + "radius": 0, + "depth": 10, + "curve": 0 + }, + { + "pointX": 62, + "pointY": 69, + "radius": 0, + "depth": 10, + "curve": 0 + } + ], + "realKnifeId": 1, + "isCncCanNotProcess": true, + "cncCanNotProcessType": "", + "isCutting": true, + "offsetList": [], + "VLines": [], + "offsetInfo": "" + } + ], + "labelPosX": 399, + "labelPosY": -1, + "isCncLabelA": false, + "isCncLabelB": false, + "isCncLabelTurnOver": false, + "type": 2, + "openDoorType": 0, + "_blockId": "1920401452405096448" +} +/** 测试数据 小板 */ +const testBlock1 = { + "blockDetail": { + "organId": 0, + "blockId": "1920401452463816704", + "pointDetail": [], + "modelDetail": [], + "holeDetail": [], + "offsetX": 1, + "offsetY": 1, + "cutWidth": 398, + "cutLength": 598, + "points": [], + "orgPoints": [], + "orgContourData": { + "pts": [ + { + "x": 0, + "y": 0 + }, + { + "x": 398, + "y": 0 + }, + { + "x": 398, + "y": 598 + }, + { + "x": 0, + "y": 598 + } + ], + "buls": [ + 0, + 0, + 0, + 0 + ] + }, + "holes": [], + "holeListFaceA": [], + "holeListFaceB": [], + "holeListThrough": [], + "holeListSide": [], + "models": [ + { + "orderId": "", + "blockId": 0, + "modelId": 1, + "lineId": 1, + "face": 0, + "knifeName": "", + "knifeRadius": 3, + "depth": 10, + "canSpace": false, + "isRect": false, + "isTilt": false, + "type": "", + "knife": null, + "modelWidth": 0, + "modelLength": 0, + "modelStartPoint": null, + "modelEndPoint": null, + "originModeling": { + "knifeRadius": 3, + "thickness": 10, + "dir": 0, + "outline": [ + { + "pts": { + "x": 30.69872981077807, + "y": 117.30127018922178, + "z": 0 + }, + "buls": 0, + "radius": null + }, + { + "pts": { + "x": 50.69872981077989, + "y": 82.66025403784408, + "z": 0 + }, + "buls": 0.4142135623730833, + "radius": null + }, + { + "pts": { + "x": 64.35898384862432, + "y": 79.00000000000011, + "z": 0 + }, + "buls": 0, + "radius": null + }, + { + "pts": { + "x": 306.84609690826636, + "y": 219.0000000000001, + "z": 0 + }, + "buls": 0.2679491924311233, + "radius": null + }, + { + "pts": { + "x": 311.84609690826636, + "y": 227.66025403784454, + "z": 0 + }, + "buls": 0.13165249758739525, + "radius": null + }, + { + "pts": { + "x": 310.5063509461108, + "y": 232.66025403784454, + "z": 0 + }, + "buls": 0, + "radius": null + }, + { + "pts": { + "x": 290.5063509461108, + "y": 267.30127018922224, + "z": 0 + }, + "buls": 0.41421356237309515, + "radius": null + }, + { + "pts": { + "x": 276.84609690826636, + "y": 270.96152422706666, + "z": 0 + }, + "buls": 0, + "radius": null + }, + { + "pts": { + "x": 34.35898384862249, + "y": 130.96152422706666, + "z": 0 + }, + "buls": 0.41421356237310647, + "radius": null + }, + { + "pts": { + "x": 30.69872981077807, + "y": 117.30127018922178, + "z": 0 + }, + "buls": 0, + "radius": null + } + ], + "holes": [], + "addLen": 0, + "addWidth": 0, + "addDepth": 0, + "brThickness": 18, + "boardContour": { + "pts": [ + { + "x": 0, + "y": 0 + }, + { + "x": 398, + "y": 0 + }, + { + "x": 398, + "y": 598 + }, + { + "x": 0, + "y": 598 + } + ], + "buls": [ + 0, + 0, + 0, + 0 + ] + } + }, + "pointList": [ + { + "pointX": 33.297, + "pointY": 118.801, + "radius": null, + "depth": null, + "curve": -0.41421356237310647 + }, + { + "pointX": 35.859, + "pointY": 128.363, + "radius": null, + "depth": null, + "curve": 0 + }, + { + "pointX": 278.346, + "pointY": 268.363, + "radius": null, + "depth": null, + "curve": -0.41421356237309515 + }, + { + "pointX": 287.908, + "pointY": 265.801, + "radius": null, + "depth": null, + "curve": 0 + }, + { + "pointX": 307.908, + "pointY": 231.16, + "radius": null, + "depth": null, + "curve": -0.4142135623730932 + }, + { + "pointX": 305.346, + "pointY": 221.598, + "radius": null, + "depth": null, + "curve": 0 + }, + { + "pointX": 62.859, + "pointY": 81.598, + "radius": null, + "depth": null, + "curve": -0.41421356237308343 + }, + { + "pointX": 53.297, + "pointY": 84.16, + "radius": null, + "depth": null, + "curve": 0 + }, + { + "pointX": 33.297, + "pointY": 118.801, + "radius": null, + "depth": null, + "curve": 0 + }, + { + "pointX": 35.895, + "pointY": 120.301, + "radius": null, + "depth": null, + "curve": 0 + }, + { + "pointX": 55.895, + "pointY": 85.66, + "radius": null, + "depth": null, + "curve": 0.41421356237308343 + }, + { + "pointX": 61.359, + "pointY": 84.196, + "radius": null, + "depth": null, + "curve": 0 + }, + { + "pointX": 303.846, + "pointY": 224.196, + "radius": null, + "depth": null, + "curve": 0.4142135623730932 + }, + { + "pointX": 305.31, + "pointY": 229.66, + "radius": null, + "depth": null, + "curve": 0 + }, + { + "pointX": 285.31, + "pointY": 264.301, + "radius": null, + "depth": null, + "curve": 0.41421356237309515 + }, + { + "pointX": 279.846, + "pointY": 265.765, + "radius": null, + "depth": null, + "curve": 0 + }, + { + "pointX": 37.359, + "pointY": 125.765, + "radius": null, + "depth": null, + "curve": 0.41421356237310647 + }, + { + "pointX": 35.895, + "pointY": 120.301, + "radius": null, + "depth": null, + "curve": 0 + }, + { + "pointX": 38.493, + "pointY": 121.801, + "radius": null, + "depth": null, + "curve": 0 + }, + { + "pointX": 58.493, + "pointY": 87.16, + "radius": null, + "depth": null, + "curve": 0.41421356237308343 + }, + { + "pointX": 59.859, + "pointY": 86.794, + "radius": null, + "depth": null, + "curve": 0 + }, + { + "pointX": 302.346, + "pointY": 226.794, + "radius": null, + "depth": null, + "curve": 0.4142135623730932 + }, + { + "pointX": 302.712, + "pointY": 228.16, + "radius": null, + "depth": null, + "curve": 0 + }, + { + "pointX": 282.712, + "pointY": 262.801, + "radius": null, + "depth": null, + "curve": 0.41421356237309515 + }, + { + "pointX": 281.346, + "pointY": 263.167, + "radius": null, + "depth": null, + "curve": 0 + }, + { + "pointX": 38.859, + "pointY": 123.167, + "radius": null, + "depth": null, + "curve": 0.41421356237310647 + }, + { + "pointX": 38.493, + "pointY": 121.801, + "radius": null, + "depth": null, + "curve": 0 + }, + { + "pointX": 42.091, + "pointY": 121.569, + "radius": null, + "depth": null, + "curve": 0 + }, + { + "pointX": 60.091, + "pointY": 90.392, + "radius": null, + "depth": null, + "curve": 0 + }, + { + "pointX": 299.114, + "pointY": 228.392, + "radius": null, + "depth": null, + "curve": 0 + }, + { + "pointX": 281.114, + "pointY": 259.569, + "radius": null, + "depth": null, + "curve": 0 + }, + { + "pointX": 42.091, + "pointY": 121.569, + "radius": null, + "depth": null, + "curve": 0 + }, + { + "pointX": 46.189, + "pointY": 120.471, + "radius": null, + "depth": null, + "curve": 0 + }, + { + "pointX": 61.189, + "pointY": 94.49, + "radius": null, + "depth": null, + "curve": 0 + }, + { + "pointX": 295.016, + "pointY": 229.49, + "radius": null, + "depth": null, + "curve": 0 + }, + { + "pointX": 280.016, + "pointY": 255.471, + "radius": null, + "depth": null, + "curve": 0 + }, + { + "pointX": 46.189, + "pointY": 120.471, + "radius": null, + "depth": null, + "curve": 0 + }, + { + "pointX": 50.287, + "pointY": 119.373, + "radius": null, + "depth": null, + "curve": 0 + }, + { + "pointX": 62.287, + "pointY": 98.588, + "radius": null, + "depth": null, + "curve": 0 + }, + { + "pointX": 290.918, + "pointY": 230.588, + "radius": null, + "depth": null, + "curve": 0 + }, + { + "pointX": 278.918, + "pointY": 251.373, + "radius": null, + "depth": null, + "curve": 0 + }, + { + "pointX": 50.287, + "pointY": 119.373, + "radius": null, + "depth": null, + "curve": 0 + }, + { + "pointX": 54.385, + "pointY": 118.275, + "radius": null, + "depth": null, + "curve": 0 + }, + { + "pointX": 63.385, + "pointY": 102.687, + "radius": null, + "depth": null, + "curve": 0 + }, + { + "pointX": 286.82, + "pointY": 231.687, + "radius": null, + "depth": null, + "curve": 0 + }, + { + "pointX": 277.82, + "pointY": 247.275, + "radius": null, + "depth": null, + "curve": 0 + }, + { + "pointX": 54.385, + "pointY": 118.275, + "radius": null, + "depth": null, + "curve": 0 + }, + { + "pointX": 58.483, + "pointY": 117.177, + "radius": null, + "depth": null, + "curve": 0 + }, + { + "pointX": 64.483, + "pointY": 106.785, + "radius": null, + "depth": null, + "curve": 0 + }, + { + "pointX": 282.722, + "pointY": 232.785, + "radius": null, + "depth": null, + "curve": 0 + }, + { + "pointX": 276.722, + "pointY": 243.177, + "radius": null, + "depth": null, + "curve": 0 + }, + { + "pointX": 58.483, + "pointY": 117.177, + "radius": null, + "depth": null, + "curve": 0 + }, + { + "pointX": 62.581, + "pointY": 116.079, + "radius": null, + "depth": null, + "curve": 0 + }, + { + "pointX": 65.581, + "pointY": 110.883, + "radius": null, + "depth": null, + "curve": 0 + }, + { + "pointX": 278.624, + "pointY": 233.883, + "radius": null, + "depth": null, + "curve": 0 + }, + { + "pointX": 275.624, + "pointY": 239.079, + "radius": null, + "depth": null, + "curve": 0 + }, + { + "pointX": 62.581, + "pointY": 116.079, + "radius": null, + "depth": null, + "curve": 0 + }, + { + "pointX": 66.679, + "pointY": 114.981, + "radius": null, + "depth": null, + "curve": 0 + }, + { + "pointX": 274.526, + "pointY": 234.981, + "radius": null, + "depth": null, + "curve": 0 + } + ], + "realKnifeRadius": 3, + "realPointList": [ + { + "pointX": 33.297, + "pointY": 118.801, + "radius": 7, + "depth": 10, + "curve": -0.41421356237310647 + }, + { + "pointX": 35.859, + "pointY": 128.363, + "radius": 0, + "depth": 10, + "curve": 0 + }, + { + "pointX": 278.346, + "pointY": 268.363, + "radius": 7, + "depth": 10, + "curve": -0.41421356237309515 + }, + { + "pointX": 287.908, + "pointY": 265.801, + "radius": 0, + "depth": 10, + "curve": 0 + }, + { + "pointX": 307.908, + "pointY": 231.16, + "radius": 7, + "depth": 10, + "curve": -0.4142135623730932 + }, + { + "pointX": 305.346, + "pointY": 221.598, + "radius": 0, + "depth": 10, + "curve": 0 + }, + { + "pointX": 62.859, + "pointY": 81.598, + "radius": 7, + "depth": 10, + "curve": -0.4142135623730836 + }, + { + "pointX": 53.297, + "pointY": 84.16, + "radius": 0, + "depth": 10, + "curve": 0 + }, + { + "pointX": 33.297, + "pointY": 118.801, + "radius": 0, + "depth": 10, + "curve": 0 + }, + { + "pointX": 35.895, + "pointY": 120.301, + "radius": 0, + "depth": 10, + "curve": 0 + }, + { + "pointX": 55.895, + "pointY": 85.66, + "radius": 4, + "depth": 10, + "curve": 0.4142135623730836 + }, + { + "pointX": 61.359, + "pointY": 84.196, + "radius": 0, + "depth": 10, + "curve": 0 + }, + { + "pointX": 303.846, + "pointY": 224.196, + "radius": 4, + "depth": 10, + "curve": 0.4142135623730932 + }, + { + "pointX": 305.31, + "pointY": 229.66, + "radius": 0, + "depth": 10, + "curve": 0 + }, + { + "pointX": 285.31, + "pointY": 264.301, + "radius": 4, + "depth": 10, + "curve": 0.41421356237309515 + }, + { + "pointX": 279.846, + "pointY": 265.765, + "radius": 0, + "depth": 10, + "curve": 0 + }, + { + "pointX": 37.359, + "pointY": 125.765, + "radius": 4, + "depth": 10, + "curve": 0.41421356237310647 + }, + { + "pointX": 35.895, + "pointY": 120.301, + "radius": 0, + "depth": 10, + "curve": 0 + }, + { + "pointX": 38.493, + "pointY": 121.801, + "radius": 0, + "depth": 10, + "curve": 0 + }, + { + "pointX": 58.493, + "pointY": 87.16, + "radius": 1, + "depth": 10, + "curve": 0.4142135623730836 + }, + { + "pointX": 59.859, + "pointY": 86.794, + "radius": 0, + "depth": 10, + "curve": 0 + }, + { + "pointX": 302.346, + "pointY": 226.794, + "radius": 1, + "depth": 10, + "curve": 0.4142135623730932 + }, + { + "pointX": 302.712, + "pointY": 228.16, + "radius": 0, + "depth": 10, + "curve": 0 + }, + { + "pointX": 282.712, + "pointY": 262.801, + "radius": 1, + "depth": 10, + "curve": 0.41421356237309515 + }, + { + "pointX": 281.346, + "pointY": 263.167, + "radius": 0, + "depth": 10, + "curve": 0 + }, + { + "pointX": 38.859, + "pointY": 123.167, + "radius": 1, + "depth": 10, + "curve": 0.41421356237310647 + }, + { + "pointX": 38.493, + "pointY": 121.801, + "radius": 0, + "depth": 10, + "curve": 0 + }, + { + "pointX": 42.091, + "pointY": 121.569, + "radius": 0, + "depth": 10, + "curve": 0 + }, + { + "pointX": 60.091, + "pointY": 90.392, + "radius": 0, + "depth": 10, + "curve": 0 + }, + { + "pointX": 299.114, + "pointY": 228.392, + "radius": 0, + "depth": 10, + "curve": 0 + }, + { + "pointX": 281.114, + "pointY": 259.569, + "radius": 0, + "depth": 10, + "curve": 0 + }, + { + "pointX": 42.091, + "pointY": 121.569, + "radius": 0, + "depth": 10, + "curve": 0 + }, + { + "pointX": 46.189, + "pointY": 120.471, + "radius": 0, + "depth": 10, + "curve": 0 + }, + { + "pointX": 61.189, + "pointY": 94.49, + "radius": 0, + "depth": 10, + "curve": 0 + }, + { + "pointX": 295.016, + "pointY": 229.49, + "radius": 0, + "depth": 10, + "curve": 0 + }, + { + "pointX": 280.016, + "pointY": 255.471, + "radius": 0, + "depth": 10, + "curve": 0 + }, + { + "pointX": 46.189, + "pointY": 120.471, + "radius": 0, + "depth": 10, + "curve": 0 + }, + { + "pointX": 50.287, + "pointY": 119.373, + "radius": 0, + "depth": 10, + "curve": 0 + }, + { + "pointX": 62.287, + "pointY": 98.588, + "radius": 0, + "depth": 10, + "curve": 0 + }, + { + "pointX": 290.918, + "pointY": 230.588, + "radius": 0, + "depth": 10, + "curve": 0 + }, + { + "pointX": 278.918, + "pointY": 251.373, + "radius": 0, + "depth": 10, + "curve": 0 + }, + { + "pointX": 50.287, + "pointY": 119.373, + "radius": 0, + "depth": 10, + "curve": 0 + }, + { + "pointX": 54.385, + "pointY": 118.275, + "radius": 0, + "depth": 10, + "curve": 0 + }, + { + "pointX": 63.385, + "pointY": 102.687, + "radius": 0, + "depth": 10, + "curve": 0 + }, + { + "pointX": 286.82, + "pointY": 231.687, + "radius": 0, + "depth": 10, + "curve": 0 + }, + { + "pointX": 277.82, + "pointY": 247.275, + "radius": 0, + "depth": 10, + "curve": 0 + }, + { + "pointX": 54.385, + "pointY": 118.275, + "radius": 0, + "depth": 10, + "curve": 0 + }, + { + "pointX": 58.483, + "pointY": 117.177, + "radius": 0, + "depth": 10, + "curve": 0 + }, + { + "pointX": 64.483, + "pointY": 106.785, + "radius": 0, + "depth": 10, + "curve": 0 + }, + { + "pointX": 282.722, + "pointY": 232.785, + "radius": 0, + "depth": 10, + "curve": 0 + }, + { + "pointX": 276.722, + "pointY": 243.177, + "radius": 0, + "depth": 10, + "curve": 0 + }, + { + "pointX": 58.483, + "pointY": 117.177, + "radius": 0, + "depth": 10, + "curve": 0 + }, + { + "pointX": 62.581, + "pointY": 116.079, + "radius": 0, + "depth": 10, + "curve": 0 + }, + { + "pointX": 65.581, + "pointY": 110.883, + "radius": 0, + "depth": 10, + "curve": 0 + }, + { + "pointX": 278.624, + "pointY": 233.883, + "radius": 0, + "depth": 10, + "curve": 0 + }, + { + "pointX": 275.624, + "pointY": 239.079, + "radius": 0, + "depth": 10, + "curve": 0 + }, + { + "pointX": 62.581, + "pointY": 116.079, + "radius": 0, + "depth": 10, + "curve": 0 + }, + { + "pointX": 66.679, + "pointY": 114.981, + "radius": 0, + "depth": 10, + "curve": 0 + }, + { + "pointX": 274.526, + "pointY": 234.981, + "radius": 0, + "depth": 10, + "curve": 0 + } + ], + "realKnifeId": 1, + "isCncCanNotProcess": true, + "cncCanNotProcessType": "", + "isCutting": true, + "offsetList": [], + "VLines": [], + "offsetInfo": "" + } + ], + "modelListFaceA": [ + { + "orderId": "", + "blockId": 0, + "modelId": 1, + "lineId": 1, + "face": 0, + "knifeName": "", + "knifeRadius": 3, + "depth": 10, + "canSpace": false, + "isRect": false, + "isTilt": false, + "type": "", + "knife": null, + "modelWidth": 0, + "modelLength": 0, + "modelStartPoint": null, + "modelEndPoint": null, + "originModeling": { + "knifeRadius": 3, + "thickness": 10, + "dir": 0, + "outline": [ + { + "pts": { + "x": 30.69872981077807, + "y": 117.30127018922178, + "z": 0 + }, + "buls": 0, + "radius": null + }, + { + "pts": { + "x": 50.69872981077989, + "y": 82.66025403784408, + "z": 0 + }, + "buls": 0.4142135623730833, + "radius": null + }, + { + "pts": { + "x": 64.35898384862432, + "y": 79.00000000000011, + "z": 0 + }, + "buls": 0, + "radius": null + }, + { + "pts": { + "x": 306.84609690826636, + "y": 219.0000000000001, + "z": 0 + }, + "buls": 0.2679491924311233, + "radius": null + }, + { + "pts": { + "x": 311.84609690826636, + "y": 227.66025403784454, + "z": 0 + }, + "buls": 0.13165249758739525, + "radius": null + }, + { + "pts": { + "x": 310.5063509461108, + "y": 232.66025403784454, + "z": 0 + }, + "buls": 0, + "radius": null + }, + { + "pts": { + "x": 290.5063509461108, + "y": 267.30127018922224, + "z": 0 + }, + "buls": 0.41421356237309515, + "radius": null + }, + { + "pts": { + "x": 276.84609690826636, + "y": 270.96152422706666, + "z": 0 + }, + "buls": 0, + "radius": null + }, + { + "pts": { + "x": 34.35898384862249, + "y": 130.96152422706666, + "z": 0 + }, + "buls": 0.41421356237310647, + "radius": null + }, + { + "pts": { + "x": 30.69872981077807, + "y": 117.30127018922178, + "z": 0 + }, + "buls": 0, + "radius": null + } + ], + "holes": [], + "addLen": 0, + "addWidth": 0, + "addDepth": 0, + "brThickness": 18, + "boardContour": { + "pts": [ + { + "x": 0, + "y": 0 + }, + { + "x": 398, + "y": 0 + }, + { + "x": 398, + "y": 598 + }, + { + "x": 0, + "y": 598 + } + ], + "buls": [ + 0, + 0, + 0, + 0 + ] + } + }, + "pointList": [ + { + "pointX": 33.297, + "pointY": 118.801, + "radius": null, + "depth": null, + "curve": -0.41421356237310647 + }, + { + "pointX": 35.859, + "pointY": 128.363, + "radius": null, + "depth": null, + "curve": 0 + }, + { + "pointX": 278.346, + "pointY": 268.363, + "radius": null, + "depth": null, + "curve": -0.41421356237309515 + }, + { + "pointX": 287.908, + "pointY": 265.801, + "radius": null, + "depth": null, + "curve": 0 + }, + { + "pointX": 307.908, + "pointY": 231.16, + "radius": null, + "depth": null, + "curve": -0.4142135623730932 + }, + { + "pointX": 305.346, + "pointY": 221.598, + "radius": null, + "depth": null, + "curve": 0 + }, + { + "pointX": 62.859, + "pointY": 81.598, + "radius": null, + "depth": null, + "curve": -0.41421356237308343 + }, + { + "pointX": 53.297, + "pointY": 84.16, + "radius": null, + "depth": null, + "curve": 0 + }, + { + "pointX": 33.297, + "pointY": 118.801, + "radius": null, + "depth": null, + "curve": 0 + }, + { + "pointX": 35.895, + "pointY": 120.301, + "radius": null, + "depth": null, + "curve": 0 + }, + { + "pointX": 55.895, + "pointY": 85.66, + "radius": null, + "depth": null, + "curve": 0.41421356237308343 + }, + { + "pointX": 61.359, + "pointY": 84.196, + "radius": null, + "depth": null, + "curve": 0 + }, + { + "pointX": 303.846, + "pointY": 224.196, + "radius": null, + "depth": null, + "curve": 0.4142135623730932 + }, + { + "pointX": 305.31, + "pointY": 229.66, + "radius": null, + "depth": null, + "curve": 0 + }, + { + "pointX": 285.31, + "pointY": 264.301, + "radius": null, + "depth": null, + "curve": 0.41421356237309515 + }, + { + "pointX": 279.846, + "pointY": 265.765, + "radius": null, + "depth": null, + "curve": 0 + }, + { + "pointX": 37.359, + "pointY": 125.765, + "radius": null, + "depth": null, + "curve": 0.41421356237310647 + }, + { + "pointX": 35.895, + "pointY": 120.301, + "radius": null, + "depth": null, + "curve": 0 + }, + { + "pointX": 38.493, + "pointY": 121.801, + "radius": null, + "depth": null, + "curve": 0 + }, + { + "pointX": 58.493, + "pointY": 87.16, + "radius": null, + "depth": null, + "curve": 0.41421356237308343 + }, + { + "pointX": 59.859, + "pointY": 86.794, + "radius": null, + "depth": null, + "curve": 0 + }, + { + "pointX": 302.346, + "pointY": 226.794, + "radius": null, + "depth": null, + "curve": 0.4142135623730932 + }, + { + "pointX": 302.712, + "pointY": 228.16, + "radius": null, + "depth": null, + "curve": 0 + }, + { + "pointX": 282.712, + "pointY": 262.801, + "radius": null, + "depth": null, + "curve": 0.41421356237309515 + }, + { + "pointX": 281.346, + "pointY": 263.167, + "radius": null, + "depth": null, + "curve": 0 + }, + { + "pointX": 38.859, + "pointY": 123.167, + "radius": null, + "depth": null, + "curve": 0.41421356237310647 + }, + { + "pointX": 38.493, + "pointY": 121.801, + "radius": null, + "depth": null, + "curve": 0 + }, + { + "pointX": 42.091, + "pointY": 121.569, + "radius": null, + "depth": null, + "curve": 0 + }, + { + "pointX": 60.091, + "pointY": 90.392, + "radius": null, + "depth": null, + "curve": 0 + }, + { + "pointX": 299.114, + "pointY": 228.392, + "radius": null, + "depth": null, + "curve": 0 + }, + { + "pointX": 281.114, + "pointY": 259.569, + "radius": null, + "depth": null, + "curve": 0 + }, + { + "pointX": 42.091, + "pointY": 121.569, + "radius": null, + "depth": null, + "curve": 0 + }, + { + "pointX": 46.189, + "pointY": 120.471, + "radius": null, + "depth": null, + "curve": 0 + }, + { + "pointX": 61.189, + "pointY": 94.49, + "radius": null, + "depth": null, + "curve": 0 + }, + { + "pointX": 295.016, + "pointY": 229.49, + "radius": null, + "depth": null, + "curve": 0 + }, + { + "pointX": 280.016, + "pointY": 255.471, + "radius": null, + "depth": null, + "curve": 0 + }, + { + "pointX": 46.189, + "pointY": 120.471, + "radius": null, + "depth": null, + "curve": 0 + }, + { + "pointX": 50.287, + "pointY": 119.373, + "radius": null, + "depth": null, + "curve": 0 + }, + { + "pointX": 62.287, + "pointY": 98.588, + "radius": null, + "depth": null, + "curve": 0 + }, + { + "pointX": 290.918, + "pointY": 230.588, + "radius": null, + "depth": null, + "curve": 0 + }, + { + "pointX": 278.918, + "pointY": 251.373, + "radius": null, + "depth": null, + "curve": 0 + }, + { + "pointX": 50.287, + "pointY": 119.373, + "radius": null, + "depth": null, + "curve": 0 + }, + { + "pointX": 54.385, + "pointY": 118.275, + "radius": null, + "depth": null, + "curve": 0 + }, + { + "pointX": 63.385, + "pointY": 102.687, + "radius": null, + "depth": null, + "curve": 0 + }, + { + "pointX": 286.82, + "pointY": 231.687, + "radius": null, + "depth": null, + "curve": 0 + }, + { + "pointX": 277.82, + "pointY": 247.275, + "radius": null, + "depth": null, + "curve": 0 + }, + { + "pointX": 54.385, + "pointY": 118.275, + "radius": null, + "depth": null, + "curve": 0 + }, + { + "pointX": 58.483, + "pointY": 117.177, + "radius": null, + "depth": null, + "curve": 0 + }, + { + "pointX": 64.483, + "pointY": 106.785, + "radius": null, + "depth": null, + "curve": 0 + }, + { + "pointX": 282.722, + "pointY": 232.785, + "radius": null, + "depth": null, + "curve": 0 + }, + { + "pointX": 276.722, + "pointY": 243.177, + "radius": null, + "depth": null, + "curve": 0 + }, + { + "pointX": 58.483, + "pointY": 117.177, + "radius": null, + "depth": null, + "curve": 0 + }, + { + "pointX": 62.581, + "pointY": 116.079, + "radius": null, + "depth": null, + "curve": 0 + }, + { + "pointX": 65.581, + "pointY": 110.883, + "radius": null, + "depth": null, + "curve": 0 + }, + { + "pointX": 278.624, + "pointY": 233.883, + "radius": null, + "depth": null, + "curve": 0 + }, + { + "pointX": 275.624, + "pointY": 239.079, + "radius": null, + "depth": null, + "curve": 0 + }, + { + "pointX": 62.581, + "pointY": 116.079, + "radius": null, + "depth": null, + "curve": 0 + }, + { + "pointX": 66.679, + "pointY": 114.981, + "radius": null, + "depth": null, + "curve": 0 + }, + { + "pointX": 274.526, + "pointY": 234.981, + "radius": null, + "depth": null, + "curve": 0 + } + ], + "realKnifeRadius": 3, + "realPointList": [ + { + "pointX": 33.297, + "pointY": 118.801, + "radius": 7, + "depth": 10, + "curve": -0.41421356237310647 + }, + { + "pointX": 35.859, + "pointY": 128.363, + "radius": 0, + "depth": 10, + "curve": 0 + }, + { + "pointX": 278.346, + "pointY": 268.363, + "radius": 7, + "depth": 10, + "curve": -0.41421356237309515 + }, + { + "pointX": 287.908, + "pointY": 265.801, + "radius": 0, + "depth": 10, + "curve": 0 + }, + { + "pointX": 307.908, + "pointY": 231.16, + "radius": 7, + "depth": 10, + "curve": -0.4142135623730932 + }, + { + "pointX": 305.346, + "pointY": 221.598, + "radius": 0, + "depth": 10, + "curve": 0 + }, + { + "pointX": 62.859, + "pointY": 81.598, + "radius": 7, + "depth": 10, + "curve": -0.4142135623730836 + }, + { + "pointX": 53.297, + "pointY": 84.16, + "radius": 0, + "depth": 10, + "curve": 0 + }, + { + "pointX": 33.297, + "pointY": 118.801, + "radius": 0, + "depth": 10, + "curve": 0 + }, + { + "pointX": 35.895, + "pointY": 120.301, + "radius": 0, + "depth": 10, + "curve": 0 + }, + { + "pointX": 55.895, + "pointY": 85.66, + "radius": 4, + "depth": 10, + "curve": 0.4142135623730836 + }, + { + "pointX": 61.359, + "pointY": 84.196, + "radius": 0, + "depth": 10, + "curve": 0 + }, + { + "pointX": 303.846, + "pointY": 224.196, + "radius": 4, + "depth": 10, + "curve": 0.4142135623730932 + }, + { + "pointX": 305.31, + "pointY": 229.66, + "radius": 0, + "depth": 10, + "curve": 0 + }, + { + "pointX": 285.31, + "pointY": 264.301, + "radius": 4, + "depth": 10, + "curve": 0.41421356237309515 + }, + { + "pointX": 279.846, + "pointY": 265.765, + "radius": 0, + "depth": 10, + "curve": 0 + }, + { + "pointX": 37.359, + "pointY": 125.765, + "radius": 4, + "depth": 10, + "curve": 0.41421356237310647 + }, + { + "pointX": 35.895, + "pointY": 120.301, + "radius": 0, + "depth": 10, + "curve": 0 + }, + { + "pointX": 38.493, + "pointY": 121.801, + "radius": 0, + "depth": 10, + "curve": 0 + }, + { + "pointX": 58.493, + "pointY": 87.16, + "radius": 1, + "depth": 10, + "curve": 0.4142135623730836 + }, + { + "pointX": 59.859, + "pointY": 86.794, + "radius": 0, + "depth": 10, + "curve": 0 + }, + { + "pointX": 302.346, + "pointY": 226.794, + "radius": 1, + "depth": 10, + "curve": 0.4142135623730932 + }, + { + "pointX": 302.712, + "pointY": 228.16, + "radius": 0, + "depth": 10, + "curve": 0 + }, + { + "pointX": 282.712, + "pointY": 262.801, + "radius": 1, + "depth": 10, + "curve": 0.41421356237309515 + }, + { + "pointX": 281.346, + "pointY": 263.167, + "radius": 0, + "depth": 10, + "curve": 0 + }, + { + "pointX": 38.859, + "pointY": 123.167, + "radius": 1, + "depth": 10, + "curve": 0.41421356237310647 + }, + { + "pointX": 38.493, + "pointY": 121.801, + "radius": 0, + "depth": 10, + "curve": 0 + }, + { + "pointX": 42.091, + "pointY": 121.569, + "radius": 0, + "depth": 10, + "curve": 0 + }, + { + "pointX": 60.091, + "pointY": 90.392, + "radius": 0, + "depth": 10, + "curve": 0 + }, + { + "pointX": 299.114, + "pointY": 228.392, + "radius": 0, + "depth": 10, + "curve": 0 + }, + { + "pointX": 281.114, + "pointY": 259.569, + "radius": 0, + "depth": 10, + "curve": 0 + }, + { + "pointX": 42.091, + "pointY": 121.569, + "radius": 0, + "depth": 10, + "curve": 0 + }, + { + "pointX": 46.189, + "pointY": 120.471, + "radius": 0, + "depth": 10, + "curve": 0 + }, + { + "pointX": 61.189, + "pointY": 94.49, + "radius": 0, + "depth": 10, + "curve": 0 + }, + { + "pointX": 295.016, + "pointY": 229.49, + "radius": 0, + "depth": 10, + "curve": 0 + }, + { + "pointX": 280.016, + "pointY": 255.471, + "radius": 0, + "depth": 10, + "curve": 0 + }, + { + "pointX": 46.189, + "pointY": 120.471, + "radius": 0, + "depth": 10, + "curve": 0 + }, + { + "pointX": 50.287, + "pointY": 119.373, + "radius": 0, + "depth": 10, + "curve": 0 + }, + { + "pointX": 62.287, + "pointY": 98.588, + "radius": 0, + "depth": 10, + "curve": 0 + }, + { + "pointX": 290.918, + "pointY": 230.588, + "radius": 0, + "depth": 10, + "curve": 0 + }, + { + "pointX": 278.918, + "pointY": 251.373, + "radius": 0, + "depth": 10, + "curve": 0 + }, + { + "pointX": 50.287, + "pointY": 119.373, + "radius": 0, + "depth": 10, + "curve": 0 + }, + { + "pointX": 54.385, + "pointY": 118.275, + "radius": 0, + "depth": 10, + "curve": 0 + }, + { + "pointX": 63.385, + "pointY": 102.687, + "radius": 0, + "depth": 10, + "curve": 0 + }, + { + "pointX": 286.82, + "pointY": 231.687, + "radius": 0, + "depth": 10, + "curve": 0 + }, + { + "pointX": 277.82, + "pointY": 247.275, + "radius": 0, + "depth": 10, + "curve": 0 + }, + { + "pointX": 54.385, + "pointY": 118.275, + "radius": 0, + "depth": 10, + "curve": 0 + }, + { + "pointX": 58.483, + "pointY": 117.177, + "radius": 0, + "depth": 10, + "curve": 0 + }, + { + "pointX": 64.483, + "pointY": 106.785, + "radius": 0, + "depth": 10, + "curve": 0 + }, + { + "pointX": 282.722, + "pointY": 232.785, + "radius": 0, + "depth": 10, + "curve": 0 + }, + { + "pointX": 276.722, + "pointY": 243.177, + "radius": 0, + "depth": 10, + "curve": 0 + }, + { + "pointX": 58.483, + "pointY": 117.177, + "radius": 0, + "depth": 10, + "curve": 0 + }, + { + "pointX": 62.581, + "pointY": 116.079, + "radius": 0, + "depth": 10, + "curve": 0 + }, + { + "pointX": 65.581, + "pointY": 110.883, + "radius": 0, + "depth": 10, + "curve": 0 + }, + { + "pointX": 278.624, + "pointY": 233.883, + "radius": 0, + "depth": 10, + "curve": 0 + }, + { + "pointX": 275.624, + "pointY": 239.079, + "radius": 0, + "depth": 10, + "curve": 0 + }, + { + "pointX": 62.581, + "pointY": 116.079, + "radius": 0, + "depth": 10, + "curve": 0 + }, + { + "pointX": 66.679, + "pointY": 114.981, + "radius": 0, + "depth": 10, + "curve": 0 + }, + { + "pointX": 274.526, + "pointY": 234.981, + "radius": 0, + "depth": 10, + "curve": 0 + } + ], + "realKnifeId": 1, + "isCncCanNotProcess": true, + "cncCanNotProcessType": "", + "isCutting": true, + "offsetList": [], + "VLines": [], + "offsetInfo": "" + } + ], + "modelListFaceB": [], + "modelListThrough": [], + "modelListSide": [], + "thickness": 18, + "isUnRegular": false, + "bigHoleInFaceA": false, + "holeCountFront": 0, + "holeCountBack": 0, + "holeCountThrough": 0, + "holeCountSide": 0, + "holeCountLeft": 0, + "holeCountRight": 0, + "holeCountTop": 0, + "holeCountBottom": 0, + "holeCountBevelled": 0, + "modelCountFront": 1, + "modelCountBack": 0, + "modelCountThrough": 0, + "hasModelThrogh": false, + "isTwoFaceProcess": false, + "placeStyleFront": 0, + "placeStyleFrontReverse": 1, + "placeStyleBack": 4, + "placeStyleBackReverse": 7, + "labelPosX": -1, + "labelPosY": -1, + "isInited": false, + "isChecked": false, + "isOffsetRounding": false, + "offsetKnifeRadius": 3, + "isUseSameKnifeToHelpCut": false, + "useSameKnifeToHelpCutGap": 0, + "preMillingExpandSize": { + "left": 0, + "right": 0, + "top": 0, + "bottom": 0, + "width": 0, + "length": 0 + }, + "modelExpandSize": { + "left": 0, + "right": 0, + "top": 0, + "bottom": 0, + "width": 0, + "length": 0 + }, + "vKnifeModelExpandSize": { + "left": 0, + "right": 0, + "top": 0, + "bottom": 0, + "width": 0, + "length": 0 + }, + "sameKnifeHelpExpandSize": { + "left": 0, + "right": 0, + "top": 0, + "bottom": 0, + "width": 0, + "length": 0 + }, + "currentSizeExpand": { + "left": 3.005, + "right": 3.005, + "top": 3.005, + "bottom": 3.005, + "width": 6.01, + "length": 6.01 + }, + "borderContour": { + "placeStyle": 0, + "borderFinal": [ + { + "m_StartPoint": { + "m_X": 0, + "m_Y": 0 + }, + "m_EndPoint": { + "m_X": 400, + "m_Y": 0 + }, + "tagData": 1, + "m_Length": 400 + }, + { + "m_StartPoint": { + "m_X": 400, + "m_Y": 0 + }, + "m_EndPoint": { + "m_X": 400, + "m_Y": 600 + }, + "tagData": 1, + "m_Length": 600 + }, + { + "m_StartPoint": { + "m_X": 400, + "m_Y": 600 + }, + "m_EndPoint": { + "m_X": 0, + "m_Y": 600 + }, + "tagData": 1, + "m_Length": 400 + }, + { + "m_StartPoint": { + "m_X": 0, + "m_Y": 600 + }, + "m_EndPoint": { + "m_X": 0, + "m_Y": 0 + }, + "tagData": 1, + "m_Length": 600 + } + ], + "borderOrg": [ + { + "m_StartPoint": { + "m_X": 0, + "m_Y": 0 + }, + "m_EndPoint": { + "m_X": 398, + "m_Y": 0 + }, + "m_Length": 398 + }, + { + "m_StartPoint": { + "m_X": 398, + "m_Y": 0 + }, + "m_EndPoint": { + "m_X": 398, + "m_Y": 598 + }, + "m_Length": 598 + }, + { + "m_StartPoint": { + "m_X": 398, + "m_Y": 598 + }, + "m_EndPoint": { + "m_X": 0, + "m_Y": 598 + }, + "m_Length": 398 + }, + { + "m_StartPoint": { + "m_X": 0, + "m_Y": 598 + }, + "m_EndPoint": { + "m_X": 0, + "m_Y": 0 + }, + "m_Length": 598 + } + ], + "borderPreMilling": [ + { + "m_StartPoint": { + "m_X": 0, + "m_Y": 0 + }, + "m_EndPoint": { + "m_X": 398, + "m_Y": 0 + }, + "m_Length": 398 + }, + { + "m_StartPoint": { + "m_X": 398, + "m_Y": 0 + }, + "m_EndPoint": { + "m_X": 398, + "m_Y": 598 + }, + "m_Length": 598 + }, + { + "m_StartPoint": { + "m_X": 398, + "m_Y": 598 + }, + "m_EndPoint": { + "m_X": 0, + "m_Y": 598 + }, + "m_Length": 398 + }, + { + "m_StartPoint": { + "m_X": 0, + "m_Y": 598 + }, + "m_EndPoint": { + "m_X": 0, + "m_Y": 0 + }, + "m_Length": 598 + } + ], + "polylineOrg": { + "_isErase": false, + "IsEmbedEntity": false, + "OnlyRenderType": true, + "HasEdgeRenderType": false, + "HasPlaceFaceRenderType": false, + "HasBigHoleFaceRenderType": false, + "_CacheDrawObject": {}, + "_Color": 7, + "_Matrix": { + "elements": [ + 1, + 0, + 0, + 0, + 0, + 1, + 0, + 0, + 0, + 0, + 1, + 0, + 0, + 0, + 0, + 1 + ] + }, + "_SpaceOCS": { + "elements": [ + 1, + 0, + 0, + 0, + 0, + 1, + 0, + 0, + 0, + 0, + 1, + 0, + 0, + 0, + 0, + 1 + ] + }, + "_Visible": true, + "_VisibleInRender": true, + "_Freeze": false, + "_LockMaterial": false, + "__ProcessingGroupList": [], + "NeedUpdateFlag": 0, + "AutoUpdate": true, + "__UpdateVersion__": 1, + "_RoomName": "", + "_CabinetName": "", + "_LineData": [ + { + "pt": { + "x": 0, + "y": 0 + }, + "bul": 0 + }, + { + "pt": { + "x": 398, + "y": 0 + }, + "bul": 0 + }, + { + "pt": { + "x": 398, + "y": 598 + }, + "bul": 0 + }, + { + "pt": { + "x": 0, + "y": 598 + }, + "bul": 0 + } + ], + "_DisplayAccuracy": 0, + "_ClosedMark": true + }, + "border": [ + { + "m_StartPoint": { + "m_X": 0, + "m_Y": 0 + }, + "m_EndPoint": { + "m_X": 398, + "m_Y": 0 + }, + "m_Length": 398 + }, + { + "m_StartPoint": { + "m_X": 398, + "m_Y": 0 + }, + "m_EndPoint": { + "m_X": 398, + "m_Y": 598 + }, + "m_Length": 598 + }, + { + "m_StartPoint": { + "m_X": 398, + "m_Y": 598 + }, + "m_EndPoint": { + "m_X": 0, + "m_Y": 598 + }, + "m_Length": 398 + }, + { + "m_StartPoint": { + "m_X": 0, + "m_Y": 598 + }, + "m_EndPoint": { + "m_X": 0, + "m_Y": 0 + }, + "m_Length": 598 + } + ], + "borderSameKnifeHelpCut": null, + "cutLines": null, + "cutLinesSameKnifeHelpCut": null, + "borderMoving": null, + "borderModelThrough": [], + "borderModelThroughR": [], + "cutLinesModelThrough": [], + "borderInnerPlace": [], + "blockInnerSpace": [], + "blockOuterSpace": null, + "polylines2vModel": [], + "polylinesOutModel": [], + "placeContours": [] + }, + "remarkParams": {} + }, + "orderId": "1920401449485860864", + "goodsId": "SP202001031", + "roomId": 0, + "bodyId": 0, + "blockId": "1920401452463816704", + "oldBlockId": "1920401452463816704", + "blockNo": "250564995608", + "customPlateNo": "F002-R001-C001-P042", + "labelNo": "", + "blockName": "板(自由角度Xro30圆角矩形槽1)", + "plateRemark": "", + "remark1": "", + "remark2": "", + "remark3": "", + "remark4": "", + "remark5": "", + "extraRemark": {}, + "width": 400, + "length": 600, + "thickness": 18, + "area": 0.24, + "sealLeft": 1, + "sealRight": 1, + "sealTop": 1, + "sealBottom": 1, + "cutWidth": 398, + "cutLength": 598, + "cutArea": 0.238004, + "isAdditionalBlock": false, + "isRemainBlock": false, + "texture": 0, + "placeHole": 2, + "isUnRegular": false, + "isTurnFaceToPlace": true, + "isTwoFaceToPlace": false, + "isCurvedGroundLine": false, + "isPlaced": true, + "fullBoardId": 0, + "boardId": 3, + "placeId": 11, + "placeX": 407.015, + "placeY": 1815.035, + "placeStyle": 4, + "cutRegion": 0, + "cutOrder": 0, + "cutPointId": 0, + "placeWidth": 398, + "placeLength": 598, + "placeSealLeft": 1, + "placeSealRight": 1, + "placeSealTop": 1, + "placeSealBottom": 1, + "orgSizeExpand": { + "left": 0, + "right": 0, + "top": 0, + "bottom": 0, + "width": 0, + "length": 0 + }, + "placeOffX": 3.005, + "placeOffY": 3.005, + "isAutoPlaced": true, + "isOutBoard": false, + "isOverlap": false, + "placeDirection": "→", + "placeDirection_Length": "→", + "isDrilling": true, + "isModeling": true, + "overBlockFlag": 0, + "isCutOtherFace": false, + "isCutTurnOver": false, + "holeListFaceA": [], + "holeListFaceB": [], + "modelListFaceA": [], + "modelListFaceB": [ + { + "orderId": "", + "blockId": 0, + "modelId": 1, + "lineId": 1, + "face": 0, + "knifeName": "", + "knifeRadius": 3, + "depth": 10, + "canSpace": false, + "isRect": false, + "isTilt": false, + "type": "", + "knife": null, + "modelWidth": 0, + "modelLength": 0, + "modelStartPoint": null, + "modelEndPoint": null, + "originModeling": { + "knifeRadius": 3, + "thickness": 10, + "dir": 0, + "outline": [ + { + "pts": { + "x": 30.69872981077807, + "y": 117.30127018922178, + "z": 0 + }, + "buls": 0, + "radius": null + }, + { + "pts": { + "x": 50.69872981077989, + "y": 82.66025403784408, + "z": 0 + }, + "buls": 0.4142135623730833, + "radius": null + }, + { + "pts": { + "x": 64.35898384862432, + "y": 79.00000000000011, + "z": 0 + }, + "buls": 0, + "radius": null + }, + { + "pts": { + "x": 306.84609690826636, + "y": 219.0000000000001, + "z": 0 + }, + "buls": 0.2679491924311233, + "radius": null + }, + { + "pts": { + "x": 311.84609690826636, + "y": 227.66025403784454, + "z": 0 + }, + "buls": 0.13165249758739525, + "radius": null + }, + { + "pts": { + "x": 310.5063509461108, + "y": 232.66025403784454, + "z": 0 + }, + "buls": 0, + "radius": null + }, + { + "pts": { + "x": 290.5063509461108, + "y": 267.30127018922224, + "z": 0 + }, + "buls": 0.41421356237309515, + "radius": null + }, + { + "pts": { + "x": 276.84609690826636, + "y": 270.96152422706666, + "z": 0 + }, + "buls": 0, + "radius": null + }, + { + "pts": { + "x": 34.35898384862249, + "y": 130.96152422706666, + "z": 0 + }, + "buls": 0.41421356237310647, + "radius": null + }, + { + "pts": { + "x": 30.69872981077807, + "y": 117.30127018922178, + "z": 0 + }, + "buls": 0, + "radius": null + } + ], + "holes": [], + "addLen": 0, + "addWidth": 0, + "addDepth": 0, + "brThickness": 18, + "boardContour": { + "pts": [ + { + "x": 0, + "y": 0 + }, + { + "x": 398, + "y": 0 + }, + { + "x": 398, + "y": 598 + }, + { + "x": 0, + "y": 598 + } + ], + "buls": [ + 0, + 0, + 0, + 0 + ] + } + }, + "pointList": [ + { + "pointX": 33.297, + "pointY": 118.801, + "radius": null, + "depth": null, + "curve": -0.41421356237310647 + }, + { + "pointX": 35.859, + "pointY": 128.363, + "radius": null, + "depth": null, + "curve": 0 + }, + { + "pointX": 278.346, + "pointY": 268.363, + "radius": null, + "depth": null, + "curve": -0.41421356237309515 + }, + { + "pointX": 287.908, + "pointY": 265.801, + "radius": null, + "depth": null, + "curve": 0 + }, + { + "pointX": 307.908, + "pointY": 231.16, + "radius": null, + "depth": null, + "curve": -0.4142135623730932 + }, + { + "pointX": 305.346, + "pointY": 221.598, + "radius": null, + "depth": null, + "curve": 0 + }, + { + "pointX": 62.859, + "pointY": 81.598, + "radius": null, + "depth": null, + "curve": -0.41421356237308343 + }, + { + "pointX": 53.297, + "pointY": 84.16, + "radius": null, + "depth": null, + "curve": 0 + }, + { + "pointX": 33.297, + "pointY": 118.801, + "radius": null, + "depth": null, + "curve": 0 + }, + { + "pointX": 35.895, + "pointY": 120.301, + "radius": null, + "depth": null, + "curve": 0 + }, + { + "pointX": 55.895, + "pointY": 85.66, + "radius": null, + "depth": null, + "curve": 0.41421356237308343 + }, + { + "pointX": 61.359, + "pointY": 84.196, + "radius": null, + "depth": null, + "curve": 0 + }, + { + "pointX": 303.846, + "pointY": 224.196, + "radius": null, + "depth": null, + "curve": 0.4142135623730932 + }, + { + "pointX": 305.31, + "pointY": 229.66, + "radius": null, + "depth": null, + "curve": 0 + }, + { + "pointX": 285.31, + "pointY": 264.301, + "radius": null, + "depth": null, + "curve": 0.41421356237309515 + }, + { + "pointX": 279.846, + "pointY": 265.765, + "radius": null, + "depth": null, + "curve": 0 + }, + { + "pointX": 37.359, + "pointY": 125.765, + "radius": null, + "depth": null, + "curve": 0.41421356237310647 + }, + { + "pointX": 35.895, + "pointY": 120.301, + "radius": null, + "depth": null, + "curve": 0 + }, + { + "pointX": 38.493, + "pointY": 121.801, + "radius": null, + "depth": null, + "curve": 0 + }, + { + "pointX": 58.493, + "pointY": 87.16, + "radius": null, + "depth": null, + "curve": 0.41421356237308343 + }, + { + "pointX": 59.859, + "pointY": 86.794, + "radius": null, + "depth": null, + "curve": 0 + }, + { + "pointX": 302.346, + "pointY": 226.794, + "radius": null, + "depth": null, + "curve": 0.4142135623730932 + }, + { + "pointX": 302.712, + "pointY": 228.16, + "radius": null, + "depth": null, + "curve": 0 + }, + { + "pointX": 282.712, + "pointY": 262.801, + "radius": null, + "depth": null, + "curve": 0.41421356237309515 + }, + { + "pointX": 281.346, + "pointY": 263.167, + "radius": null, + "depth": null, + "curve": 0 + }, + { + "pointX": 38.859, + "pointY": 123.167, + "radius": null, + "depth": null, + "curve": 0.41421356237310647 + }, + { + "pointX": 38.493, + "pointY": 121.801, + "radius": null, + "depth": null, + "curve": 0 + }, + { + "pointX": 42.091, + "pointY": 121.569, + "radius": null, + "depth": null, + "curve": 0 + }, + { + "pointX": 60.091, + "pointY": 90.392, + "radius": null, + "depth": null, + "curve": 0 + }, + { + "pointX": 299.114, + "pointY": 228.392, + "radius": null, + "depth": null, + "curve": 0 + }, + { + "pointX": 281.114, + "pointY": 259.569, + "radius": null, + "depth": null, + "curve": 0 + }, + { + "pointX": 42.091, + "pointY": 121.569, + "radius": null, + "depth": null, + "curve": 0 + }, + { + "pointX": 46.189, + "pointY": 120.471, + "radius": null, + "depth": null, + "curve": 0 + }, + { + "pointX": 61.189, + "pointY": 94.49, + "radius": null, + "depth": null, + "curve": 0 + }, + { + "pointX": 295.016, + "pointY": 229.49, + "radius": null, + "depth": null, + "curve": 0 + }, + { + "pointX": 280.016, + "pointY": 255.471, + "radius": null, + "depth": null, + "curve": 0 + }, + { + "pointX": 46.189, + "pointY": 120.471, + "radius": null, + "depth": null, + "curve": 0 + }, + { + "pointX": 50.287, + "pointY": 119.373, + "radius": null, + "depth": null, + "curve": 0 + }, + { + "pointX": 62.287, + "pointY": 98.588, + "radius": null, + "depth": null, + "curve": 0 + }, + { + "pointX": 290.918, + "pointY": 230.588, + "radius": null, + "depth": null, + "curve": 0 + }, + { + "pointX": 278.918, + "pointY": 251.373, + "radius": null, + "depth": null, + "curve": 0 + }, + { + "pointX": 50.287, + "pointY": 119.373, + "radius": null, + "depth": null, + "curve": 0 + }, + { + "pointX": 54.385, + "pointY": 118.275, + "radius": null, + "depth": null, + "curve": 0 + }, + { + "pointX": 63.385, + "pointY": 102.687, + "radius": null, + "depth": null, + "curve": 0 + }, + { + "pointX": 286.82, + "pointY": 231.687, + "radius": null, + "depth": null, + "curve": 0 + }, + { + "pointX": 277.82, + "pointY": 247.275, + "radius": null, + "depth": null, + "curve": 0 + }, + { + "pointX": 54.385, + "pointY": 118.275, + "radius": null, + "depth": null, + "curve": 0 + }, + { + "pointX": 58.483, + "pointY": 117.177, + "radius": null, + "depth": null, + "curve": 0 + }, + { + "pointX": 64.483, + "pointY": 106.785, + "radius": null, + "depth": null, + "curve": 0 + }, + { + "pointX": 282.722, + "pointY": 232.785, + "radius": null, + "depth": null, + "curve": 0 + }, + { + "pointX": 276.722, + "pointY": 243.177, + "radius": null, + "depth": null, + "curve": 0 + }, + { + "pointX": 58.483, + "pointY": 117.177, + "radius": null, + "depth": null, + "curve": 0 + }, + { + "pointX": 62.581, + "pointY": 116.079, + "radius": null, + "depth": null, + "curve": 0 + }, + { + "pointX": 65.581, + "pointY": 110.883, + "radius": null, + "depth": null, + "curve": 0 + }, + { + "pointX": 278.624, + "pointY": 233.883, + "radius": null, + "depth": null, + "curve": 0 + }, + { + "pointX": 275.624, + "pointY": 239.079, + "radius": null, + "depth": null, + "curve": 0 + }, + { + "pointX": 62.581, + "pointY": 116.079, + "radius": null, + "depth": null, + "curve": 0 + }, + { + "pointX": 66.679, + "pointY": 114.981, + "radius": null, + "depth": null, + "curve": 0 + }, + { + "pointX": 274.526, + "pointY": 234.981, + "radius": null, + "depth": null, + "curve": 0 + } + ], + "realKnifeRadius": 3, + "realPointList": [ + { + "pointX": 33.297, + "pointY": 118.801, + "radius": 7, + "depth": 10, + "curve": -0.41421356237310647 + }, + { + "pointX": 35.859, + "pointY": 128.363, + "radius": 0, + "depth": 10, + "curve": 0 + }, + { + "pointX": 278.346, + "pointY": 268.363, + "radius": 7, + "depth": 10, + "curve": -0.41421356237309515 + }, + { + "pointX": 287.908, + "pointY": 265.801, + "radius": 0, + "depth": 10, + "curve": 0 + }, + { + "pointX": 307.908, + "pointY": 231.16, + "radius": 7, + "depth": 10, + "curve": -0.4142135623730932 + }, + { + "pointX": 305.346, + "pointY": 221.598, + "radius": 0, + "depth": 10, + "curve": 0 + }, + { + "pointX": 62.859, + "pointY": 81.598, + "radius": 7, + "depth": 10, + "curve": -0.4142135623730836 + }, + { + "pointX": 53.297, + "pointY": 84.16, + "radius": 0, + "depth": 10, + "curve": 0 + }, + { + "pointX": 33.297, + "pointY": 118.801, + "radius": 0, + "depth": 10, + "curve": 0 + }, + { + "pointX": 35.895, + "pointY": 120.301, + "radius": 0, + "depth": 10, + "curve": 0 + }, + { + "pointX": 55.895, + "pointY": 85.66, + "radius": 4, + "depth": 10, + "curve": 0.4142135623730836 + }, + { + "pointX": 61.359, + "pointY": 84.196, + "radius": 0, + "depth": 10, + "curve": 0 + }, + { + "pointX": 303.846, + "pointY": 224.196, + "radius": 4, + "depth": 10, + "curve": 0.4142135623730932 + }, + { + "pointX": 305.31, + "pointY": 229.66, + "radius": 0, + "depth": 10, + "curve": 0 + }, + { + "pointX": 285.31, + "pointY": 264.301, + "radius": 4, + "depth": 10, + "curve": 0.41421356237309515 + }, + { + "pointX": 279.846, + "pointY": 265.765, + "radius": 0, + "depth": 10, + "curve": 0 + }, + { + "pointX": 37.359, + "pointY": 125.765, + "radius": 4, + "depth": 10, + "curve": 0.41421356237310647 + }, + { + "pointX": 35.895, + "pointY": 120.301, + "radius": 0, + "depth": 10, + "curve": 0 + }, + { + "pointX": 38.493, + "pointY": 121.801, + "radius": 0, + "depth": 10, + "curve": 0 + }, + { + "pointX": 58.493, + "pointY": 87.16, + "radius": 1, + "depth": 10, + "curve": 0.4142135623730836 + }, + { + "pointX": 59.859, + "pointY": 86.794, + "radius": 0, + "depth": 10, + "curve": 0 + }, + { + "pointX": 302.346, + "pointY": 226.794, + "radius": 1, + "depth": 10, + "curve": 0.4142135623730932 + }, + { + "pointX": 302.712, + "pointY": 228.16, + "radius": 0, + "depth": 10, + "curve": 0 + }, + { + "pointX": 282.712, + "pointY": 262.801, + "radius": 1, + "depth": 10, + "curve": 0.41421356237309515 + }, + { + "pointX": 281.346, + "pointY": 263.167, + "radius": 0, + "depth": 10, + "curve": 0 + }, + { + "pointX": 38.859, + "pointY": 123.167, + "radius": 1, + "depth": 10, + "curve": 0.41421356237310647 + }, + { + "pointX": 38.493, + "pointY": 121.801, + "radius": 0, + "depth": 10, + "curve": 0 + }, + { + "pointX": 42.091, + "pointY": 121.569, + "radius": 0, + "depth": 10, + "curve": 0 + }, + { + "pointX": 60.091, + "pointY": 90.392, + "radius": 0, + "depth": 10, + "curve": 0 + }, + { + "pointX": 299.114, + "pointY": 228.392, + "radius": 0, + "depth": 10, + "curve": 0 + }, + { + "pointX": 281.114, + "pointY": 259.569, + "radius": 0, + "depth": 10, + "curve": 0 + }, + { + "pointX": 42.091, + "pointY": 121.569, + "radius": 0, + "depth": 10, + "curve": 0 + }, + { + "pointX": 46.189, + "pointY": 120.471, + "radius": 0, + "depth": 10, + "curve": 0 + }, + { + "pointX": 61.189, + "pointY": 94.49, + "radius": 0, + "depth": 10, + "curve": 0 + }, + { + "pointX": 295.016, + "pointY": 229.49, + "radius": 0, + "depth": 10, + "curve": 0 + }, + { + "pointX": 280.016, + "pointY": 255.471, + "radius": 0, + "depth": 10, + "curve": 0 + }, + { + "pointX": 46.189, + "pointY": 120.471, + "radius": 0, + "depth": 10, + "curve": 0 + }, + { + "pointX": 50.287, + "pointY": 119.373, + "radius": 0, + "depth": 10, + "curve": 0 + }, + { + "pointX": 62.287, + "pointY": 98.588, + "radius": 0, + "depth": 10, + "curve": 0 + }, + { + "pointX": 290.918, + "pointY": 230.588, + "radius": 0, + "depth": 10, + "curve": 0 + }, + { + "pointX": 278.918, + "pointY": 251.373, + "radius": 0, + "depth": 10, + "curve": 0 + }, + { + "pointX": 50.287, + "pointY": 119.373, + "radius": 0, + "depth": 10, + "curve": 0 + }, + { + "pointX": 54.385, + "pointY": 118.275, + "radius": 0, + "depth": 10, + "curve": 0 + }, + { + "pointX": 63.385, + "pointY": 102.687, + "radius": 0, + "depth": 10, + "curve": 0 + }, + { + "pointX": 286.82, + "pointY": 231.687, + "radius": 0, + "depth": 10, + "curve": 0 + }, + { + "pointX": 277.82, + "pointY": 247.275, + "radius": 0, + "depth": 10, + "curve": 0 + }, + { + "pointX": 54.385, + "pointY": 118.275, + "radius": 0, + "depth": 10, + "curve": 0 + }, + { + "pointX": 58.483, + "pointY": 117.177, + "radius": 0, + "depth": 10, + "curve": 0 + }, + { + "pointX": 64.483, + "pointY": 106.785, + "radius": 0, + "depth": 10, + "curve": 0 + }, + { + "pointX": 282.722, + "pointY": 232.785, + "radius": 0, + "depth": 10, + "curve": 0 + }, + { + "pointX": 276.722, + "pointY": 243.177, + "radius": 0, + "depth": 10, + "curve": 0 + }, + { + "pointX": 58.483, + "pointY": 117.177, + "radius": 0, + "depth": 10, + "curve": 0 + }, + { + "pointX": 62.581, + "pointY": 116.079, + "radius": 0, + "depth": 10, + "curve": 0 + }, + { + "pointX": 65.581, + "pointY": 110.883, + "radius": 0, + "depth": 10, + "curve": 0 + }, + { + "pointX": 278.624, + "pointY": 233.883, + "radius": 0, + "depth": 10, + "curve": 0 + }, + { + "pointX": 275.624, + "pointY": 239.079, + "radius": 0, + "depth": 10, + "curve": 0 + }, + { + "pointX": 62.581, + "pointY": 116.079, + "radius": 0, + "depth": 10, + "curve": 0 + }, + { + "pointX": 66.679, + "pointY": 114.981, + "radius": 0, + "depth": 10, + "curve": 0 + }, + { + "pointX": 274.526, + "pointY": 234.981, + "radius": 0, + "depth": 10, + "curve": 0 + } + ], + "realKnifeId": 1, + "isCncCanNotProcess": true, + "cncCanNotProcessType": "", + "isCutting": true, + "offsetList": [], + "VLines": [], + "offsetInfo": "" + } + ], + "labelPosX": 399, + "labelPosY": -1, + "isCncLabelA": false, + "isCncLabelB": false, + "isCncLabelTurnOver": false, + "type": 2, + "openDoorType": 0, + "_blockId": "1920401452463816704" +} + + \ No newline at end of file diff --git a/src/processors/modelProcessPoints/modelProcessPoints.ts b/src/processors/modelProcessPoints/modelProcessPoints.ts index 4629eb4..44ce174 100644 --- a/src/processors/modelProcessPoints/modelProcessPoints.ts +++ b/src/processors/modelProcessPoints/modelProcessPoints.ts @@ -41,15 +41,15 @@ export class ModelProcessPointsProc extends ProcessorBase