mirror of
https://github.com/xibyte/jsketcher
synced 2025-12-09 18:02:50 +01:00
slip overlapping surfaces
This commit is contained in:
parent
8f3c07f952
commit
a820a68639
1 changed files with 4 additions and 0 deletions
|
|
@ -259,6 +259,10 @@ function intersectFaces(shell1, shell2, inverseCrossEdgeDirection) {
|
|||
const face1 = shell1.faces[i];
|
||||
const face2 = shell2.faces[j];
|
||||
|
||||
if (face1.surface.equals(face2.surface, TOLERANCE)) {
|
||||
continue;
|
||||
}
|
||||
|
||||
const curve = face1.surface.intersect(face2.surface);
|
||||
|
||||
const nodes = [];
|
||||
|
|
|
|||
Loading…
Reference in a new issue