Loading files
This file is pinned to the selected release. Download the original to open it in your design tool.
f2929057eThis file is pinned to the selected release. Download the original to open it in your design tool.
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
polyline w2 10 8 20 0 -10 20 -10 7 20
circle w3 0 0 40 10
trim w3 w3 pi 2*pi
mkedge w3 w3
wire w3 w3
vertex v1 0 0 -30
vertex v2 0 0 70
explode w1
explode w2
explode w3
thrusections r 0 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 w2_1
generated r5 hist w2_2
generated r6 hist w3_1
checknbshapes r1 -face 1
checkprops r1 -s 1409.51
checknbshapes r2 -face 2
checkprops r2 -s 1703.44
checknbshapes r3 -face 1
checkprops r3 -s 1401.17
checknbshapes r4 -face 2
checkprops r4 -s 2316.52
checknbshapes r5 -face 2
checkprops r5 -s 2197.61
checknbshapes r6 -face 4
checkprops r6 -s 4514.13
explode w1 v
explode w2 v
explode w3 v
generated r7 hist w1_1
generated r8 hist w1_2
generated r9 hist w1_3
generated r10 hist w1_4
generated r11 hist w2_1
generated r12 hist w2_2
generated r13 hist w2_3
generated r14 hist w3_1
generated r15 hist w3_2
generated r16 hist v1
generated r17 hist v2
checkprops r7 -l 109.077
checkprops r8 -l 122.394
checkprops r9 -l 124.029
checkprops r10 -l 109.865
checkprops r11 -l 109.865
checkprops r12 -l 104.896
checkprops r13 -l 109.077
checkprops r14 -l 109.077
checkprops r15 -l 109.865
checkprops r16 -l 570.261
checkprops r17 -l 570.261