From: dpasukhi Date: Sun, 13 Sep 2020 08:35:47 +0000 (+0300) Subject: 0025440: Data Exchange - STEP file with Japanese unicode symbols cannot be read X-Git-Tag: V7_5_0_beta~48 X-Git-Url: http://git.dev.opencascade.org/gitweb/?a=commitdiff_plain;h=87cf7029c39a290b2adc5a4ec0494d1f3f2bb5b5;p=occt.git 0025440: Data Exchange - STEP file with Japanese unicode symbols cannot be read Add a test case to verify that the .STEP is read correctly --- diff --git a/tests/bugs/step/bug25440 b/tests/bugs/step/bug25440 new file mode 100644 index 0000000000..c316249c72 --- /dev/null +++ b/tests/bugs/step/bug25440 @@ -0,0 +1,15 @@ +puts "========================" +puts "0025440: Data Exchange - STEP file with Japanese unicode symbols cannot be read" +puts "========================" + +# Read file +stepread [locate_data_file bug25440_Assy.stp] res * + +# Checking +set state [data c] +if { [regexp "1350 Entities, of which 58 Root" $state] != 1 } { + puts "Error : wrong count of transferred roots" +} + +checknbshapes res_1 -face 35 -shell 1 -solid 1 +checkshape res_1 f