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()
#########################################################################
polyline w1 -10 -10 0 10 -10 0 10 10 0 -10 10 0 -10 -10 0
polyline w2 0 -10 20 -10 7 20 10 8 20 0 -10 20
circle w3 0 0 40 10
mkedge w3 w3
wire w3 w3
vertex v1 0 0 -30
vertex v2 0 0 70
explode w1
thrusections 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
checknbshapes r1 -face 2
checkprops r1 -s 1970.62
checknbshapes r2 -face 3
checkprops r2 -s 1933.42
checknbshapes r3 -face 1
checkprops r3 -s 1690.2
checknbshapes r4 -face 2
checkprops r4 -s 1859.72
generated r5 hist v1
generated r6 hist v2
checknbshapes r5 -edge 8
checkprops r5 -l 902.911
checknbshapes r6 -edge 8
checkprops r6 -l 902.911