0033661: Data Exchange, Step Import - Tessellated GDTs are not imported
[occt.git] / tests / bugs / modalg_7 / bug30958
CommitLineData
bf97419a 1puts "=========================================================================================="
2puts "OCC30958: BRepOffsetAPI_ThruSections operation raises an except-ion while building history"
3puts "=========================================================================================="
4puts ""
5
6restore [locate_data_file bug30958_CompWires.brep] ww
7explode ww
8
9thrusections res 0 1 ww_1 ww_2
10
11savehistory hist
12
13explode ww_1
14
15generated r1 hist ww_1_1
16generated r2 hist ww_1_2
17
18checkprops r1 -s 22.4404
19checkprops r2 -s 81.2396
20
21explode ww_1 v
22
23generated rr1 hist ww_1_1
24generated rr2 hist ww_1_2
25generated rr3 hist ww_1_3
26
27distmini dd ww_1_1 rr1
28regexp {([-0-9.+eE]+)} [dump dd_val] full dist
29if { $dist > 1.e-7} {
30 puts "Error: wrong generated list of edges"
31}
32
33distmini dd ww_1_2 rr2
34regexp {([-0-9.+eE]+)} [dump dd_val] full dist
35if { $dist > 1.e-7} {
36 puts "Error: wrong generated list of edges"
37}
38
39distmini dd ww_1_3 rr3
40regexp {([-0-9.+eE]+)} [dump dd_val] full dist
41if { $dist > 1.e-7} {
42 puts "Error: wrong generated list of edges"
43}