| puts "============" | |
| puts "OCC27386" | |
| puts "============" | |
| puts "" | |
| ##################################################################### | |
| # BRepOffsetAPI_MakePipeShell does not provide history of generations | |
| ##################################################################### | |
| circle cc 0 0 0 100 | |
| circle c1 0 100 0 1 0 0 10 | |
| polyline pr2 0 -90 0 0 -100 10 0 -110 0 0 -100 -10 0 -90 0 | |
| mkedge sp cc | |
| wire sp sp | |
| mkedge pr1 c1 | |
| wire pr1 pr1 | |
| donly sp pr1 pr2 | |
| mksweep sp | |
| addsweep pr2 | |
| addsweep pr1 | |
| buildsweep q | |
| explode pr1 | |
| explode pr2 | |
| savehistory sweep_hist | |
| generated r1_1 sweep_hist pr1_1 | |
| checknbshapes r1_1 -face 4 | |
| checkprops r1_1 -s 37077 | |
| generated r2_1 sweep_hist pr2_1 | |
| generated r2_2 sweep_hist pr2_2 | |
| generated r2_3 sweep_hist pr2_3 | |
| generated r2_4 sweep_hist pr2_4 | |
| checkprops r2_1 -s 8740.38 | |
| checkprops r2_2 -s 9798.12 | |
| checkprops r2_3 -s 9798.12 | |
| checkprops r2_4 -s 8740.38 | |
| explode pr1 v | |
| explode pr2 v | |
| generated r1_1 sweep_hist pr1_1 | |
| checkprops r1_1 -l 628.319 | |
| generated r2_1 sweep_hist pr2_1 | |
| generated r2_2 sweep_hist pr2_2 | |
| generated r2_3 sweep_hist pr2_3 | |
| generated r2_4 sweep_hist pr2_4 | |
| checkprops r2_1 -l 565.487 | |
| checkprops r2_2 -l 628.319 | |
| checkprops r2_3 -l 691.15 | |
| checkprops r2_4 -l 628.319 |