puts "============"
puts "OCC26150"
puts "============"
puts ""
#########################################################################
# BRepOffsetAPI_ThruSections doesn't implement history method Generated()
#########################################################################

restore [locate_data_file bug27386_pr1.brep] pr1
restore [locate_data_file bug27386_pr2.brep] pr2
restore [locate_data_file bug27386_pr3.brep] pr3
beziercurve c1 3  0 50 -45  5 50 -50  0 50 -55
beziercurve c2 3  0 50 -45  -5 50 -50  0 50 -55
mkedge e1 c1
mkedge e2 c2
orientation e2 R
wire pr4 e1 e2
donly pr1 pr2 pr3 pr4

explode pr1
explode pr2
explode pr3
explode pr4

thrusections r 1 0 pr1 pr2 pr3 pr4 pr1

genthrus r1 pr1_1
genthrus r2 pr1_2
genthrus r3 pr1_3
genthrus r4 pr1_4
genthrus r5 pr2_1
genthrus r6 pr2_2
genthrus r7 pr2_3
genthrus r8 pr3_1
genthrus r9 pr4_1
genthrus r10 pr4_2

checknbshapes r1 -face 2
checkprops r1 -s 2254.99
checknbshapes r2 -face 2
checkprops r2 -s 2416.89
checknbshapes r3 -face 2
checkprops r3 -s 2792.66
checknbshapes r4 -face 3
checkprops r4 -s 2422.18
checknbshapes r5 -face 3
checkprops r5 -s 3484.47
checknbshapes r6 -face 2
checkprops r6 -s 3479.17
checknbshapes r7 -face 4
checkprops r7 -s 2923.08
checknbshapes r8 -face 9
checkprops r8 -s 9886.72
checknbshapes r9 -face 5
checkprops r9 -s 4946.01
checknbshapes r10 -face 4
checkprops r10 -s 4940.71

explode pr1 v
explode pr2 v
explode pr3 v
explode pr4 v

genthrus r11 pr1_1
genthrus r12 pr1_2
genthrus r13 pr1_3
genthrus r14 pr1_4
genthrus r15 pr2_1
genthrus r16 pr2_2
genthrus r17 pr2_3
genthrus r18 pr3_1
genthrus r19 pr4_1
genthrus r20 pr4_2

checkprops r11 -l 305.61
checkprops r12 -l 305.61
checkprops r13 -l 347.48
checkprops r14 -l 347.48
checkprops r15 -l 309.372
checkprops r16 -l 362.824
checkprops r17 -l 309.372
checkprops r18 -l 327.615
checkprops r19 -l 296.856
checkprops r20 -l 362.824
