0030346: Modeling Algorithms - BRepPrimAPI_MakeRevol throws "BRepSweep_Translation...
[occt.git] / tests / bugs / moddata_2 / bug23201
1 puts "============"
2 puts "OCC23201"
3 puts "============"
4 puts ""
5 #######################################################################
6 # Projection algorithm produces wrong results.
7 #######################################################################
8
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
24 project c23 c2 s3
25 checklength c23 -l 3.1415926535897922
26
27 project c32 c3 s2
28 checklength c32 -l 3.1415926535897922