0030722: Modeling Algorithms - BRepExtrema_DistShapeShape computes wrong distances
[occt.git] / tests / bugs / modalg_7 / bug30722
diff --git a/tests/bugs/modalg_7/bug30722 b/tests/bugs/modalg_7/bug30722
new file mode 100644 (file)
index 0000000..f768d5d
--- /dev/null
@@ -0,0 +1,16 @@
+puts "================================================================="
+puts "OCC30722: Modeling Algorithms - BRepExtrema_DistShapeShape computes wrong distances"
+puts "================================================================="
+puts ""
+
+restore [locate_data_file bug30722_1.brep] w
+restore [locate_data_file bug30722_2.brep] e
+
+explode w
+mkcurve c1 w_1
+mkcurve c2 e
+extrema c1 c2
+
+if { [isdraw ext_1] == 0 } {
+puts "Error: no solutions!"
+}
\ No newline at end of file