0023748: Bad monitoring of intermediate results in offset commands
[occt.git] / tests / bugs / modalg_2 / bug526
CommitLineData
352ffd73 1#INTERFACE IGES
2puts "========"
3puts "OCC526"
4puts "========"
5puts ""
6################################################
7## BRepAlgoAPI_Section fails to build planar sections on some faces
8################################################
9
10pload XDE
352ffd73 11
12restore [locate_data_file OCC592.brep] a
13
14set Z 67.599311020481764
15plane p 0 0 $Z
16psection r1 a p
17if ![regexp VERTEX [statshape r1]] {puts [format "OCC526 FAULTY Z=%f" $Z ] }
18
19set Z 66.599311020481764
20plane p 0 0 $Z
21psection r2 a p
22if ![regexp VERTEX [statshape r2]] {puts [format "OCC526 FAULTY Z=%f" $Z ] }
23
24set Z 65.599311020481764
25plane p 0 0 $Z
26psection result a p
27if ![regexp VERTEX [statshape result]] {puts [format "OCC526 FAULTY Z=%f" $Z ] }
28
29set length 27.8021
30set 2dviewer 1
31
32