1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-10 18:51:21 +03:00
occt/tests/bugs/modalg/buc60946
apn 352ffd7358 Adding test cases for chl grid
Test case tests/bugs/modalg/dxf906 was renamed to bug889
Adding test cases to tests/bugs/moddata
Modified expressions puts [checkshape result]. Added command vzfit in end file in folder bugs. Unlocked command coordload in QABugs_3.cxx
Modified test case bugs vis buc60738
Added test cases to modalg and moddata
Added test cases to caf and fclasses
Added test cases to group heal
2012-12-21 16:39:38 +04:00

26 lines
549 B
Plaintext
Executable File

puts "============"
puts "BUC60946"
puts "============"
restore [locate_data_file BUC60946_prism.brep] c
explode c
checkshape c_1
checkshape c_2
renamevar c_1 sh
renamevar c_2 pr
bsection result sh pr
set nb_info [nbshapes result]
regexp {VERTEX +: +([-0-9.+eE]+)} $nb_info full nb_vertices
regexp {EDGE +: +([-0-9.+eE]+)} $nb_info full nb_edges
if { $nb_vertices != $nb_edges } {
puts "Section is opened: Faulty shape"
} else {
puts "Section is closed: OK"
}
set length 52.5057
set 2dviewer 0