1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-05 18:16:23 +03:00
occt/tests/bugs/step/bug26342
ink 59e349919f 0026342: No materials are read from STEP
Changed number of  arguments for descriptive_representation_item (for the case when description is absent).

Test case for issue CR26342
2015-07-02 14:32:01 +03:00

23 lines
574 B
Plaintext
Executable File

puts "============"
puts "OCC26342"
puts "============"
puts ""
#######################################################################
# No materials are read from STEP
#######################################################################
pload DCAF
ReadStep D [locate_data_file OCC23251-dm1-oc-214.stp] res
set dump_info [ XDumpDF D ]
set XCAFDoc_Material_ID "efd212f8-6dfd-11d4-b9c8-0060b0ee281b"
if { [regexp ${XCAFDoc_Material_ID} ${dump_info}] == 1 } {
puts "OK: materials are read from STEP"
} else {
puts "Error : No materials are read from STEP"
}