1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-06-30 12:14:08 +03:00
occt/tests/bugs/vis/buc60858
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

38 lines
966 B
Plaintext
Executable File

puts "============"
puts "BUC60858"
puts "============"
puts ""
######################################################################
## When I gave command "vdisplay a" , where a is shape restored from attached file.DRAW crashes
## with segmentation fault. Exception is raised in the file BRepMesh/triangle.cxx.
######################################################################
restore [locate_data_file BUC60858.brep] result
tclean result
isos 0
vinit
incmesh result 0.01
vdisplay result
vfit
vclear
vdisplay result
vsetdispmode result 1
isos result 0
triangles result
set info [trinfo result]
regexp { +([-0-9.+eE]+) +triangles} $info full tr
regexp { +([-0-9.+eE]+) +nodes} $info full nd
if { $tr == 0 || $nd == 0 } {
puts "Error : here is shading problem"
}
set 3dviewer 1