mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-04 18:06:22 +03:00
0025264: Mesh very slow for Revol shape
Test case added Small corrections of test case
This commit is contained in:
parent
75378f50ea
commit
f204ec4c37
31
tests/bugs/mesh/bug25264
Normal file
31
tests/bugs/mesh/bug25264
Normal file
@ -0,0 +1,31 @@
|
||||
puts "================"
|
||||
puts "OCC25264"
|
||||
puts "================"
|
||||
puts ""
|
||||
#######################################################################################
|
||||
# Mesh very slow for Revol shape
|
||||
######################################################################################
|
||||
|
||||
restore [locate_data_file bug25264_wire.brep] w
|
||||
|
||||
# right revol position, mesh is very fast.
|
||||
revol result1 w 20583.283203125 14039.0208237378 28443.2585934755 0 0 1 360
|
||||
dchrono i reset
|
||||
dchrono i start
|
||||
incmesh result1 0.1
|
||||
dchrono i stop
|
||||
regexp {CPU user time: ([0-9|.]+) seconds} [dchrono i show] full Iseconds
|
||||
|
||||
# wrong revol position, mesh is very slow in occ6.7, while in occ6.2 is very fast.
|
||||
revol result2 w 20583.283203125 14039.0208217527 28443.25860033352 0 0 1 360
|
||||
dchrono j reset
|
||||
dchrono j start
|
||||
incmesh result2 0.1
|
||||
dchrono j stop
|
||||
regexp {CPU user time: ([0-9|.]+) seconds} [dchrono j show] full Jseconds
|
||||
|
||||
checkreal "Meshing time" ${Jseconds} ${Iseconds} 0.05 0
|
||||
|
||||
checkview -display result1 -3d -path ${imagedir}/${test_image}_1.png
|
||||
checkview -display result2 -3d -path ${imagedir}/${test_image}_2.png
|
||||
|
Loading…
x
Reference in New Issue
Block a user