From 0ccd71060a3da823caf50ec3124d31ea28d62cc2 Mon Sep 17 00:00:00 2001 From: emv Date: Wed, 22 Nov 2017 16:29:40 +0300 Subject: [PATCH] 0029175: BRepOffsetAPI_MakeOffset problem The problem is fixed by the fix for the issue #29162. Creating test case for the issue. --- tests/bugs/modalg_7/bug29175 | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 tests/bugs/modalg_7/bug29175 diff --git a/tests/bugs/modalg_7/bug29175 b/tests/bugs/modalg_7/bug29175 new file mode 100644 index 0000000000..9b19885046 --- /dev/null +++ b/tests/bugs/modalg_7/bug29175 @@ -0,0 +1,20 @@ +puts "========" +puts "OCC29175" +puts "========" +puts "" +################################################# +# BRepOffsetAPI_MakeOffset problem +################################################# + +restore [locate_data_file bug29175_Face.brep] f +mkoffset result f 1 40 + +checkshape result_1 +checknbshapes result_1 -vertex 24 -edge 24 -wire 3 +checkprops result_1 -l 8339.73 + +smallview +don f result_1 +fit + +checkview -screenshot -2d -path ${imagedir}/${test_image}.png