Added test cases to folders /bugs/modalg and /bugs/moddata from chl grid.
[occt.git] / tests / bugs / modalg / bug22361
diff --git a/tests/bugs/modalg/bug22361 b/tests/bugs/modalg/bug22361
new file mode 100755 (executable)
index 0000000..257be48
--- /dev/null
@@ -0,0 +1,37 @@
+puts "============"
+puts "OCC22361"
+puts "============"
+puts ""
+################################################################################################################################
+# Incorrect result of BRepOffsetAPI_MakePipeShell algorithm: it tries to build conical surface between two non-coaxial circles
+################################################################################################################################
+set BugNumber 22361
+
+circle c1 0 0 0 7
+circle c2 5.28270543795374 13.2067635948844 26.4135271897687 21
+polyline pp 0 0 0  5.28270543795374 13.2067635948844 26.4135271897687
+mkedge c1 c1
+wire c1 c1
+mkedge c2 c2
+wire c2 c2
+fit
+
+mksweep pp
+addsweep c1
+addsweep c2
+
+buildsweep result
+
+set square 2745.88
+
+set nb_v_good 2
+set nb_e_good 3
+set nb_w_good 1
+set nb_f_good 1
+set nb_sh_good 1
+set nb_sol_good 0
+set nb_compsol_good 0
+set nb_compound_good 0
+set nb_shape_good 8
+
+set 3dviewer 0