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

24 lines
509 B
Plaintext
Executable File

puts "============"
puts "BUC60907"
puts "OCC81"
puts "============"
puts ""
###############################
## Section shell by plane gives overlapped edges
###############################
restore [locate_data_file BUC60907_px1.rle] sh
checkshape sh
plane f 60 0 0 1 0 0
mkface f f
bsection result sh f
puts "Info: it should be 12 edges"
checknbshapes result -edge 12
checkprops result -l 33.6353
checkshape result
checksection result
checkview -display result -2d -path ${imagedir}/${test_image}.png