mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-03 17:56:21 +03:00
0025594: Valid shape is not visualize in shading mode.
Added test case.
This commit is contained in:
parent
1bb8ce7b7d
commit
e2fc86bbd9
24
tests/bugs/mesh/bug25594
Normal file
24
tests/bugs/mesh/bug25594
Normal file
@ -0,0 +1,24 @@
|
||||
puts "======="
|
||||
puts "0025594: Valid shape is not visualize in shading mode."
|
||||
puts "======="
|
||||
puts ""
|
||||
|
||||
restore [locate_data_file bug25594_face1.brep] result
|
||||
fixshape result result
|
||||
|
||||
vinit
|
||||
vdisplay result
|
||||
vsetdispmode 1
|
||||
vfront
|
||||
vfit
|
||||
|
||||
set log [tricheck result]
|
||||
if { [llength $log] != 0 } {
|
||||
puts "Error : Invalid mesh"
|
||||
} else {
|
||||
puts "Mesh is OK"
|
||||
}
|
||||
|
||||
checktrinfo result -tri 374 -nod 224
|
||||
|
||||
checkview -screenshot -3d -path ${imagedir}/${test_image}.png
|
Loading…
x
Reference in New Issue
Block a user