Loading files
This file is pinned to the selected release. Download the original to open it in your design tool.
3d097a032This 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
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
vertex vv 0 0 0
donly vv pr2 pr3 pr4
explode pr2
explode pr3
explode pr4
thrusections r 1 1 vv pr2 pr3 pr4 vv
savehistory hist
generated r1 hist pr2_1
generated r2 hist pr2_2
generated r3 hist pr2_3
generated r4 hist pr3_1
generated r5 hist pr4_1
generated r6 hist pr4_2
checknbshapes r1 -face 8
checkprops r1 -s 1659.7
checknbshapes r2 -face 4
checkprops r2 -s 1660.96
checknbshapes r3 -face 8
checkprops r3 -s 1671.28
checknbshapes r4 -face 20
checkprops r4 -s 4991.94
checknbshapes r5 -face 12
checkprops r5 -s 2495.34
checknbshapes r6 -face 8
checkprops r6 -s 2496.6
explode pr2 v
explode pr3 v
explode pr4 v
generated r7 hist vv
generated r8 hist pr2_1
generated r9 hist pr2_2
generated r10 hist pr2_3
generated r11 hist pr3_1
generated r12 hist pr4_1
generated r13 hist pr4_2
checknbshapes r7 -edge 20
checkprops r7 -l 1386.75
checknbshapes r8 -edge 4
checkprops r8 -l 269.926
checknbshapes r9 -edge 4
checkprops r9 -l 304.224
checknbshapes r10 -edge 4
checkprops r10 -l 269.926
checknbshapes r11 -edge 4
checkprops r11 -l 280.861
checknbshapes r12 -edge 4
checkprops r12 -l 261.815
checknbshapes r13 -edge 4
checkprops r13 -l 304.224