#2218 Decreate (hardcode) angular tolerance on boolean op extrusion detection

This commit is contained in:
Thomas Krijnen
2022-05-31 11:14:35 +02:00
parent 0d982090e3
commit d7f913d464
+3 -2
View File
@@ -560,13 +560,14 @@ namespace {
continue;
}
// @todo use a linear tolernace and the face extrimities, see #2218
const TopoDS_Edge& e = TopoDS::Edge(s);
if (!get_edge_axis(e, ax)) {
// curved
curved_orthogonal.Add(e);
} else if (ax.IsParallel(V, 1.e-5)) {
} else if (ax.IsParallel(V, 1.e-7)) {
parallel.Append(e);
} else if (ax.IsNormal(V, 1.e-5)) {
} else if (ax.IsNormal(V, 1.e-7)) {
// ortho
curved_orthogonal.Add(e);
} else {