From a52c57ea4ba28dccf2da98d2a8e35fc02b5a5cf9 Mon Sep 17 00:00:00 2001 From: Val Erastov Date: Sun, 29 Jan 2017 23:40:14 -0800 Subject: [PATCH] BREP boolean point on point corner case(when cutting sketch) --- web/app/brep/operations/boolean.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/web/app/brep/operations/boolean.js b/web/app/brep/operations/boolean.js index 7afc5afb..a1ce0240 100644 --- a/web/app/brep/operations/boolean.js +++ b/web/app/brep/operations/boolean.js @@ -54,11 +54,12 @@ export function BooleanAlgorithm( shell1, shell2, type ) { __DEBUG__.Clear(); let facesData = []; - + + mergeVertices(shell1, shell2); + initSolveData(shell1, facesData); initSolveData(shell2, facesData); - mergeVertices(shell1, shell2); markOverlappingFaces(shell1, shell2); intersectFaces(shell1, shell2, type !== TYPE.UNION); mergeOverlappingFaces(shell1, shell2);