5 ######################################################
6 # Error in algorithms BRepOffsetAPI_ThruSections and BRepOffsetAPI_MakePipeShell:
7 # sections with degenerated edges are processed in
8 ######################################################
10 set BugNumber OCC22646
12 restore [locate_data_file bug22646_source.brep] s1
13 restore [locate_data_file bug22646_scale_translate_xyz.brep] s2
14 restore [locate_data_file bug22646_scale_translate_yz.brep] s3
15 restore [locate_data_file bug22646_scale_translate_z.brep] s4
22 thrusections res2 0 0 s1_1 s2_1
25 foreach s {s1_1 s2_1} {
27 foreach ss [explode $s $type] {
28 if {[catch { generated g2 hist $ss } catch_res]} {
29 puts "Error: Unable to get generated shapes"
35 thrusections res3 0 0 s1_1 s3_1
38 foreach s {s1_1 s3_1} {
40 foreach ss [explode $s $type] {
41 if {[catch { generated g3 hist $ss } catch_res]} {
42 puts "Error: Unable to get generated shapes"
48 thrusections res4 0 0 s1_1 s4_1
51 foreach s {s1_1 s4_1} {
53 foreach ss [explode $s $type] {
54 if {[catch { generated g4 hist $ss } catch_res]} {
55 puts "Error: Unable to get generated shapes"
67 checkview -screenshot -3d -path ${imagedir}/${test_image}.png