mirror of
https://github.com/xibyte/jsketcher
synced 2026-02-19 05:44:09 +01:00
remove belong to pane test
This commit is contained in:
parent
db9d4c1c5d
commit
bee20acf88
1 changed files with 0 additions and 6 deletions
|
|
@ -715,15 +715,9 @@ TCAD.craft.cut = function(app, face, faces, height) {
|
|||
|
||||
for (var pi = 0; pi < paths.length; ++pi) {
|
||||
var path = paths[pi];
|
||||
// var depth = paths3D[pi].vertices[0].dot(paths3D[pi].normal);
|
||||
for (var piTest = 0; piTest < paths.length; ++piTest) {
|
||||
var pathTest = paths[piTest];
|
||||
if (piTest === pi) continue;
|
||||
if (!pathTest.normal.equals(path.normal)) continue;
|
||||
// var depthTest = paths3D[piTest].vertices[0].dot(paths3D[piTest].normal);
|
||||
// if (!TCAD.utils.equal(depthTest, depth)) continue;
|
||||
if (!TCAD.utils.areEqual(path.w, pathTest.w, 10E-6)) continue;
|
||||
|
||||
if (pInP(pathTest.vertices, path.vertices)) {
|
||||
index[piTest].push(pi);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue