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 -10 -10 0
vertex v1 0 -10 20
vertex v2 10 8 20
vertex v3 -10 7 20
edge e1 v1 v2
orientation e1 R
edge e2 v2 v3
orientation e2 R
edge e3 v3 v1
orientation e3 R
wire w2 e1 e2 e3
circle w3 0 0 40 10
mkedge w3 w3
wire w3 w3
explode w2
thrusections r 1 1 w1 w2 w3
savehistory hist
generated r5 hist w2_1
generated r6 hist w2_2
generated r7 hist w2_3
checknbshapes r5 -face 6
checkprops r5 -s 872.216
checknbshapes r6 -face 6
checkprops r6 -s 852.53
checknbshapes r7 -face 4
checkprops r7 -s 835.461
explode w2 v
generated r13 hist w2_1
generated r14 hist w2_2
generated r15 hist w2_3
checknbshapes r13 -edge 2
checkprops r13 -l 40.0002
checknbshapes r14 -edge 2
checkprops r14 -l 40.2965
checknbshapes r15 -edge 2
checkprops r15 -l 40.2389