1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-06-30 12:14:08 +03:00
occt/tests/bugs/step/bug26715_1
ika a7197ef3c7 0026715: Problems in reading STEP short names in complex entities
Add function to find next part of complex entity by name or short name.
Add missing short names.

Test cases for issue CR26715
2015-10-01 14:02:03 +03:00

29 lines
638 B
Plaintext
Executable File

puts "========"
puts "OCC26715"
puts "========"
puts ""
##########################################################################
# Problems in reading STEP short names in complex entities
##########################################################################
stepread [locate_data_file bug26715_001.stp] a *
tpcompound result
set square 28950.7
set nbshapes_expected "
Number of shapes in shape
VERTEX : 420
EDGE : 536
WIRE : 120
FACE : 118
SHELL : 1
SOLID : 1
COMPSOLID : 0
COMPOUND : 1
SHAPE : 1197
"
checknbshapes result -ref ${nbshapes_expected} -t -m "importing file"
set 3dviewer 1