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/bug31568
ika ae58f70718 0031568: Data Exchange - invalid model produced after STEP import
Add protection against reference to reference in STEP import.
2020-05-22 19:32:21 +03:00

14 lines
421 B
Plaintext

puts "================================================================="
puts "0031568: Data Exchange - invalid model produced after STEP import"
puts "================================================================="
pload DCAF
ReadStep D [locate_data_file bug31568_Konecranes_Sample_3D.stp]
set ref [XGetReferredShape D 0:1:1:41:11]
if {$ref != "0:1:1:23"} {
puts "Error: wrong reference in data model"
}
Close D