From 84caaf81a04038123e0617ab0ec130de9aa5a9c0 Mon Sep 17 00:00:00 2001
From: emv <emv@opencascade.com>
Date: Tue, 30 Aug 2016 08:00:08 +0300
Subject: [PATCH] 0027759: Invalid result of a Boolean fuse operation

Test case for the issue.
---
 tests/bugs/modalg_6/bug27759 | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)
 create mode 100644 tests/bugs/modalg_6/bug27759

diff --git a/tests/bugs/modalg_6/bug27759 b/tests/bugs/modalg_6/bug27759
new file mode 100644
index 0000000000..c6657743f1
--- /dev/null
+++ b/tests/bugs/modalg_6/bug27759
@@ -0,0 +1,22 @@
+puts "========"
+puts "OCC27759"
+puts "========"
+puts ""
+#################################################
+# Invalid result of a Boolean fuse operation
+#################################################
+
+restore [locate_data_file bug27759_shapes.brep] b
+explode b
+
+# use the fuzzy option
+bfuzzyvalue 1e-3
+bfuse result b_1 b_2
+
+checkshape result
+checknbshapes result -shell 2 -solid 2
+checkprops result -s 3.45465 -v 0.176959
+
+
+# restore default value
+bfuzzyvalue 0.0