取消排钻挖孔.
This commit is contained in:
parent
ffd1404d12
commit
f72bb04ff5
4
dist/createBoard.js
vendored
4
dist/createBoard.js
vendored
@ -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();
|
||||||
|
2
dist/createBoard.js.map
vendored
2
dist/createBoard.js.map
vendored
File diff suppressed because one or more lines are too long
@ -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",
|
||||||
|
@ -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();
|
||||||
|
Loading…
Reference in New Issue
Block a user