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_1/buc60532_1
ski 5747059b21 0026833: Create command checkview containing all viewer types
Created command checkview for displaying shapes.
2016-02-05 11:14:37 +03:00

25 lines
447 B
Plaintext
Executable File

puts "==========="
puts "BUC60532"
puts "==========="
restore [locate_data_file buc60532a.brep] p
checkshape p
restore [locate_data_file buc60532b.brep] t1
checkshape t1
restore [locate_data_file buc60532c.brep] t2
checkshape t2
# create halfspace
halfspace h1 t1 20 20 0
halfspace h2 t2 20 20 0
# first cut
bcut result p h1
checkprops result -s 81.8172
checkshape result
checkview -display result -2d -path ${imagedir}/${test_image}.png