From: dpasukhi Date: Mon, 19 Oct 2020 10:16:09 +0000 (+0300) Subject: 0025486: STEP file containing ASCII control character cannot be read X-Git-Url: http://git.dev.opencascade.org/gitweb/?a=commitdiff_plain;h=77cbb17bfa65914b99f15a19d9a680826bf801a1;p=occt-copy.git 0025486: STEP file containing ASCII control character cannot be read Add a check for correct reading of a STEP file with a "SUB" symbol --- diff --git a/tests/bugs/step/bug25486 b/tests/bugs/step/bug25486 new file mode 100644 index 0000000000..454aa00ad3 --- /dev/null +++ b/tests/bugs/step/bug25486 @@ -0,0 +1,16 @@ +puts "===================================================" +puts " 0025486: STEP file containing ASCII control character cannot be read" +puts "===================================================" +puts "" + +pload DCAF + +# Read file +ReadStep D [locate_data_file bug25486_badsymbol.stp] +XGetOneShape res D + +# Checking +checkshape res +checknbshapes res -vertex 8 -edge 12 -face 6 -wire 6 -compound 0 + +Close D \ No newline at end of file