update pocket surface matching to new api
This commit is contained in:
parent
b9c59df9b3
commit
cb26923046
1 changed files with 1 additions and 1 deletions
|
|
@ -1160,7 +1160,7 @@ class OpPocket extends CamOp {
|
|||
let vert = widget.getGeoVertices({ unroll: true, translate: true }).map(v => v.round(4));
|
||||
// let vert = widget.getVertices().array.map(v => v.round(4));
|
||||
let outline = [];
|
||||
let faces = CAM.surface_find(widget, surfaces);
|
||||
let faces = CAM.surface_find(widget, surfaces, 0.1);
|
||||
let zmin = Infinity;
|
||||
let j=0, k=faces.length;
|
||||
for (let face of faces) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue