9026dea8 |
1 | puts "=======" |
2 | puts "OCC5145" |
3 | puts "=======" |
4 | puts "" |
5 | ##################################################### |
6 | # Wrong result of projection of a circle on a sphere. |
7 | ##################################################### |
8 | |
9 | restore [locate_data_file bug5145_f1.brep] f1 |
10 | restore [locate_data_file bug5145_c.draw] c |
11 | |
12 | mksurface s f1 |
13 | |
14 | trim c1 c 0 pi |
15 | trim c2 c pi 2.*pi |
16 | |
17 | project c2d1 c1 s |
18 | project c2d2 c2 s |
19 | |
20 | checklength c2d1 -l 3.68009 |
21 | checklength c2d2 -l 3.68009 |
22 | |
23 | v2d |
24 | 2dfit |
25 | |
26 | checkview -screenshot -2d -path ${imagedir}/${test_image}.png |