f204ec4c |
1 | puts "================" |
2 | puts "OCC25264" |
3 | puts "================" |
4 | puts "" |
5 | ####################################################################################### |
6 | # Mesh very slow for Revol shape |
7 | ###################################################################################### |
8 | |
9 | restore [locate_data_file bug25264_wire.brep] w |
10 | |
11 | # right revol position, mesh is very fast. |
12 | revol result1 w 20583.283203125 14039.0208237378 28443.2585934755 0 0 1 360 |
44fae8b1 |
13 | dchrono i restart |
f204ec4c |
14 | incmesh result1 0.1 |
44fae8b1 |
15 | dchrono i stop counter incmesh_1 |
f204ec4c |
16 | |
17 | # wrong revol position, mesh is very slow in occ6.7, while in occ6.2 is very fast. |
18 | revol result2 w 20583.283203125 14039.0208217527 28443.25860033352 0 0 1 360 |
44fae8b1 |
19 | dchrono j restart |
f204ec4c |
20 | incmesh result2 0.1 |
44fae8b1 |
21 | dchrono j stop counter incmesh_2 |
f204ec4c |
22 | |
23 | checkview -display result1 -3d -path ${imagedir}/${test_image}_1.png |
24 | checkview -display result2 -3d -path ${imagedir}/${test_image}_2.png |
25 | |