1puts "============" 2puts "OCC26150" 3puts "============" 4puts "" 5######################################################################### 6# BRepOffsetAPI_ThruSections doesn't implement history method Generated() 7######################################################################### 8 9restore [locate_data_file bug27386_pr2.brep] pr2 10polyline pr1 5 0 0 5 -5 0 -5 -5 0 -5 0 0 11explode pr2 12wire pr2 pr2_1 pr2_2 13circle cc 0 100 0 5 14trim cc cc 0 pi 15mkedge cc cc 16wire pr3 cc 17beziercurve c1 3 0 50 -45 5 50 -50 0 50 -55 18beziercurve c2 3 0 50 -45 -5 50 -50 0 50 -55 19trim c1 c1 0.5 1 20trim c2 c2 0.5 1 21mkedge e1 c1 22mkedge e2 c2 23orientation e2 R 24wire pr4 e1 e2 25donly pr1 pr2 pr3 pr4 26 27explode pr1 28explode pr2 29explode pr3 30explode pr4 31 32thrusections r 1 0 pr1 pr2 pr3 pr4 pr1 33 34savehistory hist 35 36generated r1 hist pr1_1 37generated r2 hist pr1_2 38generated r3 hist pr1_3 39generated r4 hist pr2_1 40generated r5 hist pr2_2 41generated r6 hist pr3_1 42generated r7 hist pr4_1 43generated r8 hist pr4_2 44 45checknbshapes r1 -face 1 46checkprops r1 -s 1427.73 47checknbshapes r2 -face 2 48checkprops r2 -s 2845.67 49checknbshapes r3 -face 1 50checkprops r3 -s 1427.73 51checknbshapes r4 -face 2 52checkprops r4 -s 2850.56 53checknbshapes r5 -face 2 54checkprops r5 -s 2850.56 55checknbshapes r6 -face 4 56checkprops r6 -s 5701.12 57checknbshapes r7 -face 2 58checkprops r7 -s 2850.56 59checknbshapes r8 -face 2 60checkprops r8 -s 2850.56 61 62explode pr1 v 63explode pr2 v 64explode pr3 v 65explode pr4 v 66 67generated r9 hist pr1_1 68generated r10 hist pr1_2 69generated r11 hist pr1_3 70generated r12 hist pr1_4 71generated r13 hist pr2_1 72generated r14 hist pr2_2 73generated r15 hist pr2_3 74generated r16 hist pr3_1 75generated r17 hist pr3_2 76generated r18 hist pr4_1 77generated r19 hist pr4_2 78generated r20 hist pr4_3 79 80checkprops r9 -l 322.713 81checkprops r10 -l 347.889 82checkprops r11 -l 347.889 83checkprops r12 -l 322.713 84checkprops r13 -l 322.713 85checkprops r14 -l 363.603 86checkprops r15 -l 322.713 87checkprops r16 -l 322.713 88checkprops r17 -l 322.713 89checkprops r18 -l 322.713 90checkprops r19 -l 363.603 91checkprops r20 -l 322.713 92