0023751: Test case bugs modalg bug6334 does not work with new Boolean Operation Algor...
[occt.git] / tests / bugs / moddata_1 / bug17046
CommitLineData
3bea4c16 1puts "============"
2puts "OCC17046"
3puts "============"
4puts ""
5#######################################################################
6# Exception in Extrema_ExtPS on Mandriva2006 32-bits
7#######################################################################
8
9set BugNumber OCC17046
10
11# Create ellipsoidal surface
12ellipse ell 0 0 300 1 0 0 150 100
13mkedge ell_e ell
14wire ell_w ell_e
15mkplane ell_f ell_w 1
16
17box ell_t -10 -110 140 20 110 460
18cut ell_d ell_f ell_t
19
20revol ell_z ell_d 0 0 0 0 0 1 360
21explode ell_z F
22mksurface su1 ell_z_1
23
24# Perform projection
25set BugStatus 0
26if [catch { proj su1 0 100 300 } ] {
27 set BugStatus 1
28}
29
30# Resume
31puts ""
32if { ${BugStatus} != 0 } {
33 puts "Faulty ${BugNumber}"
34} else {
35 puts "OK ${BugNumber}"
36}