0029807: [Regression to 7.0.0] Impossible to cut cone from prism
[occt.git] / tests / bugs / modalg_5 / bug23824_2
1 puts "============"
2 puts "OCC23824"
3 puts "============"
4 puts ""
5 #######################################################################
6 # Bad results of sweep operation when a path curve has unpredictable torsion along its way.
7 #######################################################################
8
9 set BugNumber OCC23824
10
11 restore [locate_data_file bug23824_Case1_Path.brep] spine 
12 restore [locate_data_file bug23824_Case1_Profile.brep] profile 
13
14 wire spine spine
15 wire profile profile
16
17 mksweep spine
18 setsweep -DT
19 addsweep profile
20 buildsweep result
21
22 checkprops result -s 8805.92 
23 checkshape result
24
25 checknbshapes result -vertex 2 -edge 3 -wire 1 -face 1 -shell 1 -solid 0 -compsolid 0 -compound 0 -shape 8
26 checkview -display result -2d -path ${imagedir}/${test_image}.png