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

29 lines
456 B
Plaintext
Executable File

puts "================"
puts "OCC578"
puts "OCC582"
puts "OCC583"
puts "================"
puts ""
restore [locate_data_file OCC578_w1.brep] w1
checkshape w1
restore [locate_data_file OCC578_w2.brep] w2
checkshape w2
set x 1
set y 1
set z 0.5
box b ${x} ${y} ${z}
checkshape b
bfuse res1 w1 w2
checkshape res1
bop b res1
bopcut result
checkprops result -s 4.84596
checkshape result
checkview -display result -3d -path ${imagedir}/${test_image}.png