0031845: Modeling Algorithms - BRepOffsetAPI_MakeThickSolid fails
[occt.git] / tests / offset / bugs / bug28903
diff --git a/tests/offset/bugs/bug28903 b/tests/offset/bugs/bug28903
new file mode 100644 (file)
index 0000000..13a267f
--- /dev/null
@@ -0,0 +1,20 @@
+puts "============"
+puts "OCC28903"
+puts "============"
+puts ""
+##################################################################################
+# BRepOffset_MakeOffset produces invalid shape (thickshell) in Intersection mode
+##################################################################################
+
+restore [locate_data_file bug28903_Fuse_3.brep] a
+
+thickshell result a 10 i
+donly result
+
+checkshape result
+
+checknbshapes result -solid 1 -shell 1 -face 6 -wire 7 -edge 12 -vertex 7 -shape 34
+
+checkmaxtol result -min_tol 0.0015
+
+checkprops result -v 1.1845e+006