From: mkv Date: Tue, 11 Jul 2017 14:11:25 +0000 (+0300) Subject: Test for 0022283: Problem with reading of attached IGES file. X-Git-Tag: V7_2_0_beta~47 X-Git-Url: http://git.dev.opencascade.org/gitweb/?a=commitdiff_plain;h=5a7e1e7d0004255ef2bc1200e606cf403f1514aa;p=occt.git Test for 0022283: Problem with reading of attached IGES file. --- diff --git a/tests/bugs/iges/bug22283 b/tests/bugs/iges/bug22283 new file mode 100644 index 0000000000..3098cf6a20 --- /dev/null +++ b/tests/bugs/iges/bug22283 @@ -0,0 +1,22 @@ +puts "========" +puts "OCC22283" +puts "========" +puts "" +########################################################################## +# Problem with reading of attached IGES file +########################################################################## + +igesbrep [locate_data_file bug22283_Mtwz_Training_Part.iges] a * +tpcompound result + +checkprops result -s 46235.4 +checkshape result + +set nbshapes_expected " +Number of shapes in shape + EDGE : 1380 + WIRE : 209 + FACE : 167 +" +checknbshapes result -ref ${nbshapes_expected} -t -m "importing file" +checkview -display result -3d -path ${imagedir}/${test_image}.png