From 5a7e1e7d0004255ef2bc1200e606cf403f1514aa Mon Sep 17 00:00:00 2001 From: mkv Date: Tue, 11 Jul 2017 17:11:25 +0300 Subject: [PATCH] Test for 0022283: Problem with reading of attached IGES file. --- tests/bugs/iges/bug22283 | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 tests/bugs/iges/bug22283 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