取消排钻挖孔.

This commit is contained in:
ChenX 2018-05-31 15:57:24 +08:00
parent ffd1404d12
commit f72bb04ff5
4 changed files with 6 additions and 6 deletions

4
dist/createBoard.js vendored
View File

@ -131,8 +131,8 @@ function createBoard(boardData) {
geo.translate(dri.x, dri.y, dri.h * 0.5 - boardData["H"]); geo.translate(dri.x, dri.y, dri.h * 0.5 - boardData["H"]);
geo.applyMatrix(boardMat); geo.applyMatrix(boardMat);
edges.push(createEdge(geo)); edges.push(createEdge(geo));
let subCsg = new ThreeCSG_1.ThreeBSP(geo); // let subCsg = new ThreeBSP(geo);
thisCsg = thisCsg.subtract(subCsg); // thisCsg = thisCsg.subtract(subCsg);
} }
} }
ext = thisCsg.toGeometry(); ext = thisCsg.toGeometry();

File diff suppressed because one or more lines are too long

View File

@ -1,6 +1,6 @@
{ {
"name": "cadview", "name": "cadview",
"version": "1.1.1", "version": "1.1.2",
"description": "", "description": "",
"main": "dist/index.js", "main": "dist/index.js",
"types": "dist/index.d.ts", "types": "dist/index.d.ts",

View File

@ -173,8 +173,8 @@ export function createBoard(boardData: object)
edges.push(createEdge(geo)); edges.push(createEdge(geo));
let subCsg = new ThreeBSP(geo); // let subCsg = new ThreeBSP(geo);
thisCsg = thisCsg.subtract(subCsg); // thisCsg = thisCsg.subtract(subCsg);
} }
} }
ext = thisCsg.toGeometry(); ext = thisCsg.toGeometry();