]> OCCT Git - occt.git/commitdiff
0029415: Data Exchange - Step reader cannot read the surfaces of the main body of...
authorona <ona@opencascade.com>
Wed, 29 Jun 2022 07:14:53 +0000 (10:14 +0300)
committersmoskvin <smoskvin@opencascade.com>
Thu, 30 Jun 2022 16:33:37 +0000 (19:33 +0300)
Test for model reading check is added

tests/bugs/step/bug29415 [new file with mode: 0644]

diff --git a/tests/bugs/step/bug29415 b/tests/bugs/step/bug29415
new file mode 100644 (file)
index 0000000..2af454f
--- /dev/null
@@ -0,0 +1,17 @@
+puts "============"
+puts "0029415: Data Exchange - Step reader cannot read the surfaces of the main body of the shape"
+puts "============"
+puts ""
+
+vclear
+vinit
+ReadStep D [locate_data_file bug29415_Test_JT_Part.step]
+
+XGetOneShape result D
+
+XDisplay D -dispMode 1
+vfit
+
+checkview -screenshot -3d -path ${imagedir}/${test_image}.png
+checkprops result -v 2.28963e+08
+checknbshapes result -vertex 5840 -edge 5863 -wire 1215 -face 1181 -shell 1180 -solid 1 -compsolid 0 -compound 15 -shape 15295