1 puts "=========================================================================================="
2 puts "OCC30958: BRepOffsetAPI_ThruSections operation raises an except-ion while building history"
3 puts "=========================================================================================="
6 restore [locate_data_file bug30958_CompWires.brep] ww
9 thrusections res 0 1 ww_1 ww_2
15 generated r1 hist ww_1_1
16 generated r2 hist ww_1_2
18 checkprops r1 -s 22.4404
19 checkprops r2 -s 81.2396
23 generated rr1 hist ww_1_1
24 generated rr2 hist ww_1_2
25 generated rr3 hist ww_1_3
27 distmini dd ww_1_1 rr1
28 regexp {([-0-9.+eE]+)} [dump dd_val] full dist
30 puts "Error: wrong generated list of edges"
33 distmini dd ww_1_2 rr2
34 regexp {([-0-9.+eE]+)} [dump dd_val] full dist
36 puts "Error: wrong generated list of edges"
39 distmini dd ww_1_3 rr3
40 regexp {([-0-9.+eE]+)} [dump dd_val] full dist
42 puts "Error: wrong generated list of edges"