0028050: Empty result of offset operation in mode complete join type intersection
[occt.git] / tests / offset / shape_type_i_c / XK4
diff --git a/tests/offset/shape_type_i_c/XK4 b/tests/offset/shape_type_i_c/XK4
new file mode 100644 (file)
index 0000000..86247c6
--- /dev/null
@@ -0,0 +1,21 @@
+restore [locate_data_file bug26917_rm-104_input_3_with_faces.brep] c
+
+# get the shape
+explode c
+copy c_1 s
+
+offsetparameter 1e-7 c i
+offsetload s 5
+
+foreach f [explode c_2 f] {
+  offsetonface $f 2
+}
+
+offsetperform result
+
+checkprops result -v 7.11183e+007 -s 7.46447e+006
+
+unifysamedom result_unif result
+checknbshapes result_unif -face 2010 -shell 1
+
+checkview -display result_unif -2d -path ${imagedir}/${test_image}.png