Adding test cases from chl grid
[occt.git] / tests / thrusection / specific / H9
diff --git a/tests/thrusection/specific/H9 b/tests/thrusection/specific/H9
new file mode 100755 (executable)
index 0000000..a0e64a7
--- /dev/null
@@ -0,0 +1,43 @@
+puts "============"
+puts "OCC7166"
+puts "============"
+puts ""
+#######################################################################
+# Improvement of API of ThruSection
+#######################################################################
+
+set BugNumber OCC7166
+
+# spine
+polyline s1 0 0 20 0 0 -20
+
+# profile
+polyline s2 0 5 0  5 0 0 -5 -5 0  0 5 0
+
+# 1 vertex
+vertex v1 5 2.5 -20
+
+mksweep s1
+
+addsweep v1 -T
+addsweep s2 -T
+
+buildsweep result
+
+
+set square 1192.53
+
+set nb_v_good 4
+set nb_e_good 6
+set nb_w_good 3
+set nb_f_good 3
+set nb_sh_good 1
+set nb_sol_good 0
+set nb_compsol_good 0
+set nb_compound_good 0
+set nb_shape_good 17
+
+
+
+set 3dviewer 0
+