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

polyline w1 -10 -10 0  10 -10 0  10 10 0  -10 10 0  -10 -10 0
polyline w2 -10 -10 20  10 -10 20  10 10 20  -10 10 20  -10 -10 20
trotate w2 0 0 0  0 0 1  45
polyline w3 -10 -10 40  10 -10 40  10 10 40  -10 10 40  -10 -10 40
trotate w3 0 0 0  0 0 1  90
vertex v1 0 0 -30
vertex v2 0 0 70

explode w1

thrusections -N r 1 0 v1 w1 w2 w3 v2

savehistory hist

generated r1 hist w1_1
generated r2 hist w1_2
generated r3 hist w1_3
generated r4 hist w1_4

checkprops r1 -s 1694.42
checkprops r2 -s 1694.42
checkprops r3 -s 1694.42
checkprops r4 -s 1694.42

generated r5 hist v1
generated r6 hist v2

checknbshapes r5 -edge 4
checkprops r5 -l 466.764
checknbshapes r6 -edge 4
checkprops r6 -l 466.764
