Loading files
This 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()
#########################################################################
restore [locate_data_file bug27386_pr2.brep] pr2
polyline pr1 5 0 0 5 -5 0 -5 -5 0 -5 0 0
explode pr2
wire pr2 pr2_1 pr2_2
circle cc 0 100 0 5
trim cc cc 0 pi
mkedge cc cc
wire pr3 cc
beziercurve c1 3 0 50 -45 5 50 -50 0 50 -55
beziercurve c2 3 0 50 -45 -5 50 -50 0 50 -55
trim c1 c1 0.5 1
trim c2 c2 0.5 1
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 1 pr1 pr2 pr3 pr4 pr1
savehistory hist
generated r1 hist pr1_1
generated r2 hist pr1_2
generated r3 hist pr1_3
generated r4 hist pr2_1
generated r5 hist pr2_2
generated r6 hist pr3_1
generated r7 hist pr4_1
generated r8 hist pr4_2
checknbshapes r1 -face 4
checkprops r1 -s 902.335
checknbshapes r2 -face 8
checkprops r2 -s 2278.73
checknbshapes r3 -face 4
checkprops r3 -s 902.335
checknbshapes r4 -face 8
checkprops r4 -s 2041.7
checknbshapes r5 -face 8
checkprops r5 -s 2041.7
checknbshapes r6 -face 16
checkprops r6 -s 4083.4
checknbshapes r7 -face 8
checkprops r7 -s 2041.7
checknbshapes r8 -face 8
checkprops r8 -s 2041.7
explode pr1 v
explode pr2 v
explode pr3 v
explode pr4 v
generated r9 hist pr1_1
generated r10 hist pr1_2
generated r11 hist pr1_3
generated r12 hist pr1_4
generated r13 hist pr2_1
generated r14 hist pr2_2
generated r15 hist pr2_3
generated r16 hist pr3_1
generated r17 hist pr3_2
generated r18 hist pr4_1
generated r19 hist pr4_2
generated r20 hist pr4_3
checkprops r9 -l 276.046
checkprops r10 -l 298.732
checkprops r11 -l 298.732
checkprops r12 -l 276.046
checkprops r13 -l 276.046
checkprops r14 -l 311.127
checkprops r15 -l 276.046
checkprops r16 -l 276.046
checkprops r17 -l 276.046
checkprops r18 -l 276.046
checkprops r19 -l 311.127
checkprops r20 -l 276.046
f2929057eThis file is pinned to the selected release. Download the original to open it in your design tool.