1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-04 18:06:22 +03:00
occt/tests/bugs/modalg_5/bug24746
ski 5747059b21 0026833: Create command checkview containing all viewer types
Created command checkview for displaying shapes.
2016-02-05 11:14:37 +03:00

22 lines
472 B
Plaintext

puts "=========="
puts "OCC24746"
puts "=========="
puts ""
#######################
# Bug in BRepAlgoAPI
#######################
pload XDE
ReadStep doc [locate_data_file bug24746_ENI.stp]
XGetShape c doc 0:1:1:1
explode c f
explode c_2 e
bop c_1 c_2
bopcommon res1
bop c_1 c_2_4
bopcommon result
checknbshapes result -vertex 2 -edge 1 -wire 0 -face 0 -shell 0 -solid 0 -compsolid 0 -compound 1 -shape 4
checkview -display result -2d -path ${imagedir}/${test_image}.png