0031203: Test harness command "bsection" on the planar faces return only one vertex...
[occt.git] / tests / bugs / modalg_7 / bug31203
diff --git a/tests/bugs/modalg_7/bug31203 b/tests/bugs/modalg_7/bug31203
new file mode 100644 (file)
index 0000000..6d6ceea
--- /dev/null
@@ -0,0 +1,14 @@
+puts "======================================================="
+puts "0031203: Test harness command bsection on the planar faces return only one vertex instead edge representing intersection line"
+puts "======================================================="
+puts ""
+
+pload MODELING
+
+restore [locate_data_file bug31203.brep] s 
+
+explode s
+bsection sec s_1 s_2
+
+checknbshapes sec -edge 1 -vertex 2
+