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

