3bea4c16 |
1 | puts "============" |
2 | puts "OCC23201" |
3 | puts "============" |
4 | puts "" |
5 | ####################################################################### |
6 | # Projection algorithm produces wrong results. |
7 | ####################################################################### |
8 | |
3bea4c16 |
9 | restore [locate_data_file bug23201_Tool_1.brep] b2 |
10 | restore [locate_data_file bug23201_Tool_2.brep] b3 |
11 | |
12 | explode b2 f |
13 | mksurface s2 b2_1 |
14 | |
15 | explode b3 f |
16 | mksurface s3 b3_1 |
17 | |
18 | explode b2 e |
19 | mkcurve c2 b2_2 |
20 | |
21 | explode b3 e |
22 | mkcurve c3 b3_2 |
23 | |
3ad6d001 |
24 | project c23 c2 s3 |
25 | checklength c23 -l 3.1415926535897922 |
3bea4c16 |
26 | |
3ad6d001 |
27 | project c32 c3 s2 |
28 | checklength c32 -l 3.1415926535897922 |