From: dpasukhi Date: Sun, 13 Sep 2020 10:12:16 +0000 (+0300) Subject: 0030014: Data Exchange - Step File import does not create shapes, after transfer... X-Git-Tag: V7_5_0_beta~45 X-Git-Url: http://git.dev.opencascade.org/gitweb/?a=commitdiff_plain;h=3d46ce87d704dd7a7793c916badc8a3d01123162;p=occt-copy.git 0030014: Data Exchange - Step File import does not create shapes, after transfer roots Add a test case to verify that the .STEP is read correctly --- diff --git a/tests/bugs/step/bug30014 b/tests/bugs/step/bug30014 new file mode 100644 index 0000000000..256a0f997b --- /dev/null +++ b/tests/bugs/step/bug30014 @@ -0,0 +1,15 @@ +puts "========================" +puts "0030014: Step File import does not create shapes, after transfer roots" +puts "========================" + +# Read file +stepread [locate_data_file bug30014.stp] res * + +# Checking +set state [data c] +if { [regexp "135006 Entities, of which 1704 Root" $state] != 1 } { + puts "Error : wrong count of transferred roots" +} + +checknbshapes res_1 -face 3984 -shell 127 -solid 123 +checkshape res_1 f \ No newline at end of file