blob: 836760ba88a3a58b90d8d7d62661238f90fae164 [file] [edit]
puts "========"
puts "OCC25334"
puts "========"
puts ""
##########################################################################################################
# BRepOffsetAPI_MakeOffset algofithm crashes on some customer's shape when option of open result is used
##########################################################################################################
restore [locate_data_file bug25334_faceProlongationCrash1.brep] a
smallview
explode a e
wire ww a_1 a_2
donly ww
openoffset res ww 1 10
renamevar res_1 result
vori ww
vori result
fit
checkprops result -l 840.157
checkshape result
checksection result
checknbshapes result -vertex 5 -edge 4 -wire 1 -face 0 -shell 0 -solid 0 -compsolid 0 -compound 0 -shape 10
checkview -screenshot -2d -path ${imagedir}/${test_image}.png