mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-07 18:30:55 +03:00
0029751: Incremental mesh produces different meshes for windows and linux (debian 8)
Adding test case for the problem. The issue has been fixed by a patch for #26106.
This commit is contained in:
parent
57d0f56b58
commit
9d09a1263e
29
tests/bugs/mesh/bug29751
Normal file
29
tests/bugs/mesh/bug29751
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
puts "======="
|
||||||
|
puts "0029751: Incremental mesh produces different meshes for windows and linux (debian 8)"
|
||||||
|
puts "======="
|
||||||
|
puts ""
|
||||||
|
|
||||||
|
psphere sp 10
|
||||||
|
pcylinder b1 2 10
|
||||||
|
ttranslate b1 0 0 -10
|
||||||
|
bcut result sp b1
|
||||||
|
trotate result 0 0 0 1 0 0 45
|
||||||
|
incmesh result 0.1
|
||||||
|
|
||||||
|
vinit
|
||||||
|
vdefaults -autoTriang 0
|
||||||
|
vdisplay result
|
||||||
|
vsetinteriorstyle 1
|
||||||
|
vsetdispmode 1
|
||||||
|
vfit
|
||||||
|
|
||||||
|
set log [tricheck result]
|
||||||
|
if { [llength $log] != 0 } {
|
||||||
|
puts "Error : Invalid mesh"
|
||||||
|
} else {
|
||||||
|
puts "Mesh is OK"
|
||||||
|
}
|
||||||
|
|
||||||
|
checktrinfo result -tri 1013 -nod 578 -defl 0.1
|
||||||
|
|
||||||
|
checkview -screenshot -3d -path ${imagedir}/${test_image}.png
|
Loading…
x
Reference in New Issue
Block a user