0031845: Modeling Algorithms - BRepOffsetAPI_MakeThickSolid fails
[occt.git] / tests / offset / bugs / bug27911
diff --git a/tests/offset/bugs/bug27911 b/tests/offset/bugs/bug27911
new file mode 100644 (file)
index 0000000..5ebf14e
--- /dev/null
@@ -0,0 +1,20 @@
+puts "========"
+puts "OCC27911"
+puts "========"
+puts ""
+#######################################
+# Exception during offset computation
+#######################################
+
+restore [locate_data_file bug27911.brep] s
+
+offsetparameter 1e-7 p i
+offsetload s 10
+offsetperform result
+
+unifysamedom result_unif result
+
+checkshape result
+checkprops result -s 109689
+checknbshapes result -ref [lrange [nbshapes s] 8 19]
+checkview -display result_unif -2d -path ${imagedir}/${test_image}.png