1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-03 17:56:21 +03:00
occt/tests/bugs/step/bug28345
dpasukhi 078f916446 0028345: Data Exchange - Reading STEP model using STEPCAF crashes
# Add test to verify import
* Note: Each layer contains a valid name, but only one contains a link to the shape, so .step file contains only one valid Layer.
2020-07-23 16:08:19 +03:00

16 lines
447 B
Plaintext

puts "# ====================================================================="
puts "# 0028345: Data Exchange - Reading STEP model using STEPCAF crashes"
puts "# ====================================================================="
puts ""
pload DCAF
ReadStep D_1 [locate_data_file bug28345_30338.stp]
# Check imported names
set info [XGetAllLayers D_1]
if { [regexp "COMPONENTS" $info] != 1 } {
puts "Error : wrong layer name"
}
Close D_1