mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-03 17:56:21 +03:00
0030539: Data Exchange - Step file can't be imported (ADT.step)
Add a test case to verify that the .STEP is read correctly
This commit is contained in:
parent
87cf7029c3
commit
c6d45aceb8
15
tests/bugs/step/bug30539
Normal file
15
tests/bugs/step/bug30539
Normal file
@ -0,0 +1,15 @@
|
||||
puts "========================"
|
||||
puts "0030539: Data Exchange - Step file can't be imported"
|
||||
puts "========================"
|
||||
|
||||
# Read file
|
||||
stepread [locate_data_file bug30539.stp] res *
|
||||
|
||||
# Checking
|
||||
set state [data c]
|
||||
if { [regexp "32 Entities, of which 3 Root" $state] != 1 } {
|
||||
puts "Error : wrong count of transferred roots"
|
||||
}
|
||||
|
||||
checknbshapes res_1 -face 1 -shell 1 -solid 1
|
||||
checkshape res_1 f
|
Loading…
x
Reference in New Issue
Block a user