0030760: Modeling Algorithms - Intersection fails in Occt 7.3.0
[occt.git] / tests / bugs / modalg_7 / bug25458
CommitLineData
dfdfa61f 1puts "TODO OCC25458 ALL: Error : 1-fold tori is bad"
2
3puts "============"
4puts "OCC25458"
5puts "============"
6puts ""
7###########################################################################
8## can a sweep be used to create 1-fold tori (using a closed wire as path)
9###########################################################################
10
11restore [locate_data_file bug25458_sweep-torus1-draw-Wire.brep] Wire
12
13explode Wire E
14wire Sweep-0-spine Wire_1
15
16mksweep Sweep-0-spine
17setsweep -FR
18
19circle Circle-curve 0 0 0 10
20mkedge Circle-edge Circle-curve 0 0
21wire Circle Circle-edge
22trotate Circle 0 0 0 1 0 0 90
23ttranslate Circle 40.1121575545 0 36.5930306315
24
25addsweep Circle
26buildsweep Sweep -C -S
27
28set info [bopcheck Sweep]
29
30if { [regexp "This shape seems to be OK" ${info}] != 1 } {
31 puts "Error : 1-fold tori is bad"
32}
33
34checkview -display Sweep -3d -path ${imagedir}/${test_image}.png